We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb0972d commit 88821edCopy full SHA for 88821ed
src/librustc/mir/mod.rs
@@ -3048,6 +3048,16 @@ impl<'tcx> TypeFoldable<'tcx> for Terminator<'tcx> {
3048
}
3049
3050
3051
+impl<'tcx> TypeFoldable<'tcx> for GeneratorKind {
3052
+ fn super_fold_with<F: TypeFolder<'tcx>>(&self, _: &mut F) -> Self {
3053
+ *self
3054
+ }
3055
+
3056
+ fn super_visit_with<V: TypeVisitor<'tcx>>(&self, _: &mut V) -> bool {
3057
+ false
3058
3059
+}
3060
3061
impl<'tcx> TypeFoldable<'tcx> for Place<'tcx> {
3062
fn super_fold_with<F: TypeFolder<'tcx>>(&self, folder: &mut F) -> Self {
3063
Place {
0 commit comments