Derive TypeFoldable and TypeVisitable for mir::PlaceElement
This commit is contained in:
parent
10c0560cd2
commit
d376012a43
4 changed files with 1 additions and 32 deletions
|
@ -872,7 +872,7 @@ pub struct Place<'tcx> {
|
|||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
|
||||
#[derive(TyEncodable, TyDecodable, HashStable)]
|
||||
#[derive(TyEncodable, TyDecodable, HashStable, TypeFoldable, TypeVisitable)]
|
||||
pub enum ProjectionElem<V, T> {
|
||||
Deref,
|
||||
Field(Field, T),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue