summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/traits/object_safety.rs
AgeCommit message (Expand)AuthorLines
2024-06-03check_is_object_safe -> is_object_safeMichael Goulet-2/+2
2024-06-03Make WHERE_CLAUSES_OBJECT_SAFETY a regular object safety violationMichael Goulet-78/+3
2024-06-01Deduplicate supertrait_def_ids codeMark Rousskov-2/+3
2024-06-01Increase vtable layout sizeMark Rousskov-53/+60
2024-05-23Remove `LintDiagnostic::msg`León Orell Valerian Liehr-34/+29
2024-05-19Add and use generics.is_empty() and generics.is_own_empty, rather than using ...Santiago Pastorino-1/+1
2024-05-17to_opt_poly_X_pred -> as_X_clauseMichael Goulet-1/+1
2024-05-16Make P parameter explicitMichael Goulet-2/+1
2024-05-16Rename ToPredicate for UpcastMichael Goulet-4/+4
2024-05-13split out AliasTy -> AliasTermMichael Goulet-1/+1
2024-05-11Apply nits, uplift ExistentialPredicate tooMichael Goulet-1/+2
2024-05-09Rename Generics::params to Generics::own_paramsMichael Goulet-1/+1
2024-05-02Inline & delete `Ty::new_unit`, since it's just a field accessWaffle Lapkin-1/+1
2024-03-22Split out ImplPolarity and PredicatePolarityMichael Goulet-1/+1
2024-03-22Update local variables and tracing callsLeón Orell Valerian Liehr-3/+2
2024-03-22Update (doc) commentsLeón Orell Valerian Liehr-2/+3
2024-03-22Rename AstConv to HIR ty loweringLeón Orell Valerian Liehr-1/+1
2024-03-05Convert `TypeVisitor` and `DefIdVisitor` to use `VisitorResult`Jason Newcomb-3/+3
2024-02-14Use fewer delayed bugs.Nicholas Nethercote-2/+5
2024-02-12Dejargnonize substShoyu Vanilla-3/+3
2024-01-23Rename `TyCtxt::struct_span_lint_hir` as `TyCtxt::node_span_lint`.Nicholas Nethercote-1/+1
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-4/+4
2023-12-18Rename `Session::span_diagnostic` as `Session::dcx`.Nicholas Nethercote-3/+1
2023-12-15Rollup merge of #119004 - matthiaskrgr:conv, r=compiler-errorsJubilee-1/+1
2023-12-15NFC don't convert types to identical typesMatthias Krüger-1/+1
2023-12-15Don't pass lint back out of lint decoratorMichael Goulet-1/+0
2023-12-02Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`.Nicholas Nethercote-4/+4
2023-11-26don't add redundant help for object safety violationsRyan Mehri-1/+1
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-1/+1
2023-11-13update type flagslcnr-1/+1
2023-10-30Detect object safety errors when assoc type is missingEsteban Küber-1/+1
2023-10-25Rollup merge of #116401 - WaffleLapkin:vtablin''', r=oli-obkMatthias Krüger-37/+47
2023-10-25Return multiple object-safety violation errorsMaybe Waffle-35/+42
2023-10-25Don't allow dead codeMaybe Waffle-1/+0
2023-10-25Add a comment explaining some weird `is_vtable_safe_method` behaviorMaybe Waffle-0/+4
2023-10-13Format all the let chains in compilerMichael Goulet-4/+3
2023-10-03Make non-zero check more obviousMaybe Waffle-1/+1
2023-08-02Remove constness from `TraitPredicate`Deadbeef-1/+0
2023-07-30inline format!() args up to and including rustc_codegen_llvmMatthias Krüger-4/+2
2023-07-27Remove `constness` from `ParamEnv`Deadbeef-5/+1
2023-07-14Rollup merge of #113698 - compiler-errors:rpitit-check, r=spastorinoMatthias Krüger-1/+1
2023-07-14Make it clearer that we're just checking for an RPITITMichael Goulet-1/+1
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-10/+10
2023-07-05Move `TyCtxt::mk_x` to `Ty::new_x` where applicableBoxy-3/+3
2023-07-05Make all generics_require_sized_self go through the query to get caching.Oli Scherer-3/+3
2023-07-05Don't require associated types with `Self: Sized` bounds in `dyn Trait` objectsOli Scherer-1/+6
2023-07-03remove TypeWellFormedFromEnvMichael Goulet-3/+2
2023-06-26TypeWellFormedInEnvMichael Goulet-2/+4
2023-06-26Migrate predicates_of and caller_bounds to ClauseMichael Goulet-40/+20
2023-06-22Migrate item_bounds to ty::ClauseMichael Goulet-1/+1