about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorLeSeulArtichaut <leseulartichaut@gmail.com>2020-04-26 22:32:14 +0200
committerGitHub <noreply@github.com>2020-04-26 22:32:14 +0200
commitefb6d6c027da344753f343fffc5012f29bfecb0e (patch)
treef6409f8114296caf166ff5b0e22facf442f8925f /src
parent7f3b3df9e2f2efe3434b4f6fc76462d2c8ad332f (diff)
downloadrust-efb6d6c027da344753f343fffc5012f29bfecb0e.tar.gz
rust-efb6d6c027da344753f343fffc5012f29bfecb0e.zip
Fix broken link in `QPath` documentation
Diffstat (limited to 'src')
-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`