about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/lints.rs
AgeCommit message (Expand)AuthorLines
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
2023-10-20s/Generator/Coroutine/Oli Scherer-1/+1
2023-10-16debug Span::ctxt() call detectionArthur Lafrance-3/+1
2023-10-16basic lint v2 implementedArthur Lafrance-0/+6
2023-10-12Fix duplicate note on internal feature gateGurinder Singh-2/+0
2023-10-06Rollup merge of #116421 - Urgau:inter-mut-invalid_ref_casting, r=oli-obkMatthias Krüger-0/+4
2023-10-04Clarify `invalid_reference_casting` lint around interior mutable typesUrgau-0/+4
2023-10-03Add async_fn_in_trait lintMichael Goulet-0/+21
2023-09-16Auto merge of #114494 - est31:extend_useless_ptr_null_checks, r=jackh726bors-0/+2
2023-08-30feat(rustc_lint): make `CheckLintName` respect lint levelWeihang Lo-10/+58
2023-08-24lint: translate `RenamedOrRemovedLint`Weihang Lo-6/+12
2023-08-23Improve note for the invalid_reference_casting lintUrgau-0/+2
2023-08-06Improve diagnostics and add tests for function callsest31-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