Spelling fix in middle::def::Def
This commit is contained in:
parent
5ed8e98ea2
commit
026bcbf91e
@ -120,7 +120,7 @@ impl Def {
|
||||
Def::TyParam(..) | Def::Struct(..) | Def::Trait(..) |
|
||||
Def::Method(..) | Def::Const(..) | Def::AssociatedConst(..) |
|
||||
Def::PrimTy(..) | Def::Label(..) | Def::SelfTy(..) | Def::Err => {
|
||||
panic!("attempted .def_id() on invalid {:?}", self)
|
||||
panic!("attempted .var_id() on invalid {:?}", self)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user