3 #![feature(rust_2018_preview, crate_visibility_modifier)]
4 #![deny(absolute_paths_not_starting_with_crate)]
20 let _: <foo::Baz as crate::foo::Foo>::Bar = ();
21 //~^ ERROR absolute paths must start with
22 //~| this was previously accepted
24 let _: <crate::foo::Baz as foo::Foo>::Bar = ();
25 //~^ ERROR absolute paths must start with
26 //~| this was previously accepted