If you look at std::marker::Freeze's implementors, you see the following:
If you look at core::marker::Freeze's implementors, however, it is not the same:
These are the exact same impl blocks (the source link points to the same location), just one is rendered in std's docs and the other is rendered in core's docs.
There's something wrong with how core is rendering the trait implementation for the pattern type, because TyPat { hir_id: HirId(DefId(0:10799 ~ core[c274]::pat::{impl#4}).12), kind: NotNull, span: library/core/src/pat.rs:89:67: 89:72 (#0) } is internal compiler information that shouldn't be exposed to the user.
This issue only appears to be happening in core's documentation. I've found it in the docs for:
If you look at
std::marker::Freeze's implementors, you see the following:If you look at
core::marker::Freeze's implementors, however, it is not the same:These are the exact same
implblocks (the source link points to the same location), just one is rendered instd's docs and the other is rendered incore's docs.There's something wrong with how
coreis rendering the trait implementation for the pattern type, becauseTyPat { hir_id: HirId(DefId(0:10799 ~ core[c274]::pat::{impl#4}).12), kind: NotNull, span: library/core/src/pat.rs:89:67: 89:72 (#0) }is internal compiler information that shouldn't be exposed to the user.This issue only appears to be happening in
core's documentation. I've found it in the docs for:DispatchFromDynCoerceUnsizedUnpinFreeze