3 #![feature(rust_2018_preview)]
4 #![deny(absolute_paths_not_starting_with_crate)]
11 pub(crate) struct Baz {}
19 let _: <foo::Baz as ::foo::Foo>::Bar = ();
20 //~^ ERROR absolute paths must start with
21 //~| this is accepted in the current edition
23 let _: <::foo::Baz as foo::Foo>::Bar = ();
24 //~^ ERROR absolute paths must start with
25 //~| this is accepted in the current edition