about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
2023-08-03Rollup merge of #113657 - Urgau:expand-incorrect_fn_null_check-lint, r=cjgillotMatthias Krüger-119/+165
2023-08-03Make test harness lint about unnnameable tests.Camille GILLOT-83/+1
2023-08-03Add `internal_features` lintNilstrieb-16/+59
2023-08-03Also add label with original type for function pointersUrgau-2/+6
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-31/+98
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-24/+24
2023-08-01Expand incorrect_fn_null_check lint with reference null checkingUrgau-13/+35
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-8/+27
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/+67
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-13/+14
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-9/+10
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-44/+39
2023-07-25inline format!() args from rustc_codegen_llvm to the end (4)Matthias Krüger-28/+26
2023-07-23add suggestionDeadbeef-1/+1
2023-07-23fixDeadbeef-6/+8
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-25/+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-12/+12
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/+121
2023-07-10Uplift `clippy::fn_null_check` to rustcUrgau-0/+121
2023-07-05Move `TyCtxt::mk_x` to `Ty::new_x` where applicableBoxy-10/+11
2023-07-04allow host param to be lowercaseDeadbeef-0/+4
2023-07-04Auto merge of #113303 - compiler-errors:yeet-chalk, r=lcnrbors-2/+1
2023-07-03remove TypeWellFormedFromEnvMichael Goulet-2/+1