Skip to content

Commit 6ac068e

Browse files
authoredJun 13, 2024
Unrolled build for rust-lang#126303
Rollup merge of rust-lang#126303 - sancho20021:patch-1, r=compiler-errors Urls to docs in rust_hir <!-- If this PR is related to an unstable feature or an otherwise tracked effort, please link to the relevant tracking issue here. If you don't know of a related tracking issue or there are none, feel free to ignore this. This PR will get automatically assigned to a reviewer. In case you would like a specific user to review your work, you can assign it to them by using r​? <reviewer name> -->
2 parents f6b4b71 + d1fa19c commit 6ac068e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
 

‎compiler/rustc_hir/src/hir.rs

+14
Original file line numberDiff line numberDiff line change
@@ -1633,6 +1633,13 @@ pub struct ConstBlock {
16331633
}
16341634

16351635
/// An expression.
1636+
///
1637+
/// For more details, see the [rust lang reference].
1638+
/// Note that the reference does not document nightly-only features.
1639+
/// There may be also slight differences in the names and representation of AST nodes between
1640+
/// the compiler and the reference.
1641+
///
1642+
/// [rust lang reference]: https://doc.rust-lang.org/reference/expressions.html
16361643
#[derive(Debug, Clone, Copy, HashStable_Generic)]
16371644
pub struct Expr<'hir> {
16381645
pub hir_id: HirId,
@@ -3147,6 +3154,13 @@ impl ItemId {
31473154
/// An item
31483155
///
31493156
/// The name might be a dummy name in case of anonymous items
3157+
///
3158+
/// For more details, see the [rust lang reference].
3159+
/// Note that the reference does not document nightly-only features.
3160+
/// There may be also slight differences in the names and representation of AST nodes between
3161+
/// the compiler and the reference.
3162+
///
3163+
/// [rust lang reference]: https://doc.rust-lang.org/reference/items.html
31503164
#[derive(Debug, Clone, Copy, HashStable_Generic)]
31513165
pub struct Item<'hir> {
31523166
pub ident: Ident,

0 commit comments

Comments
 (0)