3 #![feature(rust_2018_preview)]
4 #![deny(absolute_paths_not_starting_with_crate)]
7 //~^ ERROR absolute paths must start with
8 //~| this is accepted in the current edition
9 //~| ERROR absolute paths must start with
10 //~| this is accepted in the current edition
23 use foo::{self as x, c};
24 //~^ ERROR absolute paths must start with
25 //~| this is accepted in the current edition
26 //~| ERROR absolute paths must start with
27 //~| this is accepted in the current edition