mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
feat: add unresolved-ident diagnostic
This commit is contained in:
parent
d818b531c9
commit
a492d9d164
12 changed files with 113 additions and 26 deletions
|
@ -634,7 +634,8 @@ struct TestStruct { one: i32, two: i64 }
|
|||
|
||||
fn test_fn() {
|
||||
let one = 1;
|
||||
let s = TestStruct{ ..a };
|
||||
let a = TestStruct{ one, two: 2 };
|
||||
let _ = TestStruct{ ..a };
|
||||
}
|
||||
"#,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue