rust/tests/ui/editions/edition-extern-crate-allowed.rs

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

11 lines
194 B
Rust
Raw Normal View History

// aux-build:edition-extern-crate-allowed.rs
// edition:2015
// check-pass
#![warn(rust_2018_idioms)]
extern crate edition_extern_crate_allowed;
//~^ WARNING unused extern crate
fn main() {}