about summary refs log tree commit diff
path: root/compiler/rustc_ty_utils
AgeCommit message (Expand)AuthorLines
2023-07-07Move some logic into a method on `OpaqueTypeCollector`Oli Scherer-29/+33
2023-07-07Remove one layer of nested matching on the same thingOli Scherer-55/+39
2023-07-07liar liar find_taits_declared_in_body on fireOli Scherer-10/+10
2023-07-07We don't need to track binders if we aren't normalizingOli Scherer-20/+1
2023-07-07Remove normalization from `opaque_types_defined_by`Oli Scherer-41/+2
2023-07-07Require TAITs to be mentioned in the signatures of functions that register hi...Oli Scherer-30/+194
2023-07-06get rid of a bit more calls to poly_selectMichael Goulet-1/+1
2023-07-06add helper methods for accessing struct tailLukas Markeffsky-10/+3
2023-07-06sanity check field offsets in unsizeable structsLukas Markeffsky-0/+49
2023-07-06clean up struct layout codeLukas Markeffsky-32/+37
2023-07-05Move `TyCtxt::mk_x` to `Ty::new_x` where applicableBoxy-14/+16
2023-07-05Auto merge of #113210 - fee1-dead-contrib:effects-mvp, r=oli-obkbors-0/+2
2023-07-04include `host_effect_index` in `Generics`Deadbeef-0/+2
2023-07-04Replace `const_error` methods with `Const::new_error`Boxy-1/+1
2023-07-04Replace `mk_const` with `Const::new_x` methodsBoxy-13/+15
2023-07-04Auto merge of #113303 - compiler-errors:yeet-chalk, r=lcnrbors-117/+1
2023-07-04Auto merge of #113215 - compiler-errors:rpitit-predicates-tweaks, r=spastorinobors-18/+1
2023-07-03Remove chalk from the compilerMichael Goulet-117/+1
2023-07-03use `deeply_normalize` for `assumed_wf_types`lcnr-20/+57
2023-07-01Put `FnAbiError` behind reference to shrink resultNilstrieb-7/+10
2023-07-01Put `LayoutError` behind reference to shrink resultNilstrieb-25/+42
2023-06-30RPITITs inherit method predicatesMichael Goulet-18/+1
2023-06-29Add bidirectional where clauses on RPITIT synthesized GATsSantiago Pastorino-12/+0
2023-06-29Do not remove previously added predicates in param_env, extend them insteadSantiago Pastorino-1/+3
2023-06-28Rollup merge of #112867 - compiler-errors:more-impl-source-nits, r=lcnrDylan DPC-3/+1
2023-06-27`thir`: Add `Become` expression kindMaybe Waffle-1/+3
2023-06-26TypeWellFormedInEnvMichael Goulet-10/+7
2023-06-26Migrate predicates_of and caller_bounds to ClauseMichael Goulet-10/+11
2023-06-23Auto merge of #112891 - oli-obk:impl_trait_in_assoc_tys_cleanup, r=compiler-e...bors-49/+85
2023-06-23Rollup merge of #112810 - compiler-errors:dont-ice-on-bad-layout, r=wesleywiserMatthias Krüger-7/+28
2023-06-22Only walk the identity substituted version of struct fieldsOli Scherer-1/+22
2023-06-22Handle weak type aliases by immediately resolving them to their aliased typeOli Scherer-9/+14
2023-06-22ICE on types that should not be defining opaque typesOli Scherer-1/+3
2023-06-22Document what is going on in `opaque_types_defined_by`Oli Scherer-0/+3
2023-06-22Move some field extraction logic onto a method on `Node`Oli Scherer-7/+3
2023-06-22Re-use error code for duplicate errorOli Scherer-1/+1
2023-06-22Treat opaque types failing the signature defining scope check as defining, as...Oli Scherer-2/+3
2023-06-22Stop failing eagerly, and collect all opaque types even if some are erroneous.Oli Scherer-12/+6
2023-06-22Point to argument/return type instead of the whole function headerOli Scherer-6/+30
2023-06-22Only create the opaque collector once and visit it many timesOli Scherer-20/+10
2023-06-22Move `opaque_type_origin_unchecked` onto `TyCtxt` and re-use it where it was ...Oli Scherer-1/+1
2023-06-21Don't substitute a GAT that has mismatched generics in OpaqueTypeCollectorMichael Goulet-30/+50
2023-06-21Rollup merge of #112759 - cjgillot:closure-names, r=oli-obkNilstrieb-5/+6
2023-06-20yeet ImplSource::TraitAlias tooMichael Goulet-3/+1
2023-06-19Better error messageMichael Goulet-1/+16
2023-06-19Don't ICE on unnormalized struct tail in layout computationMichael Goulet-7/+13
2023-06-19Store generator field names in GeneratorLayout.Camille GILLOT-4/+5
2023-06-19Make closure_saved_names_of_captured_variables a query.Camille GILLOT-1/+1
2023-06-19Promote unchecked_add/sub/mul/shl/shr to mir::BinOpScott McMurray-2/+3
2023-06-17Remove even more redundant builtin candidatesMichael Goulet-77/+60