about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-04-27 22:15:07 +0200
committerGitHub <noreply@github.com>2020-04-27 22:15:07 +0200
commitc1c46c751c3e4124f7f75198bce940830efcc17c (patch)
treeeebf93e358e6fa4ed110084965c125bb9ef0c66e
parentf4e0431da0a2434d507fc66e9ab7518d3b84d999 (diff)
parentefb6d6c027da344753f343fffc5012f29bfecb0e (diff)
downloadrust-c1c46c751c3e4124f7f75198bce940830efcc17c.tar.gz
rust-c1c46c751c3e4124f7f75198bce940830efcc17c.zip
Rollup merge of #71596 - LeSeulArtichaut:patch-1, r=Dylan-DPC
Fix broken link in `QPath` documentation

r? @Dylan-DPC
-rw-r--r--src/librustc_hir/hir.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_hir/hir.rs b/src/librustc_hir/hir.rs
index d342f8b0ad2..654cd4980a4 100644
--- a/src/librustc_hir/hir.rs
+++ b/src/librustc_hir/hir.rs
@@ -1601,7 +1601,7 @@ pub enum ExprKind<'hir> {
 ///
 /// To resolve the path to a `DefId`, call [`qpath_res`].
 ///
-/// [`qpath_res`]: ../ty/struct.TypeckTables.html#method.qpath_res
+/// [`qpath_res`]: ../rustc_middle/ty/struct.TypeckTables.html#method.qpath_res
 #[derive(RustcEncodable, RustcDecodable, Debug, HashStable_Generic)]
 pub enum QPath<'hir> {
     /// Path to a definition, optionally "fully-qualified" with a `Self`