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::{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 c {}
|
||||
mod d {
|
||||
|
|
Loading…
Add table
Reference in a new issue