3 #![feature(rust_2018_preview, crate_visibility_modifier)]
4 #![deny(absolute_paths_not_starting_with_crate)]
6 use crate::foo::{a, b};
7 //~^ ERROR absolute paths must start with
8 //~| this is accepted in the current edition
21 use crate::foo::{self as x, c};
22 //~^ ERROR absolute paths must start with
23 //~| this is accepted in the current edition