diff options
| author | Corey Farwell <coreyf@rwell.org> | 2017-06-12 23:40:58 -0400 |
|---|---|---|
| committer | Alex Burka <alex@alexburka.com> | 2017-07-06 20:13:42 +0000 |
| commit | 55dccb99fd3e39701eebc096b180d590f05d3699 (patch) | |
| tree | b9ceeb31cec7c24a5d83e4a2eedda1758c284f12 | |
| parent | cd72f2e269357ea4da4d0cf5502af35f4f9dab9e (diff) | |
| download | rust-55dccb99fd3e39701eebc096b180d590f05d3699.tar.gz rust-55dccb99fd3e39701eebc096b180d590f05d3699.zip | |
Fix a couple broken links to the reference from error messages.
| -rw-r--r-- | src/librustc_typeck/diagnostics.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_typeck/diagnostics.rs b/src/librustc_typeck/diagnostics.rs index 37f6f3753d7..aaba2f9aa2a 100644 --- a/src/librustc_typeck/diagnostics.rs +++ b/src/librustc_typeck/diagnostics.rs @@ -242,7 +242,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##" @@ -875,7 +875,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: |
