-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
While trying to build a test for #116291, I renamed my test file and it stopped ICEing. I have no idea what's happening here.
Create a file with this contents called demo.rs
fn main() {
let func = || 123u8;
func();
}
Then
cp demo.rs demoo.rs
This compiles fine:
rustc +nightly -Zmir-opt-level=0 -Zmir-enable-passes=+Inline demoo.rs
But this ICEs:
rustc +nightly -Zmir-opt-level=0 -Zmir-enable-passes=+Inline demo.rs
matthiaskrgr, lqd, Noratrieb, fmease, JakobDegen and 4 moreWaffleLapkin and danielhenrymantilla
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.