From 218caa410aa38c29984be31a5229b9fa717560ee Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:13 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- .../issue-41679-tilde-bitwise-negation-attempt.fixed | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 src/test/ui/did_you_mean/issue-41679-tilde-bitwise-negation-attempt.fixed (limited to 'src/test/ui/did_you_mean/issue-41679-tilde-bitwise-negation-attempt.fixed') diff --git a/src/test/ui/did_you_mean/issue-41679-tilde-bitwise-negation-attempt.fixed b/src/test/ui/did_you_mean/issue-41679-tilde-bitwise-negation-attempt.fixed deleted file mode 100644 index e566ed488..000000000 --- a/src/test/ui/did_you_mean/issue-41679-tilde-bitwise-negation-attempt.fixed +++ /dev/null @@ -1,10 +0,0 @@ -// run-rustfix - -fn main() { - let _x = !1; //~ ERROR cannot be used as a unary operator - let _y = !1; //~ ERROR unexpected `1` after identifier - let _z = !false; //~ ERROR unexpected keyword `false` after identifier - let _a = !true; //~ ERROR unexpected keyword `true` after identifier - let v = 1 + 2; - let _v = !v; //~ ERROR unexpected `v` after identifier -} -- cgit v1.2.3