]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/block-result/block-must-not-have-result-while.rs
Remove E0308 note when primary label has all info
[rust.git] / src / test / ui / block-result / block-must-not-have-result-while.rs
index 108b9bc9e9b29c9adfddb81d48dd3e32051d1ab4..f93725937299a697a1a738f2dff15185e68638ef 100644 (file)
@@ -1,8 +1,6 @@
 fn main() {
     while true { //~ WARN denote infinite loops with
         true //~  ERROR mismatched types
-             //~| expected type `()`
-             //~| found type `bool`
              //~| expected (), found bool
     }
 }