Closed
Description
I tried this code in #75807:
#![feature(lang_items)]
#![feature(no_core)]
#![no_core]
#[lang = "usize"]
/// [Self::f]
/// [usize::f]
impl usize {
/// Some docs
pub fn f() {}
}
I expected to see this happen: Self::f
and usize::f
resolve to the same thing.
Instead, this happened: Self::f
gives a warning that it can't be resolved.
Meta
rustdoc --version
:
rustdoc 1.47.0-nightly (de521cbb3 2020-08-21)
(but the problem is also present on master at time of writing)