Sign in
rust
/
rust-lang
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
macros
/
issue-42954.rs
blob: 29e2aa3a682ca9ffa7a658f12f4ac26bcdf9c2d9 [
file
] [
log
] [
blame
]
//@ run-rustfix
#![
allow
(
unused_must_use
,
unused_comparisons
)]
macro_rules
!
is_plainly_printable
{
(
$i
:
ident
)
=>
{
$i
as
u32
<
0
//~ ERROR `<` is interpreted as a start of generic arguments
};
}
fn
main
()
{
let
c
=
'a'
;
is_plainly_printable
!(
c
);
}