Move /src/test to /tests
This commit is contained in:
parent
ca855e6e42
commit
cf2dff2b1e
27592 changed files with 0 additions and 0 deletions
11
tests/ui/imports/absolute-paths-in-nested-use-groups.rs
Normal file
11
tests/ui/imports/absolute-paths-in-nested-use-groups.rs
Normal file
|
@ -0,0 +1,11 @@
|
|||
#![allow(unused_imports)]
|
||||
|
||||
mod foo {}
|
||||
|
||||
use foo::{
|
||||
::bar, //~ ERROR crate root in paths can only be used in start position
|
||||
super::bar, //~ ERROR `super` in paths can only be used in start position
|
||||
self::bar, //~ ERROR `self` in paths can only be used in start position
|
||||
};
|
||||
|
||||
fn main() {}
|
Loading…
Add table
Add a link
Reference in a new issue