Move block-related tests

This commit is contained in:
Yuki Okushi 2020-12-31 08:09:22 +09:00
parent 01c6998e6b
commit 049971c990
11 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
warning: unnecessary trailing semicolons
--> $DIR/block-expr-precedence.rs:60:21
--> $DIR/old-closure-expr-precedence.rs:60:21
|
LL | if (true) { 12; };;; -num;
| ^^ help: remove these semicolons

View File

@ -1,5 +1,5 @@
error[E0308]: mismatched types
--> $DIR/block-expression-remove-semicolon.rs:8:19
--> $DIR/old-closure-expression-remove-semicolon.rs:8:19
|
LL | let _x: i32 = {
| ___________________^