about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
2024-02-06Add CoroutineClosure to TyKind, AggregateKind, UpvarArgsMichael Goulet-1/+2
2024-02-06Invert diagnostic lints.Nicholas Nethercote-5/+4
2024-02-05get rid of nontrivial_structural_match lint and custom_eq const qualifRalf Jung-0/+5
2024-02-05Rollup merge of #116284 - RalfJung:no-nan-match, r=cjgillotMatthias Krüger-0/+4
2024-02-05Rollup merge of #119600 - aDotInTheVoid:comment-fix, r=compiler-errorsMatthias Krüger-1/+1
2024-01-31Auto merge of #120346 - petrochenkov:ownodes, r=oli-obkbors-1/+1
2024-01-30hir: Remove `hir::Map::{owner,expect_owner}`Vadim Petrochenkov-1/+1
2024-01-30add missing potential_query_instability for keys and values in hashmapyukang-6/+9
2024-01-30limit the names_possiblilities to less than 3Yukang-1/+1
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-10/+10
2024-01-28Suggest name value cfg when only value is used for check-cfgyukang-10/+40
2024-01-26remove illegal_floating_point_literal_pattern lintRalf Jung-0/+4
2024-01-26Rollup merge of #120360 - compiler-errors:afit-sized-lol, r=lcnrMatthias Krüger-1/+12
2024-01-25Remove unused featuresclubby789-3/+0
2024-01-25Don't fire OPAQUE_HIDDEN_INFERRED_BOUND on sized return of AFITMichael Goulet-1/+12
2024-01-23address requested changesHTGAzureX1212.-6/+8
2024-01-23add list of characters to uncommon codepoints lintHTGAzureX1212.-2/+13
2024-01-23Auto merge of #120017 - nnethercote:lint-api, r=oli-obkbors-165/+155
2024-01-22Rollup merge of #120233 - oli-obk:revert_trait_obj_upcast_stabilization, r=lcnrMatthias Krüger-3/+12
2024-01-23Rename `struct_lint_level` as `lint_level`.Nicholas Nethercote-10/+10
2024-01-23Rename `TyCtxt::emit_spanned_lint` as `TyCtxt::emit_node_span_lint`.Nicholas Nethercote-3/+3
2024-01-23Rename `TyCtxt::struct_span_lint_hir` as `TyCtxt::node_span_lint`.Nicholas Nethercote-1/+1
2024-01-23Rename `TyCtxt::struct_lint_node` as `TyCtxt::node_lint`.Nicholas Nethercote-1/+1
2024-01-23Rename `LintLevelsBuilder::emit_spanned_lint` as `LintLevelsBuilder::emit_spa...Nicholas Nethercote-7/+7
2024-01-23Rename `LintLevelsBuilder::struct_lint` as `LintLevelsBuilder::opt_span_lint`.Nicholas Nethercote-2/+2
2024-01-23Rename `LintContext::emit_spanned_lint` as `LintContext::emit_span_lint`.Nicholas Nethercote-128/+112
2024-01-23Rename `LintContext::lookup_with_diagnostics` as `LintContext::span_lint_with...Nicholas Nethercote-3/+9
2024-01-23Rename `LintContext::lookup` as `LintContext::opt_span_lint`.Nicholas Nethercote-8/+8
2024-01-23Rename `LintContext::struct_span_lint` as `LintContext::span_lint`.Nicholas Nethercote-2/+2
2024-01-22Rollup merge of #118639 - fmease:deny-features-in-stable-rustc-crates, r=Waff...Matthias Krüger-7/+27
2024-01-22Revert "Auto merge of #118133 - Urgau:stabilize_trait_upcasting, r=WaffleLapkin"Oli Scherer-3/+12
2024-01-22Auto merge of #120080 - cuviper:128-align-packed, r=nikicbors-5/+5
2024-01-22Rollup merge of #119710 - Nilstrieb:let-_-=-oops, r=TaKO8KiMatthias Krüger-37/+65
2024-01-19Pack the u128 in LitKind::IntJosh Stone-5/+5
2024-01-18Rollup merge of #119967 - ShE3py:patkind-err, r=WaffleLapkinMatthias Krüger-1/+1
2024-01-17Auto merge of #119930 - Urgau:check-cfg-empty-values-means-empty, r=petrochenkovbors-0/+11
2024-01-17Add `PatKind::Err`Lieselotte-1/+1
2024-01-13Add check for ui_testing via promoting parameters from `ParseSess` to `Session`George-lewis-9/+6
2024-01-13Add way to express no-values with check-cfgUrgau-0/+11
2024-01-13Auto merge of #118924 - Urgau:check-cfg-exclude-well-known-from-diag, r=petro...bors-2/+10
2024-01-12Improve `let_underscore_lock`Nilstrieb-37/+65
2024-01-12Auto merge of #117321 - chenyukang:yukang-fix-117142, r=petrochenkovbors-12/+22
2024-01-12Exclude well known names from showing a suggestion in check-cfgUrgau-2/+10
2024-01-12Rollup merge of #119819 - chenyukang:yukang-fix-118183-lint, r=davidtwcoGuillaume Gomez-12/+24
2024-01-12check rust lints when an unknown lint is detectedyukang-12/+24
2024-01-10Simplify some redundant namesMichael Goulet-2/+1
2024-01-09Rollup merge of #118649 - compiler-errors:coherence-ambig, r=lcnrMatthias Krüger-0/+5
2024-01-09Rollup merge of #119704 - chenyukang:yukang-fix-let_underscore, r=NilstriebMatthias Krüger-1/+8
2024-01-08Make inductive cycles in coherence ambiguous alwaysMichael Goulet-0/+5
2024-01-08Fix 2 variable binding issues in let_underscoreyukang-1/+8