about summary refs log tree commit diff
path: root/src/test/ui/integral-variable-unification-error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/integral-variable-unification-error.rs')
-rw-r--r--src/test/ui/integral-variable-unification-error.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/test/ui/integral-variable-unification-error.rs b/src/test/ui/integral-variable-unification-error.rs
index 5200b4a829d..8d1621321e8 100644
--- a/src/test/ui/integral-variable-unification-error.rs
+++ b/src/test/ui/integral-variable-unification-error.rs
@@ -1,6 +1,8 @@
 fn main() {
-    let mut x = 2;
+    let mut x //~ NOTE expected due to the type of this binding
+        =
+        2; //~ NOTE expected due to this value
     x = 5.0;
     //~^ ERROR mismatched types
-    //~| expected integer, found floating-point number
+    //~| NOTE expected integer, found floating-point number
 }