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 was previously accepted
21 use crate::foo::{bar::{XX, baz::{}}};
22 //~^ ERROR absolute paths must start with
23 //~| WARN this was previously accepted
25 use crate::foo::{bar::{baz::{}, baz1::{}}};
26 //~^ ERROR absolute paths must start with
27 //~| WARN this was previously accepted