Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
15
tests/ui/use/use-nested-groups-error.rs
Normal file
15
tests/ui/use/use-nested-groups-error.rs
Normal file
|
@ -0,0 +1,15 @@
|
|||
mod a {
|
||||
pub mod b1 {
|
||||
pub enum C2 {}
|
||||
}
|
||||
|
||||
pub enum B2 {}
|
||||
}
|
||||
|
||||
use a::{b1::{C1, C2}, B2};
|
||||
//~^ ERROR unresolved import `a::b1::C1`
|
||||
|
||||
fn main() {
|
||||
let _: C2;
|
||||
let _: B2;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue