diff --git a/tests/ui/lexer/dont-ice-on-invalid-lifetime-in-macro-definition.stderr b/tests/ui/lexer/dont-ice-on-invalid-lifetime-in-macro-definition.stderr index ecce2c6650459..48258ee376b7a 100644 --- a/tests/ui/lexer/dont-ice-on-invalid-lifetime-in-macro-definition.stderr +++ b/tests/ui/lexer/dont-ice-on-invalid-lifetime-in-macro-definition.stderr @@ -5,10 +5,11 @@ LL | e:: | ^ unknown prefix | = note: prefixed identifiers and literals are reserved since Rust 2021 -help: consider inserting whitespace here +help: if you meant to write a string literal, use double quotes + | +LL ~ impl<"b> c for d { +LL ~ e:: | -LL | e:: - | + error: aborting due to 1 previous error