rust/tests/ui/rust-2018/issue-54400-unused-extern-c...

14 lines
281 B
Rust

//@ aux-build:edition-lint-paths.rs
//@ run-rustfix
//@ compile-flags:--extern edition_lint_paths
//@ edition:2018
#![deny(rust_2018_idioms)]
#![allow(dead_code, unexpected_cfgs)]
// The suggestion span should include the attribute.
//~^ ERROR unused extern crate
fn main() {}