summary refs log tree commit diff
path: root/compiler/rustc_middle/src/ty/error.rs
AgeCommit message (Expand)AuthorLines
2024-11-02Fix type shortening writing to fileEsteban Küber-3/+18
2024-10-23remove `PredicatePolarity` and `BoundConstness` relate implslcnr-3/+0
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-08-09Shrink `TyKind::FnPtr`.Nicholas Nethercote-2/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-5/+5
2024-06-06Uplift TypeErrorMichael Goulet-124/+39
2024-06-01Simplify IntVarValue/FloatVarValueMichael Goulet-21/+1
2024-05-17Rename Unsafe to SafetySantiago Pastorino-3/+3
2024-04-29Remove `extern crate rustc_macros` from `rustc_middle`.Nicholas Nethercote-0/+1
2024-04-08Actually create ranged int types in the type system.Oli Scherer-0/+1
2024-03-22Auto merge of #122900 - matthiaskrgr:rollup-nls90mb, r=matthiaskrgrbors-1/+1
2024-03-22Further simplificationsMichael Goulet-1/+1
2024-03-22Programmatically convert some of the pat ctorsMichael Goulet-1/+1
2024-02-20Make --verbose imply -Z write-long-types-to-disk=noFernando Fernandez Mancera-1/+1
2024-02-06Add CoroutineClosure to TyKind, AggregateKind, UpvarArgsMichael Goulet-1/+1
2023-12-13Tweak `short_ty_string` to reduce number of filesEsteban Küber-9/+11
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-2/+2
2023-11-02Add insta-stable std::hash::{DefaultHasher, RandomState} exportsltdk-2/+1
2023-10-25Refactor away the need for some `descr` methods.Oli Scherer-2/+6
2023-10-21Make `ty::print::Printer` take `&mut self` instead of `self`Nilstrieb-15/+14
2023-10-20s/generator/coroutine/Oli Scherer-4/+4
2023-10-20s/Generator/Coroutine/Oli Scherer-4/+4
2023-10-13Format all the let chains in compilerMichael Goulet-1/+7
2023-09-23Remove GeneratorWitness and rename GeneratorWitnessMIR.Camille GILLOT-3/+2
2023-09-18Remove unused `Lift` derives.Nicholas Nethercote-2/+2
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-4/+4
2023-07-24new unstable option: -Zwrite-long-types-to-diskMahdi Dibaiee-2/+7
2023-06-16Add `AliasKind::Weak` for type aliases.Oli Scherer-0/+1
2023-05-30leak_check: remove unused codepathlcnr-13/+0
2023-05-04IAT: Introduce AliasKind::InherentLeón Orell Valerian Liehr-2/+2
2023-04-26Remove unused `TypeFoldable`/`TypeVisitable` impls.Nicholas Nethercote-1/+1
2023-03-11remove duplicated calls to sort_stringklensy-6/+2
2023-02-13fix: improve the suggestion on future not awaitedVincenzo Palazzo-1/+1
2023-01-30Fix unquoted projection types in labelEsteban Küber-1/+1
2023-01-30Mention fn coercion rules (needs to be expanded)Esteban Küber-1/+1
2023-01-30review commentsEsteban Küber-36/+43
2023-01-30Modify primary span label for E0308Esteban Küber-124/+67
2023-01-27Introduce GeneratorWitnessMIR.Camille GILLOT-2/+3
2023-01-25Move `note_and_explain_type_err` from `rustc_middle` to `rustc_infer`Nilstrieb-632/+5
2023-01-11Be more specific about constructor `FnDef`s in type mismatchMichael Goulet-3/+11
2023-01-04get_parent and find_parentMichael Goulet-1/+1
2023-01-04rename get_parent_node to parent_idMichael Goulet-1/+1
2022-12-14Ensure no one constructs `AliasTy`s themselvesOli Scherer-2/+1
2022-12-13Combine projection and opaque into aliasMichael Goulet-13/+14
2022-12-13squash OpaqueTy and ProjectionTy into AliasTyMichael Goulet-5/+5
2022-12-13ProjectionTy.item_def_id -> ProjectionTy.def_idMichael Goulet-9/+9
2022-12-13Use ty::OpaqueTy everywhereMichael Goulet-1/+1
2022-12-11Fix typo in comment: length_limitJesse Ruderman-1/+1
2022-12-10Introduce `with_forced_trimmed_paths`Esteban Küber-16/+30
2022-11-28Further tweak the type shortening logicEsteban Küber-2/+3