X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftest%2Fui%2Fissues%2Fissue-34255-1.stderr;h=01f395377701751b7d82e155c205c5154d52954f;hb=760a98fb5e1c964efbe5cb36710fff892b547c51;hp=7899c8d30f1ddca60eea74c71ded0ba3b83918c1;hpb=850912704e7bdf3eb8fc7d9ac9b99f913633bb8d;p=rust.git diff --git a/src/test/ui/issues/issue-34255-1.stderr b/src/test/ui/issues/issue-34255-1.stderr index 7899c8d30f1..01f39537770 100644 --- a/src/test/ui/issues/issue-34255-1.stderr +++ b/src/test/ui/issues/issue-34255-1.stderr @@ -4,7 +4,7 @@ error: expected type, found `42` LL | Test::Drill(field: 42); | ^^ expecting a type here because of type ascription | - = note: type ascription is a nightly-only feature that lets you annotate an expression with a type: `: ` + = note: #![feature(type_ascription)] lets you annotate an expression with a type: `: ` note: this expression expects an ascribed type after the colon --> $DIR/issue-34255-1.rs:8:17 |