Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
issues
/
issue-14091-2.rs
blob: e2f6b18337266ce64ef55a868084971696590d30 [
file
] [
log
] [
blame
] [
edit
]
//
// Very
// sensitive
pub
struct
BytePos
(
pub
u32
);
// to particular
// line numberings / offsets
fn
main
()
{
let
x
=
BytePos
(
1
);
assert
!(
x
,
x
);
//~^ ERROR cannot apply unary operator `!` to type `BytePos`
}