Update def_id.rs location
This commit is contained in:
parent
e1f750feda
commit
91bfaa8e20
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue