rust/compiler/rustc_middle/src/ty
nils 6e0c404f76
Rollup merge of #106648 - Nilstrieb:poly-cleanup, r=compiler-errors
Polymorphization cleanup

Split out of #106233

Use a newtype instead of a bitset directly. This makes the code way easier to read and easier to adapt for future changes.
2023-01-11 17:30:55 +01:00
..
consts rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
inhabitedness Combine projection and opaque into alias 2022-12-13 17:48:55 +00:00
print Give a more helpful error for "trimmed_def_paths construted" 2022-12-22 13:12:15 -06:00
_match.rs Add an always-ambiguous predicate to make sure that we don't accidentlally allow trait resolution to prove false things during coherence 2022-11-21 16:35:04 +00:00
abstract_const.rs Make expand_abstract_consts infallible 2022-11-25 09:28:44 +00:00
adjustment.rs Let mk_fn_def take an iterator instead to simplify some call sites 2022-12-14 15:36:39 +00:00
adt.rs move some layout logic to rustc_target::abi::layout 2022-11-24 16:26:12 +03:30
assoc.rs rustc: Parameterize ty::Visibility over used ID 2022-09-07 13:35:41 +04:00
binding.rs Refactor and re-use BindingAnnotation 2022-09-02 12:55:05 -05:00
cast.rs Remove mir::CastKind::Misc 2022-10-06 15:32:41 +03:00
closure.rs rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
codec.rs Rename ConstS to ConstData 2022-12-16 10:02:51 +00:00
consts.rs rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
context.rs rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
diagnostics.rs Rollup merge of #105627 - compiler-errors:dyn-auto-suggestable, r=davidtwco 2022-12-15 12:46:01 +01:00
erase_regions.rs Add type flags support for Ty and Const late-bound regions 2023-01-08 03:37:20 +00:00
error.rs get_parent and find_parent 2023-01-04 00:43:13 +00:00
fast_reject.rs Rollup merge of #105743 - nnethercote:SimplifiedType-cleanups, r=lcnr 2022-12-15 22:03:01 +01:00
flags.rs Add type flags support for Ty and Const late-bound regions 2023-01-08 03:37:20 +00:00
fold.rs always use anonymize_bound_vars 2022-12-14 20:06:25 +00:00
generics.rs Remove an unused function 2022-12-20 15:00:32 +00:00
impls_ty.rs interpret: support for per-byte provenance 2022-11-06 14:17:10 +01:00
instance.rs Use newtype for unused generic parameters 2023-01-09 19:10:00 +01:00
layout.rs review comment: Deduplicate dyn ty_and_layout_field code 2023-01-04 01:03:04 +00:00
list.rs add List::as_slice 2022-08-17 11:22:47 +02:00
mod.rs Use newtype for unused generic parameters 2023-01-09 19:10:00 +01:00
normalize_erasing_regions.rs mir constants: type traversing bye bye 2022-10-17 10:54:01 +02:00
opaque_types.rs Match crate and slug names 2022-11-21 15:24:50 +01:00
parameterized.rs Use newtype for unused generic parameters 2023-01-09 19:10:00 +01:00
query.rs Use newtype for unused generic parameters 2023-01-09 19:10:00 +01:00
relate.rs don't restuct references just to reborrow 2022-12-18 17:04:32 +01:00
rvalue_scopes.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00
structural_impls.rs Make #[debug_format] an attribute in newtype_index 2022-12-18 21:37:38 +01:00
sty.rs Rollup merge of #105661 - lcnr:evaluate-new, r=compiler-errors 2022-12-23 18:02:13 +01:00
subst.rs Rollup merge of #105661 - lcnr:evaluate-new, r=compiler-errors 2022-12-23 18:02:13 +01:00
trait_def.rs Prefer doc comments over //-comments in compiler 2022-11-27 11:19:04 +00:00
typeck_results.rs Auto merge of #106637 - fee1-dead-contrib:rollup-ticvmsd, r=fee1-dead 2023-01-09 18:20:00 +00:00
util.rs better names and a comment 2022-12-28 04:18:37 +00:00
visit.rs Add type flags support for Ty and Const late-bound regions 2023-01-08 03:37:20 +00:00
vtable.rs avoid .into() conversion to identical types 2022-12-18 16:20:32 +01:00
walk.rs remove unused imports 2022-12-26 15:01:20 +09:00