summary refs log tree commit diff
path: root/compiler/rustc_lint/src/lints.rs
AgeCommit message (Expand)AuthorLines
2024-03-11Rename `DecorateLint` as `LintDiagnostic`.Nicholas Nethercote-11/+11
2024-03-11Rename `AddToDiagnostic` as `Subdiagnostic`.Nicholas Nethercote-21/+21
2024-03-05Rename `SubdiagnosticMessageOp` as `SubdiagMessageOp`.Nicholas Nethercote-10/+10
2024-03-05Rename `DiagnosticMessage` as `DiagMessage`.Nicholas Nethercote-15/+15
2024-02-28Auto merge of #121489 - nnethercote:diag-renaming, r=davidtwcobors-23/+23
2024-02-28Remove the `UntranslatableDiagnosticTrivial` lint.Nicholas Nethercote-4/+0
2024-02-28Rename `DiagnosticStyledString` as `DiagStyledString`.Nicholas Nethercote-4/+4
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-20/+20
2024-02-26Rollup merge of #120840 - HTGAzureX1212:HTGAzureX1212/unicode-identifier-type...Guillaume Gomez-0/+2
2024-02-26separate messages for individual categoriesHTGAzureX1212.-0/+2
2024-02-25Auto merge of #120393 - Urgau:rfc3373-non-local-defs, r=WaffleLapkinbors-0/+39
2024-02-23Rollup merge of #121471 - estebank:lint-clone, r=TaKO8KiMatthias Krüger-0/+6
2024-02-22When encountering `<&T as Clone>::clone(x)` because `T: Clone`, suggest `#[de...Esteban Küber-0/+6
2024-02-21Rollup merge of #121338 - jieyouxu:ambiguous_wide_pointer_comparisons_suggest...Dylan DPC-3/+6
2024-02-20Downgrade ambiguous_wide_pointer_comparisons suggestions to MaybeIncorrect许杰友 Jieyou Xu (Joe)-3/+6
2024-02-20Rollup merge of #121318 - kadiwa4:no_assembly_in_supposedly_safe_code, r=Nils...Nilstrieb-0/+3
2024-02-20Reduce capabilities of `Diagnostic`.Nicholas Nethercote-15/+51
2024-02-20trigger `unsafe_code` on `global_asm!` invocationsKalle Wachsmuth-0/+3
2024-02-17Rollup merge of #121085 - davidtwco:always-eager-diagnostics, r=nnethercoteMatthias Krüger-1/+1
2024-02-17Add cargo update suggestion for non local defsUrgau-1/+17
2024-02-17Add const-anon suggestion for non local implUrgau-1/+7
2024-02-17Implement RFC3373 non local definitions lintUrgau-0/+17
2024-02-15errors: only eagerly translate subdiagnosticsDavid Wood-1/+1
2024-02-15Use generic `NonZero` internally.Markus Reiter-3/+2
2024-02-12Lint on reference casting to bigger underlying allocationUrgau-1/+13
2024-02-09Rollup merge of #120693 - nnethercote:invert-diagnostic-lints, r=davidtwcoMatthias Krüger-1/+2
2024-02-08Add `SubdiagnosticMessageOp` as a trait alias.Nicholas Nethercote-37/+10
2024-02-06Invert diagnostic lints.Nicholas Nethercote-1/+2
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-3/+3
2024-01-23address requested changesHTGAzureX1212.-0/+1
2024-01-23add list of characters to uncommon codepoints lintHTGAzureX1212.-1/+3
2024-01-22Revert "Auto merge of #118133 - Urgau:stabilize_trait_upcasting, r=WaffleLapkin"Oli Scherer-1/+0
2024-01-22Rollup merge of #119710 - Nilstrieb:let-_-=-oops, r=TaKO8KiMatthias Krüger-17/+26
2024-01-13Add check for ui_testing via promoting parameters from `ParseSess` to `Session`George-lewis-3/+3
2024-01-12Improve `let_underscore_lock`Nilstrieb-17/+26
2024-01-12check rust lints when an unknown lint is detectedyukang-1/+2
2024-01-09Rollup merge of #119704 - chenyukang:yukang-fix-let_underscore, r=NilstriebMatthias Krüger-1/+3
2024-01-08Fix 2 variable binding issues in let_underscoreyukang-1/+3
2024-01-03Remove lots of `rustc_errors::` qualifiers in `lints.rs`.Nicholas Nethercote-63/+36
2024-01-03Rename some `Diagnostic` setters.Nicholas Nethercote-12/+12
2023-12-16Simplify lint decorator derive tooMichael Goulet-45/+11
2023-12-06Add warn-by-default lint against ambiguous wide pointer comparisonsUrgau-0/+70
2023-11-22Rework supertrait lint once againMichael Goulet-4/+10
2023-11-22Auto merge of #118133 - Urgau:stabilize_trait_upcasting, r=WaffleLapkinbors-4/+2
2023-11-22Auto merge of #112380 - jieyouxu:useless-bindings-lint, r=WaffleLapkinbors-0/+7
2023-11-22Stabilize RFC3324 dyn upcasting coercionUrgau-4/+2
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-1/+1
2023-11-20Add allow-by-default lint for unit bindings许杰友 Jieyou Xu (Joe)-0/+7
2023-11-18Remove --check-cfg checking of --cfg argsUrgau-15/+0
2023-10-20s/generator/coroutine/Oli Scherer-1/+1