about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
2022-10-23Rollup merge of #103123 - compiler-errors:early-binder-iter, r=cjgillotMatthias Krüger-7/+5
2022-10-23Auto merge of #102660 - camsteffen:uninhabited-perf, r=oli-obkbors-41/+5
2022-10-23Fix wrapped valid-range handling in ty_find_init_errorJosh Triplett-1/+4
2022-10-22Introduce InhabitedPredicateCameron Steffen-41/+5
2022-10-22Change `unknown_lint` applicability to `MaybeIncorrect`Samuel Moelius-1/+1
2022-10-22Rollup merge of #102602 - WaffleLapkin:linty_action, r=estebankDylan DPC-38/+40
2022-10-22Introduce subst_iter and subst_iter_copied on EarlyBinderMichael Goulet-7/+5
2022-10-21Rollup merge of #103260 - cuviper:needs-asm-support, r=fee1-deadDylan DPC-0/+1
2022-10-21Rollup merge of #103051 - davidtwco:translation-tidying-up, r=compiler-errorsDylan DPC-23/+2
2022-10-21Fix unreachable_pub suggestion for enum with fieldsKitsu-2/+6
2022-10-20Elaborate supertrait bounds when triggering unused_must_use on impl TraitMichael Goulet-2/+6
2022-10-19Fixup a few tests needing asm supportJosh Stone-0/+1
2022-10-17lint: use derive moreDavid Wood-23/+2
2022-10-16Rollup merge of #102953 - WaffleLapkin:better_docs_for_decorate_param, r=Ralf...Matthias Krüger-0/+23
2022-10-14more dupe word typosRageking8-1/+1
2022-10-12link lint function with `decorate` function param to `struct_lint_level`Maybe Waffle-0/+23
2022-10-10errors: `AddToDiagnostic::add_to_diagnostic_with`David Wood-3/+12
2022-10-10Rollup merge of #102868 - compiler-errors:rename-assoc-tyalias-to-ty, r=TaKO8KiDylan DPC-1/+1
2022-10-10Rename AssocItemKind::TyAlias to AssocItemKind::TypeMichael Goulet-1/+1
2022-10-09adopt to building infcxMaybe Waffle-24/+21
2022-10-09adopt to new rustc lint apiMaybe Waffle-15/+13
2022-10-09fixup lint nameMaybe Waffle-8/+8
2022-10-09fix `for_loop_over_fallibles` lint docsMaybe Waffle-22/+10
2022-10-09remove an infinite loopMaybe Waffle-2/+2
2022-10-09Edit documentation for `for_loop_over_fallibles` lintMaybe Waffle-23/+21
2022-10-09`for_loop_over_fallibles`: don't use `MachineApplicable`Maybe Waffle-1/+1
2022-10-09`for_loop_over_fallibles`: fix suggestion for "remove `.next()`" caseMaybe Waffle-1/+1
2022-10-09`for_loop_over_fallibles`: remove duplication from the messageMaybe Waffle-3/+1
2022-10-09`for_loop_over_fallibles`: suggest using `?` in some casesMaybe Waffle-3/+65
2022-10-09`for_loop_over_fallibles`: suggest `while let` loopMaybe Waffle-0/+10
2022-10-09`for_loop_over_fallibles`: Suggest removing `.next()`Maybe Waffle-11/+38
2022-10-09Use structured suggestions for `for_loop_over_fallibles` lintMaybe Waffle-8/+14
2022-10-09Start uplifting `clippy::for_loops_over_fallibles`Maybe Waffle-0/+102
2022-10-07Auto merge of #102091 - RalfJung:const_err, r=oli-obkbors-0/+5
2022-10-07make const_err a hard errorRalf Jung-0/+5
2022-10-07Change InferCtxtBuilder from enter to buildCameron Steffen-89/+83
2022-10-06Rollup merge of #102725 - nnethercote:rm-Z-time, r=davidtwcoMatthias Krüger-8/+11
2022-10-06Remove `-Ztime` option.Nicholas Nethercote-8/+11
2022-10-05Use proper subdiagnosticMichael Goulet-15/+9
2022-10-05Fix opaque_hidden_inferred_bound lint ICEMichael Goulet-18/+37
2022-10-04Rollup merge of #102568 - compiler-errors:lint-unsatisfied-opaques, r=oli-obkDylan DPC-0/+159
2022-10-04We are able to resolve methods even if they need substMichael Goulet-6/+0
2022-10-04Normalize substs before resolving instance in NoopMethodCall lintMichael Goulet-5/+6
2022-10-02Slightly tweak comments wrt `lint_overflowing_range_endpoint`Maybe Waffle-38/+40
2022-10-02Add example to opaque_hidden_inferred_bound lintMichael Goulet-6/+37
2022-10-02Make it a lint for all opaque typesMichael Goulet-146/+128
2022-10-02Lint for unsatisfied nested opaquesMichael Goulet-0/+146
2022-10-01Add sanity Drop impl.Camille GILLOT-0/+8
2022-10-01Add FIXME.Camille GILLOT-0/+1
2022-10-01Replace retain with assertion.Camille GILLOT-2/+6