mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
internal: check diagnostics in all files and not just the first one
This commit is contained in:
parent
7bff76d8ae
commit
a1940d8c75
6 changed files with 83 additions and 49 deletions
|
@ -185,7 +185,7 @@ mod tests {
|
|||
extern crate std$0;
|
||||
//- /std/lib.rs crate:std
|
||||
// empty
|
||||
//^ file
|
||||
//^file
|
||||
"#,
|
||||
)
|
||||
}
|
||||
|
@ -198,7 +198,7 @@ extern crate std$0;
|
|||
extern crate std as abc$0;
|
||||
//- /std/lib.rs crate:std
|
||||
// empty
|
||||
//^ file
|
||||
//^file
|
||||
"#,
|
||||
)
|
||||
}
|
||||
|
@ -253,7 +253,7 @@ mod $0foo;
|
|||
|
||||
//- /foo.rs
|
||||
// empty
|
||||
//^ file
|
||||
//^file
|
||||
"#,
|
||||
);
|
||||
|
||||
|
@ -264,7 +264,7 @@ mod $0foo;
|
|||
|
||||
//- /foo/mod.rs
|
||||
// empty
|
||||
//^ file
|
||||
//^file
|
||||
"#,
|
||||
);
|
||||
}
|
||||
|
@ -395,7 +395,7 @@ use foo as bar$0;
|
|||
|
||||
//- /foo/lib.rs crate:foo
|
||||
// empty
|
||||
//^ file
|
||||
//^file
|
||||
"#,
|
||||
);
|
||||
}
|
||||
|
@ -1287,7 +1287,7 @@ fn main() {
|
|||
}
|
||||
//- /foo.txt
|
||||
// empty
|
||||
//^ file
|
||||
//^file
|
||||
"#,
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue