diff options
Diffstat (limited to 'src/test/ui/extern/extern-prelude-no-speculative.rs')
-rw-r--r-- | src/test/ui/extern/extern-prelude-no-speculative.rs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/test/ui/extern/extern-prelude-no-speculative.rs b/src/test/ui/extern/extern-prelude-no-speculative.rs deleted file mode 100644 index 3ba124159..000000000 --- a/src/test/ui/extern/extern-prelude-no-speculative.rs +++ /dev/null @@ -1,13 +0,0 @@ -// run-pass -#![allow(unused_variables)] -// compile-flags: --extern LooksLikeExternCrate=/path/to/nowhere - -mod m { - pub struct LooksLikeExternCrate; -} - -fn main() { - // OK, speculative resolution for `unused_qualifications` doesn't try - // to resolve this as an extern crate and load that crate - let s = m::LooksLikeExternCrate {}; -} |