Error With a Link to an Unfamiliar Document

Compiling let a = '\e' gives an error with a link to The Rust Reference for more information.

I have never seen that document linked anywhere else and was surprised to find that instead of Tokens - The Rust Reference.

Is the former a deprecated version of the Rust Reference book? If so, I'd be happy to open a PR which replaces the link with a link to Rust Reference Book.

rustc version: rustc 1.71.0 (8ede3aae2 2023-07-12)


Yes, the former is a very old version of the reference. A PR to update the link would be appreciated!

1 Like

Looks like Update links to Rust Reference in diagnostic by SamZhang3 · Pull Request #112498 · rust-lang/rust · GitHub has fixed this already.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.