Closed
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.