mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 16:15:03 +00:00
Move block-related tests
This commit is contained in:
parent
01c6998e6b
commit
049971c990
@ -1,5 +1,5 @@
|
|||||||
warning: unnecessary trailing semicolons
|
warning: unnecessary trailing semicolons
|
||||||
--> $DIR/block-expr-precedence.rs:60:21
|
--> $DIR/old-closure-expr-precedence.rs:60:21
|
||||||
|
|
|
|
||||||
LL | if (true) { 12; };;; -num;
|
LL | if (true) { 12; };;; -num;
|
||||||
| ^^ help: remove these semicolons
|
| ^^ help: remove these semicolons
|
@ -1,5 +1,5 @@
|
|||||||
error[E0308]: mismatched types
|
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 = {
|
LL | let _x: i32 = {
|
||||||
| ___________________^
|
| ___________________^
|
Loading…
Reference in New Issue
Block a user