Here's a small testcase:
struct Foo {
}
impl Foo {
fn new() {
}
}
fn main() {
Foo::new();
}
If you run this through rustc -Z save-analysis and look at the save-analysis JSON file, you'll see that there is no entry for the Foo part of Foo::new(). This seems like a bug.