diff options
Diffstat (limited to 'src/test/ui/unsigned-literal-negation.rs')
-rw-r--r-- | src/test/ui/unsigned-literal-negation.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/test/ui/unsigned-literal-negation.rs b/src/test/ui/unsigned-literal-negation.rs deleted file mode 100644 index 943c7f797..000000000 --- a/src/test/ui/unsigned-literal-negation.rs +++ /dev/null @@ -1,5 +0,0 @@ -fn main() { - let x = -1 as usize; //~ ERROR: cannot apply unary operator `-` - let x = (-1) as usize; //~ ERROR: cannot apply unary operator `-` - let x: u32 = -1; //~ ERROR: cannot apply unary operator `-` -} |