summaryrefslogtreecommitdiffstats
path: root/src/test/ui/coercion/coerce-mut.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/coercion/coerce-mut.rs')
-rw-r--r--src/test/ui/coercion/coerce-mut.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/ui/coercion/coerce-mut.rs b/src/test/ui/coercion/coerce-mut.rs
deleted file mode 100644
index 43f0b5585..000000000
--- a/src/test/ui/coercion/coerce-mut.rs
+++ /dev/null
@@ -1,10 +0,0 @@
-fn f(x: &mut i32) {}
-
-fn main() {
- let x = 0;
- f(&x);
- //~^ ERROR mismatched types
- //~| expected mutable reference `&mut i32`
- //~| found reference `&{integer}`
- //~| types differ in mutability
-}