Update def_id.rs location

This commit is contained in:
Santiago Pastorino 2020-09-03 18:16:53 -03:00 committed by Joshua Nelson
parent e1f750feda
commit 91bfaa8e20
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ We give some background about the query model of the Rust compiler.
In the query model, many queries have a key that consists of a Def ID. The Rust In the query model, many queries have a key that consists of a Def ID. The Rust
compiler uses Def IDs to distinguish definitions in the input Rust program. compiler uses Def IDs to distinguish definitions in the input Rust program.
From the compiler source code (`compiler/rustc_middle/src/hir/def_id.rs`): From the compiler source code (`compiler/rustc_span/src/def_id.rs`):
``` ```
/// A DefId identifies a particular *definition*, by combining a crate /// A DefId identifies a particular *definition*, by combining a crate