diff options
Diffstat (limited to 'tests/ui/editions/edition-imports-virtual-2015-gated.rs')
-rw-r--r-- | tests/ui/editions/edition-imports-virtual-2015-gated.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/editions/edition-imports-virtual-2015-gated.rs b/tests/ui/editions/edition-imports-virtual-2015-gated.rs new file mode 100644 index 000000000..634d3e9a4 --- /dev/null +++ b/tests/ui/editions/edition-imports-virtual-2015-gated.rs @@ -0,0 +1,11 @@ +// edition:2018 +// aux-build:edition-imports-2015.rs + +#[macro_use] +extern crate edition_imports_2015; + +mod check { + gen_gated!(); //~ ERROR unresolved import `E` +} + +fn main() {} |