Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
macros
/
issue-42954.fixed
blob: acfc36e2bff2f6f2cd56bb90eaf0a604a33b673a [
file
] [
log
] [
blame
] [
edit
]
//@ 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
);
}