about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/lints.rs
AgeCommit message (Expand)AuthorLines
2023-08-24lint: translate `RenamedOrRemovedLint`Weihang Lo-6/+12
2023-08-23Improve note for the invalid_reference_casting lintUrgau-0/+2
2023-08-06Rollup merge of #114486 - Urgau:const-context-nan-suggestion-114471, r=compil...Matthias Krüger-1/+1
2023-08-05Avoid invalid NaN lint machine-applicable suggestion in const contextUrgau-1/+1
2023-08-04Auto merge of #112117 - bryangarza:track-caller-feature-gate, r=compiler-errorsbors-1/+1
2023-08-04Rollup merge of #114472 - estebank:issue-76140, r=compiler-errorsMatthias Krüger-1/+3
2023-08-04Reword confusable idents lintEsteban Küber-1/+3
2023-08-04Auto merge of #114414 - cjgillot:early-unnameable-test, r=petrochenkovbors-4/+0
2023-08-03Auto merge of #108955 - Nilstrieb:dont-use-me-pls, r=oli-obkbors-2/+11
2023-08-03Rollup merge of #113657 - Urgau:expand-incorrect_fn_null_check-lint, r=cjgillotMatthias Krüger-4/+16
2023-08-03Make test harness lint about unnnameable tests.Camille GILLOT-4/+0
2023-08-03Add `internal_features` lintNilstrieb-2/+11
2023-08-03Also add label with original type for function pointersUrgau-1/+5
2023-08-02Add separate feature gate for async fn track callerBryan Garza-1/+1
2023-08-01Rename incorrect_fn_null_checks to useless_ptr_null_checksUrgau-4/+4
2023-08-01Expand incorrect_fn_null_check lint with reference null checkingUrgau-3/+11
2023-07-29Improve diagnostics of the invalid_reference_casting lintUrgau-4/+11
2023-07-29Add support for deferred casting for the invalid_reference_casting lintUrgau-1/+4
2023-07-29Auto merge of #113422 - Urgau:cast_ref_to_mut-pre-beta, r=Nilstriebbors-3/+3
2023-07-29Auto merge of #111916 - fee1-dead-contrib:noop-method-call-warn, r=compiler-e...bors-2/+3
2023-07-25inline format!() args from rustc_codegen_llvm to the end (4)Matthias Krüger-3/+3
2023-07-23add suggestionDeadbeef-1/+1
2023-07-23fixDeadbeef-1/+2
2023-07-13Rename cast_ref_to_mut lint to invalid_reference_castingUrgau-3/+3
2023-07-10Uplift `clippy::fn_null_check` to rustcUrgau-0/+6
2023-06-26Migrate predicates_of and caller_bounds to ClauseMichael Goulet-3/+3
2023-06-15Rollup merge of #112529 - jieyouxu:block-expr-unused-must-use, r=oli-obkGuillaume Gomez-11/+42
2023-06-15Rollup merge of #112517 - fee1-dead-contrib:sus-op-no-borrow, r=compiler-errorsGuillaume Gomez-4/+8
2023-06-15Extend `unused_must_use` to cover block exprs许杰友 Jieyou Xu (Joe)-11/+42
2023-06-13do not use stringly typed diagnosticsDeadbeef-4/+8
2023-06-11Add subdiagnostic and suggestion for overflowing bin hex with sign bitsNicky Lim-0/+17
2023-06-10Uplift improved version of `clippy::cmp_nan` to rustcUrgau-0/+30
2023-06-08Uplift clippy::undropped_manually_drops to rustcUrgau-0/+19
2023-05-31Uplift clippy::cast_ref_to_mut to rustcUrgau-0/+5
2023-05-30Rollup merge of #111543 - Urgau:uplift_invalid_utf8_in_unchecked, r=WaffleLapkinNilstrieb-0/+19
2023-05-29Use `Cow` in `{D,Subd}iagnosticMessage`.Nicholas Nethercote-1/+1
2023-05-27Add invalid_from_utf8 analogous to invalid_from_utf8_uncheckedUrgau-6/+15
2023-05-27Uplift clippy::invalid_utf8_in_unchecked as invalid_from_utf8_uncheckedUrgau-0/+10
2023-05-21Rename `forget_ref` lint to `forgetting_references`Urgau-1/+1
2023-05-21Rename `drop_ref` lint to `dropping_references`Urgau-2/+2
2023-05-21Rename `forget_copy` lint to `forgetting_copy_types`Urgau-1/+1
2023-05-21Rename `drop_copy` lint to `dropping_copy_types`Urgau-1/+1
2023-05-10Add note to suggest using `let _ = x` to ignore the valueUrgau-0/+4
2023-05-10Use label instead of note to be more consistent with other lintsUrgau-8/+8
2023-05-10Uplift clippy::forget_copy to rustcUrgau-0/+8
2023-05-10Uplift clippy::forget_ref to rustcUrgau-0/+8
2023-05-10Uplift clippy::drop_copy to rustcUrgau-0/+8
2023-05-10Uplift clippy::drop_ref to rustcUrgau-0/+9
2023-04-28uplift `clippy::clone_double_ref` as `suspicious_double_ref_op`Deadbeef-0/+8
2023-04-25Add deny lint to prevent untranslatable diagnostics using static stringsclubby789-0/+4