14 lines
168 B
Rust
14 lines
168 B
Rust
// compile-pass
|
|
|
|
#![warn(unused)]
|
|
|
|
macro_rules! m {
|
|
($a:tt $b:tt) => {
|
|
$b $a; //~ WARN struct is never constructed
|
|
}
|
|
}
|
|
|
|
fn main() {
|
|
m!(S struct);
|
|
}
|