rust/compiler/rustc_middle/src/ty
Ali MJ Al-Nasrawy 42e5f415fe
Rollup merge of #116870 - compiler-errors:host-param-by-name, r=fee1-dead
Don't compare host param by name

Seems sketchy to be searching for `sym::host` by name, especially when we can get the actual index with not very much work.

r? fee1-dead
2023-10-18 14:24:52 +03:00
..
consts Remove unused Lift derives. 2023-09-18 09:37:10 +10:00
context Don't leak the function that is called on drop 2023-05-23 14:53:36 +00:00
inhabitedness refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
print Format all the let chains in compiler 2023-10-13 08:59:36 +00:00
_match.rs Rename both of the Match relations 2023-10-02 21:06:09 +00:00
abstract_const.rs Remove more unused Lift impls. 2023-09-18 09:37:10 +10:00
adjustment.rs Remove unused Lift derives. 2023-09-18 09:37:10 +10:00
adt.rs Don't store lazyness in DefKind 2023-09-26 02:53:59 +00:00
assoc.rs Rollup merge of #113698 - compiler-errors:rpitit-check, r=spastorino 2023-07-14 19:33:29 +02:00
binding.rs Remove more unused Lift impls. 2023-09-18 09:37:10 +10:00
cast.rs Remove mir::CastKind::Misc 2022-10-06 15:32:41 +03:00
closure.rs Migrate a trait selection error to use diagnostic translation 2023-08-07 05:26:38 +00:00
codec.rs Optimize some alloc_from_iter call sites. 2023-10-03 18:12:37 +11:00
consts.rs the Const::eval_bits methods don't need to be given the Ty 2023-09-20 07:27:21 +02:00
context.rs Format all the let chains in compiler 2023-10-13 08:59:36 +00:00
diagnostics.rs Format all the let chains in compiler 2023-10-13 08:59:36 +00:00
erase_regions.rs Move expansion of query macros in rustc_middle to rustc_middle::query 2023-05-15 08:49:13 +02:00
error.rs Format all the let chains in compiler 2023-10-13 08:59:36 +00:00
fast_reject.rs Remove GeneratorWitness and rename GeneratorWitnessMIR. 2023-09-23 13:47:30 +00:00
flags.rs Remove GeneratorWitness and rename GeneratorWitnessMIR. 2023-09-23 13:47:30 +00:00
fold.rs Remove span from BrAnon. 2023-09-24 09:46:55 +00:00
generic_args.rs Don't compare host param by name 2023-10-18 02:38:54 +00:00
generics.rs Duplicate ~const bounds with a non-const one in effects desugaring 2023-10-15 08:59:38 +00:00
impls_ty.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
instance.rs Automatically enable cross-crate inlining for small functions 2023-10-17 19:53:51 -04:00
layout.rs Format all the let chains in compiler 2023-10-13 08:59:36 +00:00
list.rs Add a new trait to Debug things with an infcx available 2023-07-06 11:36:39 +01:00
mod.rs remove is global hack 2023-10-05 21:38:12 +03:00
normalize_erasing_regions.rs subst -> instantiate 2023-09-26 09:37:55 +02:00
opaque_types.rs Remove GeneratorWitness and rename GeneratorWitnessMIR. 2023-09-23 13:47:30 +00:00
parameterized.rs Enable drop_tracking_mir by default. 2023-09-23 13:34:09 +00:00
relate.rs Make it clear that args default to being related invariantly 2023-10-04 04:22:04 +00:00
rvalue_scopes.rs Enable potential_query_instability lint in rustc_hir_typeck. 2023-07-14 10:10:14 +02:00
structural_impls.rs Remove span from BrAnon. 2023-09-24 09:46:55 +00:00
sty.rs Auto merge of #116688 - compiler-errors:rustfmt-up, r=WaffleLapkin,Nilstrieb 2023-10-15 13:23:55 +00:00
trait_def.rs Point out if a local trait has no implementations 2023-09-10 21:20:36 +00:00
typeck_results.rs Enable drop_tracking_mir by default. 2023-09-23 13:34:09 +00:00
util.rs Don't store lazyness in DefKind 2023-09-26 02:53:59 +00:00
visit.rs Properly consider binder vars in HasTypeFlagsVisitor 2023-09-14 03:49:59 +00:00
vtable.rs make it more clear which functions create fresh AllocId 2023-09-14 07:27:31 +02:00
walk.rs Remove GeneratorWitness and rename GeneratorWitnessMIR. 2023-09-23 13:47:30 +00:00