mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 22:31:43 +00:00
Remove Substs from Ty::ForeignType
This commit is contained in:
parent
0e995adcf6
commit
a3fd2faba5
5 changed files with 9 additions and 18 deletions
|
@ -235,7 +235,7 @@ impl Ty {
|
|||
Ty::Adt(def_id, _) => {
|
||||
return mod_to_crate_ids(def_id.module(db.upcast()));
|
||||
}
|
||||
Ty::ForeignType(type_alias_id, _) => {
|
||||
Ty::ForeignType(type_alias_id) => {
|
||||
return mod_to_crate_ids(type_alias_id.lookup(db.upcast()).module(db.upcast()));
|
||||
}
|
||||
Ty::Scalar(Scalar::Bool) => lang_item_crate!("bool"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue