diff options
| author | Alan Egerton <eggyal@gmail.com> | 2022-06-17 10:53:29 +0100 |
|---|---|---|
| committer | Alan Egerton <eggyal@gmail.com> | 2022-07-05 22:25:15 +0100 |
| commit | e4b9625b87c4d3b5845ea5660cf84739de224192 (patch) | |
| tree | 932111ee5ad67cb91e90508f290f5649b62cd9cf /compiler/rustc_infer/src/traits/project.rs | |
| parent | bca894909cdb49b510dc6f60edbfa1465a948d09 (diff) | |
| download | rust-e4b9625b87c4d3b5845ea5660cf84739de224192.tar.gz rust-e4b9625b87c4d3b5845ea5660cf84739de224192.zip | |
Add #[derive(TypeVisitable)]
Diffstat (limited to 'compiler/rustc_infer/src/traits/project.rs')
| -rw-r--r-- | compiler/rustc_infer/src/traits/project.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_infer/src/traits/project.rs b/compiler/rustc_infer/src/traits/project.rs index b84ed3dc689..932e597509f 100644 --- a/compiler/rustc_infer/src/traits/project.rs +++ b/compiler/rustc_infer/src/traits/project.rs @@ -20,7 +20,7 @@ pub struct MismatchedProjectionTypes<'tcx> { pub err: ty::error::TypeError<'tcx>, } -#[derive(Clone, TypeFoldable)] +#[derive(Clone, TypeFoldable, TypeVisitable)] pub struct Normalized<'tcx, T> { pub value: T, pub obligations: Vec<PredicateObligation<'tcx>>, |
