rust/compiler/rustc_ty_utils/src
León Orell Valerian Liehr 3af0c43f06
Rollup merge of #140926 - azhogin:azhogin/async-drop-coroutine-layout-returns-layout-error, r=oli-obk
Return value of coroutine_layout fn changed to Result with LayoutError

Continue of https://github.com/rust-lang/rust/pull/140902:
`coroutine_layout` fn is now returns `Result` with `LayoutError` to have consistent error with `layout_of_uncached`.
`async_drop_coroutine_layout` fn is now return `LayoutError::TooGeneric` in case of not-fully-specialized `async_drop_in_place<T>::{closure}` coroutine.
2025-05-18 18:44:12 +02:00
..
layout move expensive layout sanity check to debug assertions 2025-05-15 14:05:02 +00:00
abi.rs AsyncDrop implementation using shim codegen of async_drop_in_place::{closure}, scoped async drop added. 2025-04-28 16:23:13 +07:00
assoc.rs Remove global next_disambiguator state and handle it with a DisambiguatorState type 2025-04-29 13:22:38 +02:00
common_traits.rs AsyncDrop implementation using shim codegen of async_drop_in_place::{closure}, scoped async drop added. 2025-04-28 16:23:13 +07:00
consts.rs Implement .use keyword as an alias of clone 2025-03-06 17:58:32 -03:00
errors.rs Implement .use keyword as an alias of clone 2025-03-06 17:58:32 -03:00
implied_bounds.rs Auto merge of #139552 - matthiaskrgr:rollup-b194mk8, r=matthiaskrgr 2025-04-09 05:39:18 +00:00
instance.rs Rename Instance::new to Instance::new_raw and add a note that it is raw 2025-05-05 13:17:35 +00:00
layout.rs Return value of coroutine_layout fn changed to Result with LayoutError 2025-05-11 23:53:13 +07:00
lib.rs update cfg(bootstrap) 2025-05-12 15:33:37 +02:00
needs_drop.rs AsyncDrop implementation using shim codegen of async_drop_in_place::{closure}, scoped async drop added. 2025-04-28 16:23:13 +07:00
nested_bodies.rs borrowck nested items in dead code 2025-05-02 18:45:28 +00:00
opaque_types.rs Remove weak alias terminology 2025-04-24 11:59:20 +01:00
representability.rs rename BitSet to DenseBitSet 2025-01-11 11:34:01 +00:00
sig_types.rs Restrict some queries by def-kind more 2025-04-07 18:10:28 +00:00
structural_match.rs TypingMode 🤔 2024-10-29 17:01:24 +01:00
ty.rs Require T: TypeFoldable in Binder<T> visit 2025-05-07 16:00:21 +00:00