Skip to content

Commit 28f6784

Browse files
jrvidalmark-i-m
authored andcommitted
Fixes broken links
1 parent aee7748 commit 28f6784

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/diag.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,4 +305,4 @@ are defining a new lint, you will want to add an entry to this enum. Then, add
305305
an appropriate mapping to the body of [`Lint::from_parser_lint_id`][fplid].
306306

307307
[`BufferedEarlyLintId`]: https://doc.rust-lang.org/nightly/nightly-rustc/syntax/early_buffered_lints/enum.BufferedEarlyLintId.html
308-
[fplid]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc/lint/struct.Lint.html#from_parser_lint_id
308+
[fplid]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc/lint/struct.Lint.html#method.from_parser_lint_id

src/hir.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,12 @@ sorts of identifiers in active use:
105105
### The HIR Map
106106

107107
Most of the time when you are working with the HIR, you will do so via
108-
the **HIR Map**, accessible in the tcx via [`tcx.hir`] (and defined in
108+
the **HIR Map**, accessible in the tcx via [`tcx.hir_map`] (and defined in
109109
the [`hir::map`] module). The [HIR map] contains a [number of methods] to
110110
convert between IDs of various kinds and to lookup data associated
111111
with an HIR node.
112112

113-
[`tcx.hir`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc/ty/context/struct.GlobalCtxt.html#structfield.hir
113+
[`tcx.hir_map`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc/ty/context/struct.GlobalCtxt.html#structfield.hir_map
114114
[`hir::map`]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc/hir/map/index.html
115115
[HIR map]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc/hir/map/struct.Map.html
116116
[number of methods]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc/hir/map/struct.Map.html#methods

0 commit comments

Comments
 (0)