diff options
Diffstat (limited to 'src/test/ui/for/for-loop-type-error.rs')
-rw-r--r-- | src/test/ui/for/for-loop-type-error.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/test/ui/for/for-loop-type-error.rs b/src/test/ui/for/for-loop-type-error.rs deleted file mode 100644 index 8d9fc20f0..000000000 --- a/src/test/ui/for/for-loop-type-error.rs +++ /dev/null @@ -1,6 +0,0 @@ -pub fn main() { - let x = () + (); //~ ERROR cannot add `()` to `()` - - // this shouldn't have a flow-on error: - for _ in x {} -} |