summaryrefslogtreecommitdiffstats
path: root/src/test/ui/binop/binary-op-on-double-ref.fixed
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/binop/binary-op-on-double-ref.fixed')
-rw-r--r--src/test/ui/binop/binary-op-on-double-ref.fixed9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/ui/binop/binary-op-on-double-ref.fixed b/src/test/ui/binop/binary-op-on-double-ref.fixed
deleted file mode 100644
index de9dc19af..000000000
--- a/src/test/ui/binop/binary-op-on-double-ref.fixed
+++ /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);
-}