derive various Lift impl instead of hand rolling them
This commit is contained in:
parent
00fcc82df2
commit
d4e986c1f0
10 changed files with 32 additions and 385 deletions
|
@ -27,7 +27,7 @@ pub struct Instance<'tcx> {
|
|||
}
|
||||
|
||||
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
|
||||
#[derive(TyEncodable, TyDecodable, HashStable, TypeFoldable, TypeVisitable)]
|
||||
#[derive(TyEncodable, TyDecodable, HashStable, TypeFoldable, TypeVisitable, Lift)]
|
||||
pub enum InstanceDef<'tcx> {
|
||||
/// A user-defined callable item.
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue