about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
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
2022-10-01Add fast path without visiting.Camille GILLOT-12/+30
2022-10-01Simplify LintLevelsProvider.Camille GILLOT-18/+16
2022-10-01Compute by owner instead of HirId.Camille GILLOT-16/+110
2022-10-01Add FIXME.Camille GILLOT-0/+2
2022-10-01Comment LintLevelSets.Camille GILLOT-1/+12
2022-10-01Move lint level computation to rustc_middle::lint.Camille GILLOT-26/+32
2022-10-01Reduce visibilities and remove dead code.Camille GILLOT-17/+15
2022-10-01Move code to rustc_lint.Camille GILLOT-2/+69
2022-10-01Remove unused tool_name.Camille GILLOT-4/+0
2022-10-01Compute `lint_levels` by definitionDeadbeef-280/+315
2022-10-01Auto merge of #101986 - WaffleLapkin:move_lint_note_to_the_bottom, r=estebankbors-955/+1105
2022-10-01`ui-fulldeps`: adopt to the new rustc lint APIMaybe Waffle-1/+1
2022-10-01Refactor rustc lint APIMaybe Waffle-955/+1105
2022-09-29Auto merge of #101887 - nnethercote:shrink-Res, r=spastorinobors-2/+2
2022-09-29Use let-chaining in `WhileTrue::check_expr`.Nicholas Nethercote-24/+22
2022-09-29Shrink `hir::def::Res`.Nicholas Nethercote-2/+2
2022-09-27Rollup merge of #102281 - RalfJung:invalid-enums, r=cjgillotMatthias Krüger-51/+117
2022-09-27also query type_uninhabited_fromRalf Jung-3/+11
2022-09-26remove cfg(bootstrap)Pietro Albini-1/+1
2022-09-26make invalid_value lint a bit smarter around enumsRalf Jung-51/+109
2022-09-24separate definitions and `HIR` ownersTakayuki Maeda-15/+15
2022-09-22Revert "Auto merge of #101620 - cjgillot:compute_lint_levels_by_def, r=oli-obk"Camille GILLOT-402/+286
2022-09-21FIX - adopt new Diagnostic naming in newly migrated modulesJhonny Bill Mena-2/+2
2022-09-21UPDATE - rename SessionSubdiagnostic macro to SubdiagnosticJhonny Bill Mena-3/+3
2022-09-21UPDATE - rename DiagnosticHandler macro to DiagnosticJhonny Bill Mena-11/+11