Rollup merge of #64989 - sinkuu:fix_ice_64964, r=davidtwco
Fix ICE #64964 Fixes #64964, which is an ICE with `await`ing in a method + incr-comp.
This commit is contained in:
commit
028ffd1366
3 changed files with 37 additions and 9 deletions
|
|
@ -317,6 +317,12 @@ pub struct GeneratorInteriorTypeCause<'tcx> {
|
|||
pub scope_span: Option<Span>,
|
||||
}
|
||||
|
||||
BraceStructTypeFoldableImpl! {
|
||||
impl<'tcx> TypeFoldable<'tcx> for GeneratorInteriorTypeCause<'tcx> {
|
||||
ty, span, scope_span
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(RustcEncodable, RustcDecodable, Debug)]
|
||||
pub struct TypeckTables<'tcx> {
|
||||
/// The HirId::owner all ItemLocalIds in this table are relative to.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue