diff options
Diffstat (limited to 'src/test/ui/expr/if/if-without-block.rs')
| -rw-r--r-- | src/test/ui/expr/if/if-without-block.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/test/ui/expr/if/if-without-block.rs b/src/test/ui/expr/if/if-without-block.rs deleted file mode 100644 index 5add9dfda4b..00000000000 --- a/src/test/ui/expr/if/if-without-block.rs +++ /dev/null @@ -1,7 +0,0 @@ -fn main() { - let n = 1; - if 5 == { - //~^ ERROR this `if` expression is missing a block after the condition - println!("five"); - } -} |
