1 // run-pass
2 #![allow(unused_variables)]
3 // compile-flags: --extern LooksLikeExternCrate=/path/to/nowhere
4 
5 mod m {
6     pub struct LooksLikeExternCrate;
7 }
8 
main()9 fn main() {
10     // OK, speculative resolution for `unused_qualifications` doesn't try
11     // to resolve this as an extern crate and load that crate
12     let s = m::LooksLikeExternCrate {};
13 }
14