diff options
Diffstat (limited to 'src/test/ui/binop/binary-op-on-double-ref.rs')
-rw-r--r-- | src/test/ui/binop/binary-op-on-double-ref.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/ui/binop/binary-op-on-double-ref.rs b/src/test/ui/binop/binary-op-on-double-ref.rs deleted file mode 100644 index 2616c560c..000000000 --- a/src/test/ui/binop/binary-op-on-double-ref.rs +++ /dev/null @@ -1,9 +0,0 @@ -// run-rustfix -fn main() { - let v = vec![1, 2, 3, 4, 5, 6, 7, 8, 9]; - let vr = v.iter().filter(|x| { - x % 2 == 0 - //~^ ERROR cannot mod `&&{integer}` by `{integer}` - }); - println!("{:?}", vr); -} |