diff --git a/src/hir/attribute-parsing.md b/src/hir/attribute-parsing.md index 26646c9277..46b46cf19c 100644 --- a/src/hir/attribute-parsing.md +++ b/src/hir/attribute-parsing.md @@ -54,7 +54,7 @@ To use the parsed representation before the HIR is built, you usually need to us This function takes a slice of `&[ast::Attribute]`s, and the name of an attribute you're interested in, and parses the attribute if it is present. No diagnostics will be emitted when parsing limited. Lints are not emitted at all, while errors will be emitted as a delayed bugs. -In other words, we expect attributes parsed with parse_limited to be reparsed later during ast lowering where we do emit the errors +In other words, we expect attributes parsed with `parse_limited` to be reparsed later during ast lowering where we do emit the errors. [attributes_page]: ../attributes.md @@ -65,4 +65,4 @@ In other words, we expect attributes parsed with parse_limited to be reparsed la [builtin_attributes]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_feature/builtin_attrs/static.BUILTIN_ATTRIBUTES.html [template]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_feature/macro.template.html [find_attr]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_hir/macro.find_attr.html -[parse_limited]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_attr_parsing/interface/struct.AttributeParser.html#method.parse_limited \ No newline at end of file +[parse_limited]: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_attr_parsing/interface/struct.AttributeParser.html#method.parse_limited