mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 12:13:43 +00:00
14 lines
191 B
Rust
14 lines
191 B
Rust
// compile-flags: --edition=2018
|
|
// run-pass
|
|
|
|
macro_rules! regex {
|
|
//~^ WARN unused macro definition
|
|
() => {};
|
|
}
|
|
|
|
#[allow(dead_code)]
|
|
use regex;
|
|
//~^ WARN unused import
|
|
|
|
fn main() {}
|