]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/macro-use-bad-args-1.rs
Auto merge of #44060 - taleks:issue-43205, r=arielb1
[rust.git] / src / test / compile-fail / macro-use-bad-args-1.rs
index a73c4adb71f9ff0e651b535de78e0b15d6aadc22..a07cc834411732da96fd7dc9e87df1bc72ce64e2 100644 (file)
@@ -8,8 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![no_std]
+
+#[allow(unused_extern_crates)]
 #[macro_use(foo(bar))]  //~ ERROR bad macro import
 extern crate std;
-
-fn main() {
-}