]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/rust-2018/extern-crate-idiomatic.fixed
rustc_resolve: don't allow `::crate_name` to bypass `extern_prelude`.
[rust.git] / src / test / ui / rust-2018 / extern-crate-idiomatic.fixed
index a874a62220298c7f81c4c051f09aa2daffcd714d..0be1f2cc72bb0eb9b1c4f22c43cc87e07e16db0d 100644 (file)
@@ -10,6 +10,7 @@
 
 // run-pass
 // aux-build:edition-lint-paths.rs
+// compile-flags:--extern edition_lint_paths
 // run-rustfix
 
 // The "normal case". Ideally we would remove the `extern crate` here,