mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
test for new behavior
This commit is contained in:
parent
6eeec5d75f
commit
58c1949a7b
1 changed files with 16 additions and 0 deletions
|
@ -636,6 +636,22 @@ pub struct Foo { pub a: i32, pub b: i32 }
|
||||||
use a;
|
use a;
|
||||||
use a::{c, d::e};
|
use a::{c, d::e};
|
||||||
|
|
||||||
|
mod a {
|
||||||
|
mod c {}
|
||||||
|
mod d {
|
||||||
|
mod e {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
"#,
|
||||||
|
);
|
||||||
|
check_no_diagnostics(
|
||||||
|
r#"
|
||||||
|
use a;
|
||||||
|
use a::{
|
||||||
|
c,
|
||||||
|
// d::e
|
||||||
|
};
|
||||||
|
|
||||||
mod a {
|
mod a {
|
||||||
mod c {}
|
mod c {}
|
||||||
mod d {
|
mod d {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue