diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2019-03-19 18:16:55 -0700 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2019-03-22 19:50:18 -0700 |
| commit | 44a086ef39b2a6e6ed231869a5166bec7c4b7511 (patch) | |
| tree | f07061e57d793a7c1d7bb373ee36b87a85fae6bf /src/test/ui/error-codes | |
| parent | 81b876b6a3e3e489fdad8514f69b67264ab1d338 (diff) | |
| download | rust-44a086ef39b2a6e6ed231869a5166bec7c4b7511.tar.gz rust-44a086ef39b2a6e6ed231869a5166bec7c4b7511.zip | |
Review comment
Diffstat (limited to 'src/test/ui/error-codes')
| -rw-r--r-- | src/test/ui/error-codes/E0423.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/error-codes/E0423.stderr b/src/test/ui/error-codes/E0423.stderr index af5f88f4ce5..29a264ba162 100644 --- a/src/test/ui/error-codes/E0423.stderr +++ b/src/test/ui/error-codes/E0423.stderr @@ -4,7 +4,7 @@ error: expected type, found `1` LL | if let S { x: _x, y: 2 } = S { x: 1, y: 2 } { println!("Ok"); } | ^ expecting a type here because of type ascription | - = note: type ascription is a nightly only feature that lets you annotate expressions with a type: `<expr>: <type>` + = note: type ascription is a nightly-only feature that lets you annotate an expression with a type: `<expr>: <type>` note: this expression is annotated with type ascription... --> $DIR/E0423.rs:12:36 | @@ -29,7 +29,7 @@ error: expected type, found `0` LL | for _ in std::ops::Range { start: 0, end: 10 } {} | ^ expecting a type here because of type ascription | - = note: type ascription is a nightly only feature that lets you annotate expressions with a type: `<expr>: <type>` + = note: type ascription is a nightly-only feature that lets you annotate an expression with a type: `<expr>: <type>` note: this expression is annotated with type ascription... --> $DIR/E0423.rs:21:32 | |
