rust/compiler/rustc_middle/src/ty
Zalathar 041a232b62 coverage: Don't bother renumbering expressions on the Rust side
The LLVM API that we use to encode coverage mappings already has its own code
for removing unused coverage expressions and renumbering the rest.

This lets us get rid of our own complex renumbering code, making it easier to
change our coverage code in other ways.
2023-09-21 18:32:49 +10: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 use pretty_print_const_value from MIR constant 'extra' printing 2023-09-19 11:06:32 +02:00
_match.rs Move TyCtxt::mk_x to Ty::new_x where applicable 2023-07-05 20:27:07 +01: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 move required_consts check to general post-mono-check function 2023-09-14 22:30:42 +02: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 Remove constness from ParamEnv 2023-07-27 15:50:42 +00:00
consts.rs move required_consts check to general post-mono-check function 2023-09-14 22:30:42 +02:00
context.rs make more pretty 2023-09-18 17:29:13 +01:00
diagnostics.rs treat host effect params as erased generics in codegen 2023-09-14 07:34:35 +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 Remove unused Lift derives. 2023-09-18 09:37:10 +10:00
fast_reject.rs add FIXME 2023-07-20 11:05:52 +02:00
flags.rs Properly consider binder vars in HasTypeFlagsVisitor 2023-09-14 03:49:59 +00:00
fold.rs Move TyCtxt::mk_x to Ty::new_x where applicable 2023-07-05 20:27:07 +01:00
generic_args.rs Remove unused Lift derives. 2023-09-18 09:37:10 +10:00
generics.rs treat host effect params as erased generics in codegen 2023-09-14 07:34:35 +00:00
impls_ty.rs refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00
instance.rs Remove unused Lift derives. 2023-09-18 09:37:10 +10:00
layout.rs rustc_target/riscv: Fix passing of transparent unions with only one non-ZST member 2023-09-19 12:06:33 +02:00
list.rs Add a new trait to Debug things with an infcx available 2023-07-06 11:36:39 +01:00
mod.rs Rollup merge of #115566 - zirconium-n:issue-107250-clean-up-unused-to-predicate, r=oli-obk 2023-09-20 17:33:16 +02:00
normalize_erasing_regions.rs inline format!() args up to and including rustc_middle 2023-07-30 13:18:33 +02:00
opaque_types.rs inline format!() args up to and including rustc_middle 2023-07-30 13:18:33 +02:00
parameterized.rs Use u64 for incr comp allocation offsets 2023-07-14 17:03:34 -04:00
relate.rs Remove constness from TraitPredicate 2023-08-02 15:38:00 +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 coverage: Don't bother renumbering expressions on the Rust side 2023-09-21 18:32:49 +10:00
sty.rs remove impl<'tcx> ToPredicate<'tcx, Clause<'tcx>> for PolyProjectionPredicate<'tcx> 2023-09-20 04:03:02 +08:00
trait_def.rs Point out if a local trait has no implementations 2023-09-10 21:20:36 +00:00
typeck_results.rs Remove unused Lift derives. 2023-09-18 09:37:10 +10:00
util.rs Store the laziness of type aliases in the DefKind 2023-08-07 15:54:31 +02: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 refactor(rustc_middle): Substs -> GenericArg 2023-07-14 13:27:35 +01:00