rust/compiler/rustc_middle/src/ty
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
..
consts Improve docs of ValTreeKind 2025-04-01 10:50:02 +02:00
context Represent diagnostic side effects as dep nodes 2025-03-14 16:01:58 +01:00
inhabitedness Remove weak alias terminology 2025-04-24 11:59:20 +01:00
print Remove some unnecessary erases 2025-05-08 16:20:57 +00:00
abstract_const.rs Clean up trivial traversal/lift impl generator macro calls. 2025-02-06 13:31:43 +11:00
adjustment.rs Rollup merge of #138528 - dianne:implicit-deref-patterns, r=Nadrieril 2025-04-18 05:16:28 +02:00
adt.rs Re-remove AdtFlags::IS_ANONYMOUS 2025-04-18 21:40:53 -04:00
assoc.rs Update docs for AssocItems::filter_by_name_unhygienic 2025-04-19 21:06:52 +02:00
cast.rs Simplify intra-crate qualifiers. 2025-02-11 14:59:13 +11:00
closure.rs Move methods from Map to TyCtxt, part 5. 2025-04-02 10:00:46 +11:00
codec.rs Add or-patterns to pattern types 2025-04-28 07:50:18 +00:00
consts.rs Move FlagComputation, PatternKind, and TypeWalker to rustc_type_ir 2025-04-12 22:46:11 +00:00
context.rs Auto merge of #140590 - lcnr:closure-in-dead-code, r=compiler-errors 2025-05-07 19:49:36 +00:00
diagnostics.rs Auto merge of #131160 - ismailarilik:handle-potential-query-instability-lint-for-rustc-middle, r=oli-obk 2025-05-06 01:36:23 +00:00
elaborate_impl.rs Uplift elaboration 2024-07-07 11:28:01 -04:00
erase_regions.rs clean code: remove Deref<Target=RegionKind> impl for Region and use .kind() 2025-04-08 10:51:41 +08:00
error.rs Remove weak alias terminology 2025-04-24 11:59:20 +01:00
fast_reject.rs Use DeepRejectCtxt to quickly reject ParamEnv candidates 2024-09-02 19:59:18 +03:00
fold.rs Use newtype_index!-generated types more idiomatically 2025-04-14 16:17:06 +00:00
generic_args.rs convert some GenericArg to Term 2025-04-26 02:05:31 +00:00
generics.rs Remove kw::Empty uses from rustc_middle. 2025-03-26 12:03:23 +11:00
impls_ty.rs const-eval interning: accpt interior mutable pointers in final value (but keep rejecting mutable references) 2024-09-10 10:26:16 +02: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
intrinsic.rs add new rustc_const_stable_intrinsic attribute for const-stable intrinsics 2024-11-04 23:27:46 +01:00
layout.rs remove compiler support for extern "rust-intrinsic" blocks 2025-04-06 21:32:58 +02:00
list.rs Move FlagComputation, PatternKind, and TypeWalker to rustc_type_ir 2025-04-12 22:46:11 +00:00
mod.rs Rollup merge of #140926 - azhogin:azhogin/async-drop-coroutine-layout-returns-layout-error, r=oli-obk 2025-05-18 18:44:12 +02:00
normalize_erasing_regions.rs Squash fold into ty 2025-03-15 06:34:36 +00:00
opaque_types.rs clean code: remove Deref<Target=RegionKind> impl for Region and use .kind() 2025-04-08 10:51:41 +08:00
parameterized.rs don't store opaque info during encoding 2025-04-12 23:56:48 +08:00
pattern.rs Add or-patterns to pattern types 2025-04-28 07:50:18 +00:00
predicate.rs norm nested aliases before evaluating the parent goal 2025-04-24 18:41:43 +00:00
region.rs clean code: remove Deref<Target=RegionKind> impl for Region and use .kind() 2025-04-08 10:51:41 +08:00
relate.rs Add or-patterns to pattern types 2025-04-28 07:50:18 +00:00
rvalue_scopes.rs Remove ScopeDepth entirely. 2025-03-28 08:31:47 +01:00
significant_drop_order.rs Introduce DefPathData::AnonAssocTy. 2025-04-11 19:08:14 +10:00
structural_impls.rs canonical no type foldable :< 2025-04-29 23:17:31 +00:00
sty.rs Some require_lang_item -> is_lang_item replacements 2025-05-13 08:46:10 +00:00
trait_def.rs Remove a function that has no necessary callers 2025-04-02 07:30:11 +00:00
typeck_results.rs canonical no type foldable :< 2025-04-29 23:17:31 +00:00
util.rs Async drop fix for dropee from another crate (#140858) 2025-05-15 20:05:07 +07:00
visit.rs Require T: TypeFoldable in Binder<T> visit 2025-05-07 16:00:21 +00:00
vtable.rs Do not treat vtable supertraits as distinct when bound with different bound vars 2025-01-30 15:33:58 +00:00