about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/values.rs
AgeCommit message (Expand)AuthorLines
2025-04-27Use `search_for_cycle_permutation` to look for `variances_of`John Kåre Alsaker-12/+20
2025-03-26Avoiding calling queries when collecting active queriesJohn Kåre Alsaker-2/+2
2025-02-17Move some `Map` methods onto `TyCtxt`.Nicholas Nethercote-1/+1
2025-02-11Simplify intra-crate qualifiers.Nicholas Nethercote-1/+1
2025-01-23Split hir `TyKind` and `ConstArgKind` in two and update `hir::Visitor`Boxy-1/+7
2025-01-19Run `clippy --fix` for `unnecessary_map_or` lintYotam Ofek-1/+1
2024-12-13Rename ty_def_id so people will stop using it by accidentMichael Goulet-3/+3
2024-11-03compiler: Directly use rustc_abi in metadata and middleJubilee Young-1/+1
2024-10-02only query `params_in_repr` if def kind is adtbohan-1/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-09-17Fix circular fn_sig queries to return the correct number of arguments for met...Jesse Rusak-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-8/+9
2024-06-12Use Variance glob import everywhereMichael Goulet-1/+1
2024-05-26Give EarlyBinder a tcx parameterMichael Goulet-3/+3
2024-05-17Rename Unsafe to SafetySantiago Pastorino-1/+1
2024-05-09Rename Generics::params to Generics::own_paramsMichael Goulet-1/+1
2024-03-14make `Representability::Infinite` carry `ErrorGuaranteed`Lukas Markeffsky-4/+4
2024-03-07Merge collect_mod_item_types query into check_well_formedOli Scherer-0/+21
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-1/+1
2024-01-10Rename consuming chaining methods on `DiagnosticBuilder`.Nicholas Nethercote-1/+1
2024-01-10Rename `struct_span_err!` as `struct_span_code_err!`.Nicholas Nethercote-3/+3
2024-01-08Last nitsMichael Goulet-9/+31
2024-01-08Make cycle error more resilient to where it startsMichael Goulet-62/+69
2024-01-08Point out source of recursionMichael Goulet-7/+51
2024-01-08Don't check for recursion in generator witness fieldsMichael Goulet-5/+31
2024-01-08Value recovery can take the whole CycleErrorMichael Goulet-14/+34
2024-01-08Use chaining for `DiagnosticBuilder` construction and `emit`.Nicholas Nethercote-5/+5
2023-12-24Remove more `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-1/+1
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-1/+1
2023-12-12Move some methods from `tcx.hir()` to `tcx`zetanumbers-2/+3
2023-11-26rustc: `hir().local_def_id_to_hir_id()` -> `tcx.local_def_id_to_hir_id()` cle...Vadim Petrochenkov-1/+1
2023-11-12make LayoutError::Cycle carry ErrorGuaranteedMichael Goulet-3/+2
2023-10-13Format all the let chains in compilerMichael Goulet-3/+7
2023-09-26Don't store lazyness in DefKindMichael Goulet-1/+1
2023-09-21Move `DepKind` to `rustc_query_system` and define it as `u16`John Kåre Alsaker-52/+20
2023-08-27More precisely detect cycle errors from type_of on opaqueMichael Goulet-0/+11
2023-08-27Pass ErrorGuaranteed to cycle errorMichael Goulet-12/+41
2023-08-07Store the laziness of type aliases in the DefKindLeón Orell Valerian Liehr-1/+1
2023-07-05Move `TyCtxt::mk_x` to `Ty::new_x` where applicableBoxy-2/+2
2023-07-01Put `LayoutError` behind reference to shrink resultNilstrieb-2/+5
2023-05-29EarlyBinder::new -> EarlyBinder::bindlcnr-2/+2
2023-05-28Replace EarlyBinder(x) with EarlyBinder::new(x)Kyle Matsuda-2/+2
2023-05-02Avoid ICEing miri on layout query cyclesOli Scherer-0/+6
2023-04-21Allow `LocalDefId` as the argument to `def_path_str`Oli Scherer-2/+2
2023-03-02rustc_middle: Remove trait `DefIdTree`Vadim Petrochenkov-1/+1
2023-02-22Rename ty_error_with_guaranteed to ty_error, ty_error to ty_error_miscMichael Goulet-2/+2
2023-02-17Fix ICE on type alias in recursionclubby789-2/+3
2023-01-14add EarlyBinder::subst_identity; impl ParameterizedOverTcx (needed for rustc...Kyle Matsuda-0/+12
2022-12-23Use DepKind instead of &strgimbles-11/+12
2022-12-01Properly synthesize fn sig value during cycleMichael Goulet-5/+15