]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-14091.stderr
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / issues / issue-14091.stderr
index 9db2a0e2a86f5c7c6da2e17300c22306f77e7514..bb9f843dadfe38b09d3a12e657d74252f06ab7c7 100644 (file)
@@ -1,11 +1,8 @@
 error[E0308]: mismatched types
-  --> $DIR/issue-14091.rs:12:5
+  --> $DIR/issue-14091.rs:2:5
    |
 LL |     assert!(1,1);
-   |     ^^^^^^^^^^^^^ expected bool, found integral variable
-   |
-   = note: expected type `bool`
-              found type `{integer}`
+   |     ^^^^^^^^^^^^^ expected bool, found integer
 
 error: aborting due to previous error