Fix a bug that was caused by fixup reversing

This commit is contained in:
Chayim Refael Friedman 2025-01-06 20:06:20 +02:00
parent 3f2bbe9fed
commit f7c4833830
3 changed files with 82 additions and 14 deletions

View file

@ -856,4 +856,18 @@ fn main() {
}"#,
);
}
#[test]
fn regression_18840() {
check(
r#"
//- proc_macros: issue_18840
#[proc_macros::issue_18840]
fn foo() {
let
loop {}
}
"#,
);
}
}