]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/loops/loop-properly-diverging-2.stderr
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / loops / loop-properly-diverging-2.stderr
index 3758bbf9f6f31c3be80d95f5dcf142e6671103d5..9b4329ded18bd767cd0cc6a6149fdfff98202f66 100644 (file)
@@ -6,9 +6,6 @@ LL |   let x: i32 = loop { break };
    |                       |
    |                       expected i32, found ()
    |                       help: give it a value of the expected type: `break 42`
-   |
-   = note: expected type `i32`
-              found type `()`
 
 error: aborting due to previous error