Skip to content

Commit

Permalink
Handle TyForeign
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Oct 29, 2017
1 parent 09143cd commit f76225e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clippy_lints/src/utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -924,6 +924,7 @@ pub fn opt_def_id(def: Def) -> Option<DefId> {
Def::TyAlias(id) |
Def::AssociatedTy(id) |
Def::TyParam(id) |
Def::TyForeign(id) |
Def::Struct(id) |
Def::StructCtor(id, ..) |
Def::Union(id) |
Expand Down

0 comments on commit f76225e

Please sign in to comment.