mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 11:44:28 +00:00
14 lines
193 B
Rust
14 lines
193 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() {}
|