diff options
Diffstat (limited to 'src/test/ui/block-result/block-must-not-have-result-while.rs')
| -rw-r--r-- | src/test/ui/block-result/block-must-not-have-result-while.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/test/ui/block-result/block-must-not-have-result-while.rs b/src/test/ui/block-result/block-must-not-have-result-while.rs deleted file mode 100644 index 418059bf280..00000000000 --- a/src/test/ui/block-result/block-must-not-have-result-while.rs +++ /dev/null @@ -1,6 +0,0 @@ -fn main() { - while true { //~ WARN denote infinite loops with - true //~ ERROR mismatched types - //~| expected `()`, found `bool` - } -} |
