summaryrefslogtreecommitdiff
path: root/tests/ui/type/missing-let-in-binding.fixed
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/type/missing-let-in-binding.fixed')
-rw-r--r--tests/ui/type/missing-let-in-binding.fixed2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/type/missing-let-in-binding.fixed b/tests/ui/type/missing-let-in-binding.fixed
index d1787688950..4301fed2312 100644
--- a/tests/ui/type/missing-let-in-binding.fixed
+++ b/tests/ui/type/missing-let-in-binding.fixed
@@ -1,5 +1,5 @@
// run-rustfix
fn main() {
let mut _foo: i32 = 1;
- let _foo: i32 = 4; //~ ERROR type ascription is experimental
+ let _foo: i32 = 4; //~ ERROR expected identifier, found `:`
}