mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
14 lines
285 B
Rust
14 lines
285 B
Rust
//@ 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() {}
|