-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
broken mir while bootstrapping ra hir-ty
#116736
Comments
Weird, so as far as I understand, we use beta to build stage 1 and then use stage 1 to build stage 2 and then use stage 2 or 1 to build ra (in bootstrap) which ICEs, but i was not able to reproduce this by compiling hir-ty inside the ra git repo directly with nightly/master :/ |
Maybe the fail will manifest tomorrow ? |
Hmm I am able to reproduce this in the rust-analyzer repo with |
I tried to minimize with |
a panic? if so you can probably fix it by staring very closely at the cursed "path" code from cargo-minimize and figuring out which AST nodes aren't yet counted and leads to duplicate paths. |
No panic (/stacktrace) by c-minimize, just an error. |
Looks like a duplicate of #104736. |
Rollup merge of rust-lang#119077 - tmiasko:lint, r=cjgillot Separate MIR lints from validation Add a MIR lint pass, enabled with -Zlint-mir, which identifies undefined or likely erroneous behaviour. The initial implementation mostly migrates existing checks of this nature from MIR validator, where they did not belong (those checks have false positives and there is nothing inherently invalid about MIR with undefined behaviour). Fixes rust-lang#104736 Fixes rust-lang#104843 Fixes rust-lang#116079 Fixes rust-lang#116736 Fixes rust-lang#118990
Code
Code is inside the rustc repo from rust-analyzer
hir-ty
crateRUSTC_BOOTSTRAP=1 RUSTFLAGS="-Zvalidate-mir" ./x.py build
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: