]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/issues/issue-17033.stderr
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / issues / issue-17033.stderr
index 181a9992c6d822ef39a161a5630429a898cebf70..4bdc806f71763e42efa902916458b583e21f21a0 100644 (file)
@@ -1,14 +1,11 @@
 error[E0308]: mismatched types
   --> $DIR/issue-17033.rs:2:10
    |
-LL |     (*p)(()) //~  ERROR mismatched types
+LL |     (*p)(())
    |          ^^
    |          |
    |          expected &mut (), found ()
    |          help: consider mutably borrowing here: `&mut ()`
-   |
-   = note: expected type `&mut ()`
-              found type `()`
 
 error: aborting due to previous error