diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/proc-macro/extern-prelude-extern-crate-proc-macro.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/ui/proc-macro/extern-prelude-extern-crate-proc-macro.rs b/src/test/ui/proc-macro/extern-prelude-extern-crate-proc-macro.rs new file mode 100644 index 000000000..a6e64e1b1 --- /dev/null +++ b/src/test/ui/proc-macro/extern-prelude-extern-crate-proc-macro.rs @@ -0,0 +1,7 @@ +// build-pass (FIXME(62277): could be check-pass?) +// edition:2018 + +extern crate proc_macro; +use proc_macro::TokenStream; // OK + +fn main() {} |