mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 22:31:43 +00:00
Allow inherent impl for arrays
This commit is contained in:
parent
545cdf955e
commit
418b163a4b
2 changed files with 19 additions and 0 deletions
|
@ -348,6 +348,7 @@ pub fn def_crates(
|
|||
}
|
||||
TyKind::Str => lang_item_crate!("str_alloc", "str"),
|
||||
TyKind::Slice(_) => lang_item_crate!("slice_alloc", "slice"),
|
||||
TyKind::Array(..) => lang_item_crate!("array"),
|
||||
TyKind::Raw(Mutability::Not, _) => lang_item_crate!("const_ptr"),
|
||||
TyKind::Raw(Mutability::Mut, _) => lang_item_crate!("mut_ptr"),
|
||||
TyKind::Dyn(_) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue