]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_typeck/src/check/check.rs
Auto merge of #102028 - oli-obk:miri_subtree, r=oli-obk
[rust.git] / compiler / rustc_typeck / src / check / check.rs
index 43893263be13898135f6b9211f461275f2162ce7..d6fa74c87309cd92a0e0a6f59be1275fca43b25e 100644 (file)
@@ -106,7 +106,6 @@ pub(super) fn check_fn<'a, 'tcx>(
     fcx.return_type_has_opaque = ret_ty != declared_ret_ty;
 
     fcx.ret_coercion = Some(RefCell::new(CoerceMany::new(ret_ty)));
-    fcx.ret_type_span = Some(decl.output.span());
 
     let span = body.value.span;