-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
A-nameresname, path and module resolutionname, path and module resolutionS-actionableSomeone could pick this issue up and work on it right nowSomeone could pick this issue up and work on it right now
Description
Noticed that most of the methods that are defined directly on the core array type are not recognized by rust-analyzer. It also, by extension I guess, breaks type inference.
#![feature(array_methods)]
fn test() {
let a = [(); 0].each_ref();
}
each_ref
doesn't work for "go to def" command, nor does type info on hover. This is also true for (at least) Array::map
, each_ref
and as_slice
, didn't check every single one.
Metadata
Metadata
Assignees
Labels
A-nameresname, path and module resolutionname, path and module resolutionS-actionableSomeone could pick this issue up and work on it right nowSomeone could pick this issue up and work on it right now