rust/src/test/ui/macros/macro-use-bad-args-2.stderr

15 lines
463 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error[E0466]: bad macro import
--> $DIR/macro-use-bad-args-2.rs:14:13
|
LL | #[macro_use(foo="bar")] //~ ERROR bad macro import
| ^^^^^^^^^
error[E0601]: `main` function not found in crate `macro_use_bad_args_2`
|
= note: consider adding a `main` function to `$DIR/macro-use-bad-args-2.rs`
error: aborting due to 2 previous errors
Some errors occurred: E0466, E0601.
For more information about an error, try `rustc --explain E0466`.