Uh oh!
There was an error while loading. Please reload this page.
Validate that locals have a corresponding LocalDecl - #79031
Merged
Conversation
rust-highfive
commented
Nov 13, 2020
Contributor
(rust_highfive has picked a reviewer for you, use r? to override) |
camelid
commented
Nov 13, 2020
MemberAuthor
How should I test that this works correctly? |
camelidforce-pushed
the
mir-validate-local-decl
branch
from
November 13, 2020 19:26
d14ad96 to
dc6f1c5Comparecamelid
commented
Nov 13, 2020
MemberAuthor
jonas-schievink
commented
Nov 13, 2020
Contributor
You can run |
camelid
commented
Nov 13, 2020
MemberAuthor
Sorry, what I meant was how do I create something to test it on? This check will only fire when there's a bug in the compiler, so unless the idea is to mess with some other part of the compiler to introduce a bug, I'm not sure how to produce input to test it on. |
jonas-schievink
commented
Nov 13, 2020
Contributor
Yeah, it's fine not to test this further. |
camelidforce-pushed
the
mir-validate-local-decl
branch
2 times, most recently
from
November 13, 2020 19:53
311c9e9 to
2428d3dCompareUh oh!
There was an error while loading. Please reload this page.
camelidforce-pushed
the
mir-validate-local-decl
branch
from
November 13, 2020 20:02
2428d3d to
aca8099Comparecamelidforce-pushed
the
mir-validate-local-decl
branch
from
November 13, 2020 20:54
aca8099 to
7eb1a1aComparejonas-schievink
commented
Nov 13, 2020
Contributor
@bors r+ rollup |
bors
commented
Nov 13, 2020
Collaborator
📌 Commit 7eb1a1a has been approved by |
bors added a commit
to rust-lang-ci/rust
that referenced
this pull request
Nov 15, 2020
…as-schievink Rollup of 13 pull requests Successful merges: - rust-lang#77802 (Allow making `RUSTC_BOOTSTRAP` conditional on the crate name) - rust-lang#79004 (Add `--color` support to bootstrap) - rust-lang#79005 (cleanup: Remove `ParseSess::injected_crate_name`) - rust-lang#79016 (Make `_` an expression, to discard values in destructuring assignments) - rust-lang#79019 (astconv: extract closures into a separate trait) - rust-lang#79026 (Implement BTreeMap::retain and BTreeSet::retain) - rust-lang#79031 (Validate that locals have a corresponding `LocalDecl`) - rust-lang#79034 (rustc_resolve: Make `macro_rules` scope chain compression lazy) - rust-lang#79036 (Move Steal to rustc_data_structures.) - rust-lang#79041 (Rename clean::{ItemEnum -> ItemKind}, clean::Item::{inner -> kind}) - rust-lang#79058 (Move likely/unlikely argument outside of invisible unsafe block) - rust-lang#79059 (Print 'checking cranelift artifacts' to easily separate it from other artifacts) - rust-lang#79063 (Update rustfmt to v1.4.26) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes#73356.