summaryrefslogtreecommitdiff
path: root/tests/ui/suggestions/many-type-ascription.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/suggestions/many-type-ascription.stderr')
-rw-r--r--tests/ui/suggestions/many-type-ascription.stderr10
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/ui/suggestions/many-type-ascription.stderr b/tests/ui/suggestions/many-type-ascription.stderr
index 3706bbae9df..e36919c82f8 100644
--- a/tests/ui/suggestions/many-type-ascription.stderr
+++ b/tests/ui/suggestions/many-type-ascription.stderr
@@ -1,12 +1,10 @@
-error[E0658]: type ascription is experimental
- --> $DIR/many-type-ascription.rs:2:13
+error: expected one of `.`, `;`, `?`, `else`, or an operator, found `:`
+ --> $DIR/many-type-ascription.rs:2:14
|
LL | let _ = 0: i32;
- | ^^^^^^
+ | ^ expected one of `.`, `;`, `?`, `else`, or an operator
|
- = note: see issue #23416 <https://github.com/rust-lang/rust/issues/23416> for more information
- = help: add `#![feature(type_ascription)]` to the crate attributes to enable
+ = note: type ascription syntax has been removed, see issue #101728 <https://github.com/rust-lang/rust/issues/101728>
error: aborting due to previous error
-For more information about this error, try `rustc --explain E0658`.