Update links to Rust Reference page on literals in diagnostic
Instead of linking to the old Rust Reference site on static.rust-lang.org, link to the current website doc.rust-lang.org/stable/reference instead in diagnostic about incorrect literals.
This commit is contained in:
parent
788c98df59
commit
e5fccf927d
6 changed files with 9 additions and 9 deletions
|
@ -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/stable/reference/expressions/literal-expr.html>",
|
||||
);
|
||||
}
|
||||
diag.emit();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue