Fix broken link in QPath documentation

This commit is contained in:
LeSeulArtichaut 2020-04-26 22:32:14 +02:00 committed by GitHub
parent 7f3b3df9e2
commit efb6d6c027
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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`