diff options
Diffstat (limited to 'tests/ui/macros/assert-unary-operator-14091-2.rs')
| -rw-r--r-- | tests/ui/macros/assert-unary-operator-14091-2.rs | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/ui/macros/assert-unary-operator-14091-2.rs b/tests/ui/macros/assert-unary-operator-14091-2.rs deleted file mode 100644 index e2f6b183372..00000000000 --- a/tests/ui/macros/assert-unary-operator-14091-2.rs +++ /dev/null @@ -1,17 +0,0 @@ -// - -// 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` -} |
