rust/compiler/rustc_middle/src/ty
Nicholas Nethercote 7e8184fa2a Improve AssocItem::descr.
The commit adds "associated" to the description of associated types and
associated consts, to match the description of associated functions.
This increases error message precision and consistency with
`AssocKind::fmt`.

The commit also notes an imperfection in `AssocKind::fmt`; fixing this
imperfection is possible but beyond the scope of this PR.
2025-04-11 11:03:08 +10: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 Auto merge of #133889 - compiler-errors:inh-unstable, r=Nadrieril 2025-03-20 14:31:34 +00:00
print Rollup merge of #139364 - Kohei316:feat/doc-hidden-suggestion, r=nnethercote 2025-04-09 14:52:37 +02:00
abstract_const.rs Clean up trivial traversal/lift impl generator macro calls. 2025-02-06 13:31:43 +11:00
adjustment.rs Register const preds for Deref adjustments in HIR typeck 2024-11-04 04:51:31 +00:00
adt.rs Fetch the destructor constness lazily 2025-04-02 07:30:11 +00:00
assoc.rs Improve AssocItem::descr. 2025-04-11 11:03:08 +10: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 borrowck typeck children together with their parent 2025-04-08 00:34:40 +02:00
consts.rs Fold visit into ty 2025-03-15 06:34:36 +00:00
context.rs Use a query rather than recomputing the tail repeatedly 2025-04-09 20:26:58 +00:00
diagnostics.rs Auto merge of #138595 - jhpratt:rollup-09pvfzu, r=jhpratt 2025-03-17 10:43:38 +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 Teach structured errors to display short Ty 2025-02-25 16:56:03 +00:00
fast_reject.rs Use DeepRejectCtxt to quickly reject ParamEnv candidates 2024-09-02 19:59:18 +03:00
flags.rs clean code: remove Deref<Target=RegionKind> impl for Region and use .kind() 2025-04-08 10:51:41 +08:00
fold.rs clean code: remove Deref<Target=RegionKind> impl for Region and use .kind() 2025-04-08 10:51:41 +08:00
generic_args.rs format 2025-04-05 09:09:28 -07: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 remove compiler support for extern "rust-intrinsic" blocks 2025-04-06 21:32:58 +02: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 compiler: Use size_of from the prelude instead of imported 2025-03-07 13:37:04 -08:00
mod.rs Address review comments. 2025-04-10 09:39:21 +10: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 hygiene: Avoid recursion in syntax context decoding 2025-04-03 00:18:04 +03:00
pattern.rs Hide the end of ranges in pretty printing if it's also the maximum of the type 2025-03-06 10:50:23 +00:00
predicate.rs Fold visit into ty 2025-03-15 06:34:36 +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 Remove the Option part of range ends in the HIR 2025-03-06 10:47:40 +00:00
rvalue_scopes.rs Remove ScopeDepth entirely. 2025-03-28 08:31:47 +01:00
significant_drop_order.rs Stop calling source_span query in significant drop order code 2025-04-06 21:55:06 +00:00
structural_impls.rs Fix Debug impl for LateParamRegionKind. 2025-04-04 16:50:56 +11:00
sty.rs Use a query rather than recomputing the tail repeatedly 2025-04-09 20:26:58 +00:00
trait_def.rs Remove a function that has no necessary callers 2025-04-02 07:30:11 +00:00
typeck_results.rs clean code: remove Deref<Target=RegionKind> impl for Region and use .kind() 2025-04-08 10:51:41 +08:00
util.rs remove compiler support for extern "rust-intrinsic" blocks 2025-04-06 21:32:58 +02:00
visit.rs clean code: remove Deref<Target=RegionKind> impl for Region and use .kind() 2025-04-08 10:51:41 +08:00
vtable.rs Do not treat vtable supertraits as distinct when bound with different bound vars 2025-01-30 15:33:58 +00:00
walk.rs Remove the Option part of range ends in the HIR 2025-03-06 10:47:40 +00:00