summaryrefslogtreecommitdiff
path: root/tests/ui/type/missing-let-in-binding.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/type/missing-let-in-binding.stderr')
-rw-r--r--tests/ui/type/missing-let-in-binding.stderr10
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/ui/type/missing-let-in-binding.stderr b/tests/ui/type/missing-let-in-binding.stderr
index 12759c5096e..fc094e8cbad 100644
--- a/tests/ui/type/missing-let-in-binding.stderr
+++ b/tests/ui/type/missing-let-in-binding.stderr
@@ -1,11 +1,10 @@
-error[E0658]: type ascription is experimental
- --> $DIR/missing-let-in-binding.rs:4:5
+error: expected identifier, found `:`
+ --> $DIR/missing-let-in-binding.rs:4:9
|
LL | _foo: i32 = 4;
- | ^^^^^^^^^
+ | ^ expected identifier
|
- = 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>
help: you might have meant to introduce a new binding
|
LL | let _foo: i32 = 4;
@@ -13,4 +12,3 @@ LL | let _foo: i32 = 4;
error: aborting due to previous error
-For more information about this error, try `rustc --explain E0658`.