mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-18 19:21:38 +00:00
Fix a bug that was caused by fixup reversing
This commit is contained in:
parent
3f2bbe9fed
commit
f7c4833830
3 changed files with 82 additions and 14 deletions
|
|
@ -856,4 +856,18 @@ fn main() {
|
|||
}"#,
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn regression_18840() {
|
||||
check(
|
||||
r#"
|
||||
//- proc_macros: issue_18840
|
||||
#[proc_macros::issue_18840]
|
||||
fn foo() {
|
||||
let
|
||||
loop {}
|
||||
}
|
||||
"#,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue