3 #![feature(rust_2018_preview, crate_visibility_modifier)]
4 #![deny(absolute_paths_not_starting_with_crate)]
5 #![allow(unused_imports)]
17 use crate::foo::{bar::{baz::{}}};
18 //~^ ERROR absolute paths must start with
19 //~| WARN this is accepted in the current edition
21 use crate::foo::{bar::{XX, baz::{}}};
22 //~^ ERROR absolute paths must start with
23 //~| WARN this is accepted in the current edition
24 //~| ERROR absolute paths must start with
25 //~| WARN this is accepted in the current edition
27 use crate::foo::{bar::{baz::{}, baz1::{}}};
28 //~^ ERROR absolute paths must start with
29 //~| WARN this is accepted in the current edition
30 //~| ERROR absolute paths must start with
31 //~| WARN this is accepted in the current edition