about summary refs log tree commit diff
path: root/compiler/rustc_ty_utils/src/abi.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-12-21 01:52:10 +0000
committerMichael Goulet <michael@errs.io>2023-12-28 16:35:01 +0000
commitfcb42b42d6fc078b15a34ed27b969fe2ba290989 (patch)
tree721b8cba2b52e44646eb55e7a6748dfee00d9a49 /compiler/rustc_ty_utils/src/abi.rs
parentf4d794ea0b845413344621d89f6c945062748485 (diff)
downloadrust-fcb42b42d6fc078b15a34ed27b969fe2ba290989.tar.gz
rust-fcb42b42d6fc078b15a34ed27b969fe2ba290989.zip
Remove movability from TyKind::Coroutine
Diffstat (limited to 'compiler/rustc_ty_utils/src/abi.rs')
-rw-r--r--compiler/rustc_ty_utils/src/abi.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_ty_utils/src/abi.rs b/compiler/rustc_ty_utils/src/abi.rs
index 4756a45a447..2772831e731 100644
--- a/compiler/rustc_ty_utils/src/abi.rs
+++ b/compiler/rustc_ty_utils/src/abi.rs
@@ -97,7 +97,7 @@ fn fn_sig_for_fn_abi<'tcx>(
                 bound_vars,
             )
         }
-        ty::Coroutine(did, args, _) => {
+        ty::Coroutine(did, args) => {
             let coroutine_kind = tcx.coroutine_kind(did).unwrap();
             let sig = args.as_coroutine().sig();