rust/compiler/rustc_middle/src/ty
Stuart Cook d48af09ffd
Rollup merge of #134285 - oli-obk:push-vwrqsqlwnuxo, r=Urgau
Add some convenience helper methods on `hir::Safety`

Makes a lot of call sites simpler and should make any refactorings needed for https://github.com/rust-lang/rust/pull/134090#issuecomment-2541332415 simpler, as fewer sites have to be touched in case we end up storing some information in the variants of `hir::Safety`
2024-12-15 20:01:38 +11:00
..
consts Consolidate type system const evaluation under traits::evaluate_const 2024-11-12 02:54:03 +00:00
context Delete the cfg(not(parallel)) serial compiler 2024-11-12 13:38:58 +00:00
inhabitedness use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00
print Rename projection_def_id to item_def_id 2024-12-11 00:59:43 +00:00
abstract_const.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
adjustment.rs Register const preds for Deref adjustments in HIR typeck 2024-11-04 04:51:31 +00:00
adt.rs review comments: rewordings 2024-12-09 21:55:13 +00:00
assoc.rs ty::KContainer -> ty::AssocItemContainer::K 2024-11-04 04:45:52 +00:00
cast.rs unify dyn* coercions with other pointer coercions 2024-09-24 22:17:55 +02:00
closure.rs Remove BorrowKind glob, make names longer 2024-11-04 04:45:52 +00:00
codec.rs no more Reveal :( 2024-11-23 13:52:54 +01:00
consts.rs Move Const::{from_anon_const,try_from_lit} to hir_ty_lowering 2024-12-02 19:34:47 +00:00
context.rs Rollup merge of #134285 - oli-obk:push-vwrqsqlwnuxo, r=Urgau 2024-12-15 20:01:38 +11:00
diagnostics.rs Tweak wording 2024-12-07 22:18:51 +00:00
elaborate_impl.rs Uplift elaboration 2024-07-07 11:28:01 -04:00
erase_regions.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
error.rs Simplify array length mismatch error reporting 2024-11-24 03:32:11 +00:00
fast_reject.rs Use DeepRejectCtxt to quickly reject ParamEnv candidates 2024-09-02 19:59:18 +03:00
flags.rs Merge HostPolarity and BoundConstness 2024-10-30 16:23:16 +00:00
fold.rs uplift fold_regions to rustc_type_ir 2024-11-28 10:40:58 +01:00
generic_args.rs Delete the cfg(not(parallel)) serial compiler 2024-11-12 13:38:58 +00:00
generics.rs Simplify some places that deal with generic parameter defaults 2024-11-11 21:29:18 +01: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 Implement projection and shim for AFIDT 2024-12-10 16:52:20 +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 rust_for_linux: -Zreg-struct-return commandline flag for X86 (#116973) 2024-12-02 01:14:40 +07:00
list.rs Delete the cfg(not(parallel)) serial compiler 2024-11-12 13:38:58 +00:00
mod.rs Rollup merge of #134285 - oli-obk:push-vwrqsqlwnuxo, r=Urgau 2024-12-15 20:01:38 +11:00
normalize_erasing_regions.rs use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00
opaque_types.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
parameterized.rs Implement the unsafe-fields RFC. 2024-11-21 19:32:07 +01:00
pattern.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
predicate.rs Implement const effect predicate in new solver 2024-10-24 09:46:36 +00:00
region.rs ty::BrK -> ty::BoundRegionKind::K 2024-11-04 04:45:52 +00:00
relate.rs Rollup merge of #133362 - compiler-errors:existential-preds, r=BoxyUwU 2024-11-26 12:03:43 -05:00
return_position_impl_trait_in_trait.rs Implement projection and shim for AFIDT 2024-12-10 16:52:20 +00:00
rvalue_scopes.rs reduce false positives of tail-expr-drop-order from consumed values 2024-11-20 20:53:11 +08:00
structural_impls.rs no more Reveal :( 2024-11-23 13:52:54 +01:00
sty.rs Make Copy unsafe to implement for ADTs with unsafe fields 2024-12-07 20:50:00 +00:00
trait_def.rs Separate collection of crate-local inherent impls from error reporting 2024-09-24 10:12:05 -04:00
typeck_results.rs (Re-)Implement impl_trait_in_bindings 2024-12-14 03:21:24 +00:00
util.rs Rollup merge of #134285 - oli-obk:push-vwrqsqlwnuxo, r=Urgau 2024-12-15 20:01:38 +11:00
visit.rs Handle rustc-hir-analysis cases of rustc::potential_query_instability lint 2024-10-02 08:28:45 +03:00
vtable.rs Remove polymorphization 2024-12-06 16:42:09 -05:00
walk.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00