]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rust-2018/issue-54400-unused-extern-crate-attr-span.fixed
Auto merge of #84589 - In-line:zircon-thread-name, r=JohnTitor
[rust.git] / src / test / ui / rust-2018 / issue-54400-unused-extern-crate-attr-span.fixed
1 // aux-build:edition-lint-paths.rs
2 // run-rustfix
3 // compile-flags:--extern edition_lint_paths --cfg blandiloquence
4 // edition:2018
5
6 #![deny(rust_2018_idioms)]
7 #![allow(dead_code)]
8
9 // The suggestion span should include the attribute.
10
11
12 //~^ ERROR unused extern crate
13
14 fn main() {}