about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/traits/object_safety.rs
AgeCommit message (Expand)AuthorLines
2024-09-25Compiler: Rename "object safe" to "dyn compatible"León Orell Valerian Liehr-940/+0
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-3/+3
2024-09-03Add `warn(unreachable_pub)` to `rustc_trait_selection`.Nicholas Nethercote-5/+5
2024-08-31Rollup merge of #129767 - nnethercote:rm-extern-crate-tracing-4, r=jieyouxuMatthias Krüger-0/+1
2024-08-30Remove `#[macro_use] extern crate tracing` from `rustc_trait_selection`.Nicholas Nethercote-0/+1
2024-08-29Stop using ty::GenericPredicates for non-predicates_of queriesMichael Goulet-6/+4
2024-07-29Reformat `use` declarations.Nicholas Nethercote-7/+6
2024-07-15Fix unsoundness when associated types dont actually come from supertraitsMichael Goulet-110/+154
2024-07-15Item bounds can reference self projections and still be object safeMichael Goulet-44/+80
2024-07-07iter_identity is a better nameMichael Goulet-1/+1
2024-07-05Use `ControlFlow` results for visitors that are only looking for a single valueOli Scherer-2/+3
2024-06-27Make queries more explicitMichael Goulet-2/+2
2024-06-24Split out IntoIterator and non-Iterator constructors for AliasTy/AliasTerm/Tr...Michael Goulet-1/+1
2024-06-12Stop passing traitref/traitpredicate by refMichael Goulet-1/+1
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