Closed lnicola closed 1 year ago
Could I take this @lnicola? :)
Also, do we want to just disable test-related lenses or all code lenses for external libraries?
Only tests I would say, other code lenses do make sense in external libraries still
Hmm. In an ideal world, we could have rlibs for the libraries, so things like "find all references" wouldn't work. I wouldn't mind if we didn't look at the function bodies in external crates.
Right, find all references isn't too useful there (I keep forgetting that's a thing as i have that turned off), but I think the implementations
lenses would still make sense?
Alright, I have a fix in #13686 :)
Fixed in #13686
Here are my repro steps:
src/main.rs
include the following:fn main() { let m = Mutex::new(0); }