summaryrefslogtreecommitdiffstats
path: root/tests/ui/rust-2018/issue-54400-unused-extern-crate-attr-span.fixed
blob: d592438009a488f2fd293b6172e33f18af364c37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// aux-build:edition-lint-paths.rs
// run-rustfix
// compile-flags:--extern edition_lint_paths --cfg blandiloquence
// edition:2018

#![deny(rust_2018_idioms)]
#![allow(dead_code)]

// The suggestion span should include the attribute.


//~^ ERROR unused extern crate

fn main() {}