Sign in
fuchsia
/
third_party
/
rust
/
9ae1a664f7b947dadb9e97eea7703831d9cd5d31
/
.
/
src
/
test
/
ui
/
issues
/
issue-14091-2.rs
blob: e2f6b18337266ce64ef55a868084971696590d30 [
file
] [
log
] [
blame
]
//
// 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`
}