rust/compiler/rustc_ty_utils/src
bjorn3 b7bc8d5cb7 Fix fn_sig_for_fn_abi and the coroutine transform for generators
There were three issues previously:
* The self argument was pinned, despite Iterator::next taking an
  unpinned mutable reference.
* A resume argument was passed, despite Iterator::next not having one.
* The return value was CoroutineState<Item, ()> rather than Option<Item>

While these things just so happened to work with the LLVM backend,
cg_clif does much stricter checks when trying to assign a value to a
place. In addition it can't handle the mismatch between the amount of
arguments specified by the FnAbi and the FnSig.
2023-11-23 20:17:19 +00:00
..
abi.rs Fix fn_sig_for_fn_abi and the coroutine transform for generators 2023-11-23 20:17:19 +00:00
assoc.rs Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
common_traits.rs Move expansion of query macros in rustc_middle to rustc_middle::query 2023-05-15 08:49:13 +02:00
consts.rs Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
errors.rs Re-use error code for duplicate error 2023-06-22 15:51:14 +00:00
implied_bounds.rs Reduce exposure of some items. 2023-11-20 14:10:19 +11:00
instance.rs Rollup merge of #118115 - spastorino:fix-old-fn-names, r=compiler-errors 2023-11-21 09:06:30 +01:00
layout.rs Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00
layout_sanity_check.rs fix failure to detect a too-big-type after adding padding 2023-10-27 18:07:53 +02:00
lib.rs Alphabetize features. 2023-11-20 14:10:27 +11:00
needs_drop.rs review + add tests 2023-11-02 18:16:37 +01:00
opaque_types.rs finish RegionKind rename 2023-11-14 13:13:27 +00:00
representability.rs Reduce exposure of some items. 2023-11-20 14:10:19 +11:00
sig_types.rs Reduce exposure of some items. 2023-11-20 14:10:19 +11:00
structural_match.rs Reduce exposure of some items. 2023-11-20 14:10:19 +11:00
ty.rs Fix clippy::needless_borrow in the compiler 2023-11-21 20:13:40 +01:00