mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 05:03:21 +00:00
Handle TyForeign
This commit is contained in:
parent
09143cdaf0
commit
f76225e388
1 changed files with 1 additions and 0 deletions
|
@ -924,6 +924,7 @@ pub fn opt_def_id(def: Def) -> Option<DefId> {
|
||||||
Def::TyAlias(id) |
|
Def::TyAlias(id) |
|
||||||
Def::AssociatedTy(id) |
|
Def::AssociatedTy(id) |
|
||||||
Def::TyParam(id) |
|
Def::TyParam(id) |
|
||||||
|
Def::TyForeign(id) |
|
||||||
Def::Struct(id) |
|
Def::Struct(id) |
|
||||||
Def::StructCtor(id, ..) |
|
Def::StructCtor(id, ..) |
|
||||||
Def::Union(id) |
|
Def::Union(id) |
|
||||||
|
|
Loading…
Reference in a new issue