diff --git a/src/librustc_typeck/diagnostics.rs b/src/librustc_typeck/diagnostics.rs index 8c15892b7e119..9f8368b775beb 100644 --- a/src/librustc_typeck/diagnostics.rs +++ b/src/librustc_typeck/diagnostics.rs @@ -795,7 +795,7 @@ optional namespacing), a dereference, an indexing expression or a field reference. More details can be found here: -https://doc.rust-lang.org/reference.html#lvalues,-rvalues-and-temporaries +https://doc.rust-lang.org/reference.html#lvalues-rvalues-and-temporaries Now, we can go further. Here are some bad examples: