about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/traits.rs
AgeCommit message (Expand)AuthorLines
2025-02-08Rustfmtbjorn3-5/+5
2025-01-23Split hir `TyKind` and `ConstArgKind` in two and update `hir::Visitor`Boxy-2/+2
2025-01-23Make `hir::TyKind::TraitObject` use tagged ptrBoxy-1/+3
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-1/+1
2024-10-22Represent TraitBoundModifiers as distinct parts in HIRMichael Goulet-4/+1
2024-10-14Move trait bound modifiers into hir::PolyTraitRefMichael Goulet-2/+3
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-5/+5
2024-08-13Use is_lang_item moreMichael Goulet-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-4/+3
2024-07-25Support ?Trait bounds in supertraits and dyn Trait under a feature gateBryanskiy-2/+4
2024-06-14Use is_lang_item more aggressivelyMichael Goulet-2/+2
2024-04-29Remove `extern crate rustc_session` from `rustc_lint`.Nicholas Nethercote-0/+1
2024-01-23Rename `LintContext::emit_spanned_lint` as `LintContext::emit_span_lint`.Nicholas Nethercote-2/+2
2023-09-06make comments less crypticouz-a-1/+1
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-10/+4
2023-06-26Migrate predicates_of and caller_bounds to ClauseMichael Goulet-2/+1
2023-06-19s/Clause/ClauseKindMichael Goulet-2/+2
2023-01-09refactor: cleanupRejyr-2/+0
2023-01-09migrate: `traits.rs`Rejyr-15/+12
2022-11-25Introduce PredicateKind::ClauseSantiago Pastorino-1/+2
2022-10-29Rename some `OwnerId` fields.Nicholas Nethercote-1/+1
2022-10-23Migrate all diagnosticsNilstrieb-2/+2
2022-10-01Refactor rustc lint APIMaybe Waffle-17/+17
2022-06-30lint: port drop trait/glue diagnosticsDavid Wood-13/+8
2022-03-21Rename `~const Drop` to `~const Destruct`Deadbeef-4/+0
2022-03-16rustc_error: make ErrorReported impossible to constructmark-2/+2
2022-01-26drive-by: use is_const and is_const_if_constMichael Goulet-2/+1
2021-12-03Use let_else in some more places in rustc_lintest31-12/+8
2021-09-09fmtDeadbeef-2/+2
2021-09-09Do not lint for ~const Drop boundsDeadbeef-0/+5
2021-08-22Rollup merge of #86747 - FabianWolff:issue-86653, r=GuillaumeGomezGuillaume Gomez-16/+20
2021-08-13move Constness into TraitPredicateDeadbeef-1/+1
2021-07-18feat(rustc_lint): add `dyn_drop`Michael Howell-1/+62
2021-06-30Improve wording of the `drop_bounds` lintFabian Wolff-16/+20
2021-02-15Only store a LocalDefId in hir::Item.Camille GILLOT-2/+1
2021-01-16Review changesJack Huey-2/+2
2020-10-01Uplift drop-bounds lint from clippyMichael Howell-0/+79