rust/tests/ui/imports/extern-crate-self/extern-crate-self-fail.rs

7 lines
187 B
Rust
Raw Normal View History

extern crate self; //~ ERROR `extern crate self;` requires renaming
2020-01-10 08:57:36 -06:00
#[macro_use] //~ ERROR `#[macro_use]` is not supported on `extern crate self`
extern crate self as foo;
fn main() {}