mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-05 06:27:38 +00:00
15 lines
272 B
Rust
15 lines
272 B
Rust
![]() |
//@ run-rustfix
|
||
|
|
||
|
#![allow(unused_must_use, unused_comparisons)]
|
||
|
|
||
|
macro_rules! is_plainly_printable {
|
||
|
($i: ident) => {
|
||
|
($i as u32) < 0 //~ `<` is interpreted as a start of generic arguments
|
||
|
};
|
||
|
}
|
||
|
|
||
|
fn main() {
|
||
|
let c = 'a';
|
||
|
is_plainly_printable!(c);
|
||
|
}
|