summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-42954.rs
blob: 5f9b0e31da5cc78c501a49696710ca390d7818d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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);
}