Hey, I think we are missing some inherent methonds in completion (but they resolve fine). Has anyone else noticed this? Seems like a regression
there's that weird bug where private methods don't show up after a macro call in the same function
yup, thats is
I wonder if the local item resolution changes might have something to do with it
cc @Jonas Schievink [he/him]
putting the code into the crate root makes it work.
aaargh not again
oh, I see now
I mean, I see how we may mix up current crate in expander, I don't know wheter the bug is exactly
Not sure if related, but even fields are not sometimes completed in the test functions for me.
Although it's non-deterministic and I've not managed to extract an mre out of that.
this bug also affects fields
ah, the problem is probably just
Visibility::is_visible_from_def_map not handling block def maps
that was pretty painful, but fixed in https://github.com/rust-analyzer/rust-analyzer/pull/7768
hmm why did it depend on the position in the function though?