derive TypeVisitable and TypeFoldable for mir types
This commit is contained in:
parent
d376012a43
commit
a5ab8da1e2
5 changed files with 25 additions and 312 deletions
|
@ -2028,6 +2028,7 @@ impl<'tcx> Debug for Rvalue<'tcx> {
|
|||
/// particular, one must be wary of `NaN`!
|
||||
|
||||
#[derive(Clone, Copy, PartialEq, TyEncodable, TyDecodable, Hash, HashStable)]
|
||||
#[derive(TypeFoldable, TypeVisitable)]
|
||||
pub struct Constant<'tcx> {
|
||||
pub span: Span,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue