mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
10 lines
283 B
Rust
10 lines
283 B
Rust
//@ compile-flags:--extern extern_prelude
|
|
//@ aux-build:extern-prelude.rs
|
|
|
|
// Extern prelude names are not available by absolute paths
|
|
|
|
fn main() {
|
|
use extern_prelude::S; //~ ERROR unresolved import `extern_prelude`
|
|
let s = ::extern_prelude::S; //~ ERROR failed to resolve
|
|
}
|