diff options
Diffstat (limited to 'tests/ui/imports/no-std-inject.rs')
-rw-r--r-- | tests/ui/imports/no-std-inject.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/imports/no-std-inject.rs b/tests/ui/imports/no-std-inject.rs new file mode 100644 index 000000000..e9664a4dd --- /dev/null +++ b/tests/ui/imports/no-std-inject.rs @@ -0,0 +1,6 @@ +#![no_std] + +extern crate core; //~ ERROR: the name `core` is defined multiple times +extern crate std; + +fn main() {} |