Fixes broken links
This commit is contained in:
parent
fdec17d475
commit
2a0f15148b
|
|
@ -305,4 +305,4 @@ are defining a new lint, you will want to add an entry to this enum. Then, add
|
||||||
an appropriate mapping to the body of [`Lint::from_parser_lint_id`][fplid].
|
an appropriate mapping to the body of [`Lint::from_parser_lint_id`][fplid].
|
||||||
|
|
||||||
[`BufferedEarlyLintId`]: https://doc.rust-lang.org/nightly/nightly-rustc/syntax/early_buffered_lints/enum.BufferedEarlyLintId.html
|
[`BufferedEarlyLintId`]: https://doc.rust-lang.org/nightly/nightly-rustc/syntax/early_buffered_lints/enum.BufferedEarlyLintId.html
|
||||||
[fplid]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc/lint/struct.Lint.html#from_parser_lint_id
|
[fplid]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc/lint/struct.Lint.html#method.from_parser_lint_id
|
||||||
|
|
|
||||||
|
|
@ -105,12 +105,12 @@ sorts of identifiers in active use:
|
||||||
### The HIR Map
|
### The HIR Map
|
||||||
|
|
||||||
Most of the time when you are working with the HIR, you will do so via
|
Most of the time when you are working with the HIR, you will do so via
|
||||||
the **HIR Map**, accessible in the tcx via [`tcx.hir`] (and defined in
|
the **HIR Map**, accessible in the tcx via [`tcx.hir_map`] (and defined in
|
||||||
the [`hir::map`] module). The [HIR map] contains a [number of methods] to
|
the [`hir::map`] module). The [HIR map] contains a [number of methods] to
|
||||||
convert between IDs of various kinds and to lookup data associated
|
convert between IDs of various kinds and to lookup data associated
|
||||||
with an HIR node.
|
with an HIR node.
|
||||||
|
|
||||||
[`tcx.hir`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc/ty/context/struct.GlobalCtxt.html#structfield.hir
|
[`tcx.hir_map`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc/ty/context/struct.GlobalCtxt.html#structfield.hir_map
|
||||||
[`hir::map`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc/hir/map/index.html
|
[`hir::map`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc/hir/map/index.html
|
||||||
[HIR map]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc/hir/map/struct.Map.html
|
[HIR map]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc/hir/map/struct.Map.html
|
||||||
[number of methods]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc/hir/map/struct.Map.html#methods
|
[number of methods]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc/hir/map/struct.Map.html#methods
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue