about summary refs log tree commit diff
path: root/compiler/rustc_lint
AgeCommit message (Expand)AuthorLines
2023-08-04Simplify clashing_extern_declarations.Camille GILLOT-270/+263
2023-08-04Querify clashing_extern_declarations lint.Camille GILLOT-410/+440
2023-08-04Auto merge of #114414 - cjgillot:early-unnameable-test, r=petrochenkovbors-85/+1
2023-08-04Improve spans for indexing expressionsNilstrieb-2/+2
2023-08-03Auto merge of #108955 - Nilstrieb:dont-use-me-pls, r=oli-obkbors-16/+62
2023-08-03Rollup merge of #113657 - Urgau:expand-incorrect_fn_null_check-lint, r=cjgillotMatthias Krüger-122/+172
2023-08-03Make test harness lint about unnnameable tests.Camille GILLOT-85/+1
2023-08-03Add `internal_features` lintNilstrieb-16/+62
2023-08-03Also add label with original type for function pointersUrgau-2/+7
2023-08-03Also lint on cast/cast_mut and ptr::from_mut/ptr::from_refUrgau-16/+36
2023-08-03Make lint missing-copy-implementations honor negative Copy implsLeón Orell Valerian Liehr-0/+23
2023-08-02Add separate feature gate for async fn track callerBryan Garza-7/+7
2023-08-02Auto merge of #112431 - Urgau:cast_ref_to_mut_improvments, r=Nilstriebbors-32/+103
2023-08-02Replace old private-in-public diagnostic with type privacy lintsBryanskiy-0/+5
2023-08-01Rename incorrect_fn_null_checks to useless_ptr_null_checksUrgau-30/+30
2023-08-01Expand incorrect_fn_null_check lint with reference null checkingUrgau-14/+39
2023-07-31Rollup merge of #114286 - nbdd0121:upcast, r=compiler-errorsMatthias Krüger-0/+1
2023-07-31Add missing feature gate in multiple_supertrait_upcastable docGary Guo-0/+1
2023-07-30Check lazy type aliases for well-formednessLeón Orell Valerian Liehr-7/+12
2023-07-29Improve diagnostics of the invalid_reference_casting lintUrgau-9/+31
2023-07-29Avoid linting on expression that are only UB with SB/TBUrgau-2/+15
2023-07-29Add support for deferred casting for the invalid_reference_casting lintUrgau-31/+68
2023-07-29Revert "Temporarily switch invalid_reference_casting lint to allow-by-default"Urgau-2/+1
2023-07-29Auto merge of #113422 - Urgau:cast_ref_to_mut-pre-beta, r=Nilstriebbors-15/+16
2023-07-29Auto merge of #113099 - bvanjoi:fix-112713-2, r=petrochenkovbors-0/+3
2023-07-29Auto merge of #111916 - fee1-dead-contrib:noop-method-call-warn, r=compiler-e...bors-11/+12
2023-07-28Lower generic const items to HIRLeón Orell Valerian Liehr-1/+2
2023-07-29fix(resolve): update the ambiguity glob binding as warning recursivelybohan-0/+3
2023-07-27Rollup merge of #114075 - matthiaskrgr:fmt_args_rustc_3, r=wesleywiserMatthias Krüger-28/+26
2023-07-26Auto merge of #113457 - davidtwco:lint-ctypes-issue-113436, r=oli-obkbors-46/+39
2023-07-25inline format!() args from rustc_codegen_llvm to the end (4)Matthias Krüger-28/+26
2023-07-23add suggestionDeadbeef-2/+2
2023-07-23fixDeadbeef-7/+9
2023-07-23make `noop_method_call` warn by defaultDeadbeef-2/+1
2023-07-21lint/ctypes: only try normalizeDavid Wood-12/+9
2023-07-19lint/ctypes: allow `()` within typesDavid Wood-32/+15
2023-07-19lint: refactor `check_variant_for_ffi`David Wood-27/+22
2023-07-19lint/ctypes: stricter `()` return type checksDavid Wood-20/+35
2023-07-18Rollup merge of #113832 - WaffleLapkin:track_lint_caller, r=compiler-errorsMatthias Krüger-0/+4
2023-07-18Rollup merge of #113811 - jieyouxu:fix-unused-qualifications-suggestion, r=ol...Matthias Krüger-4/+4
2023-07-18Add `#[track_caller]` to lint related diagnostic functionsMaybe Waffle-0/+4
2023-07-18Fix removal span calculation of unused_qualifications suggestion许杰友 Jieyou Xu (Joe)-4/+4
2023-07-17Rename arg_iter to iter_instantiatedMichael Goulet-1/+1
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-93/+100
2023-07-14Rollup merge of #112729 - jieyouxu:unused-qualifications-suggestion, r=b-naberMatthias Krüger-0/+8
2023-07-13Temporarily switch invalid_reference_casting lint to allow-by-defaultUrgau-1/+2
2023-07-13Rename cast_ref_to_mut lint to invalid_reference_castingUrgau-14/+14
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-45/+58
2023-07-13Add machine-applicable suggestion for `unused_qualifications` lint许杰友 Jieyou Xu (Joe)-0/+8
2023-07-11Auto merge of #111717 - Urgau:uplift_fn_null_check, r=oli-obkbors-0/+124