From ae71e80131eb450c79aab52319e6b612a9bce189 Mon Sep 17 00:00:00 2001 From: Corey Farwell Date: Mon, 12 Jun 2017 23:40:58 -0400 Subject: [PATCH] Fix a couple broken links to the reference from error messages. --- src/librustc_typeck/diagnostics.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/librustc_typeck/diagnostics.rs b/src/librustc_typeck/diagnostics.rs index 6ccfab0a324b6..8ddf7dc8033eb 100644 --- a/src/librustc_typeck/diagnostics.rs +++ b/src/librustc_typeck/diagnostics.rs @@ -240,7 +240,7 @@ trait_obj.method_two(); You can read more about trait objects in the Trait Object section of the Reference: -https://doc.rust-lang.org/reference.html#trait-objects +https://doc.rust-lang.org/reference/types.html#trait-objects "##, E0034: r##" @@ -851,7 +851,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/expressions.html#lvalues-rvalues-and-temporaries Now, we can go further. Here are some erroneous code examples: