diff options
| author | Michael Goulet <michael@errs.io> | 2023-11-08 06:56:06 +0000 | 
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-01-08 20:30:21 +0000 | 
| commit | 82a22154815b70e5701064bef59d3334f5bc1cf7 (patch) | |
| tree | 40d6223ac17b8293ea29e1b2266817f56c56d75c /compiler/rustc_query_impl/src | |
| parent | dfb9f5df2c9f3c60f2541b3804cb6be1b5c66e63 (diff) | |
| download | rust-82a22154815b70e5701064bef59d3334f5bc1cf7.tar.gz rust-82a22154815b70e5701064bef59d3334f5bc1cf7.zip | |
Don't check for recursion in generator witness fields
Diffstat (limited to 'compiler/rustc_query_impl/src')
| -rw-r--r-- | compiler/rustc_query_impl/src/plumbing.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/compiler/rustc_query_impl/src/plumbing.rs b/compiler/rustc_query_impl/src/plumbing.rs index f131a0f7593..7e0fbf3d76c 100644 --- a/compiler/rustc_query_impl/src/plumbing.rs +++ b/compiler/rustc_query_impl/src/plumbing.rs @@ -342,9 +342,9 @@ pub(crate) fn create_query_frame< hasher.finish::<Hash64>() }) }; - let ty_adt_id = key.ty_adt_id(); + let ty_def_id = key.ty_def_id(); - QueryStackFrame::new(description, span, def_id, def_kind, kind, ty_adt_id, hash) + QueryStackFrame::new(description, span, def_id, def_kind, kind, ty_def_id, hash) } pub(crate) fn encode_query_results<'a, 'tcx, Q>( | 
