fn f() {
    foo::core::cell::Cell::new(0); //~ ERROR extern crate `core` is private
    //~^ WARN this was previously accepted by the compiler but is being phased out

    use foo::*;
    mod core {} // Check that private crates are not glob imported
}
//~ ERROR extern crate `core` is private
//~^ WARN this was previously accepted by the compiler but is being phased out
~ ERROR extern crate `core` is private
~^ WARN this was previously accepted by the compiler but is being phased out
~ ERROR extern crate ` core ` is private ~^ WARN this was previously accepted by the compiler but is being phased out
fn f() {
    foo::core::cell::Cell::new(0); //~ ERROR extern crate `core` is private
    //~^ WARN this was previously accepted by the compiler but is being phased out
    use foo::*;
    mod core {} // Check that private crates are not glob imported
}
fn f ( ) { foo :: core :: cell :: Cell :: new ( 0 ) ; //~ ERROR extern crate `core` is private //~^ WARN this was previously accepted by the compiler but is being phased out use foo :: * ; mod core { } // Check that private crates are not glob imported }
~ ERROR extern crate `core` is private
~^ WARN this was previously accepted by the compiler but is being phased out
~ ERROR extern crate ` core ` is private ~^ WARN this was previously accepted by the compiler but is being phased out