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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
187 B
Rust
Raw Normal View History

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