Rollup merge of #112498 - SamZhang3:rust-reference-link-update, r=Nilstrieb

Update links to Rust Reference in diagnostic

Instead of linking to the [old Rust Reference site](https://static.rust-lang.org/doc/master/reference.html#literals), which is severely outdated (Rust 1.17), link to the [current website](https://doc.rust-lang.org/stable/reference/expressions/literal-expr.html) in diagnostic about incorrect literals.
This commit is contained in:
Matthias Krüger 2023-06-11 01:57:28 +02:00 committed by GitHub
commit 46b64aaef0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 9 additions and 9 deletions

View file

@ -158,7 +158,7 @@ pub(crate) fn emit_unescape_error(
diag.help(
"for more information, visit \
<https://static.rust-lang.org/doc/master/reference.html#literals>",
<https://doc.rust-lang.org/reference/tokens.html#literals>",
);
}
diag.emit();