Closed
Description
use std::marker::PhantomData;
struct S<T> {
t: PhantomData<T>,
}
impl<T> S<T> {
fn new() -> Self {
Self {
t: Default::default(),
}
}
}
fn main() {}
Navigate to the S
in struct S
and try to find references. Note that the Self
constructor later on is not found.
rust-analyzer version: latest origin/master
rustc version: 1.62.0