about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
2022-06-30lint: port enum intrinsics diagnosticsDavid Wood-23/+7
2022-06-30lint: port array-into-iter diagnosticsDavid Wood-11/+10
2022-06-30middle: translation in `LintDiagnosticBuilder`David Wood-2/+2
2022-06-28Rollup merge of #98420 - davidtwco:translation-lint-fixes-and-more-migration,...Dylan DPC-3/+6
2022-06-27lint: fix condition in diagnostic lintsDavid Wood-3/+6
2022-06-27Rollup merge of #97389 - m-ou-se:memory-ordering-diagnostics, r=estebankMatthias Krüger-82/+66
2022-06-22Slightly tweak invalid atomic ordering lint messages.Mara Bos-8/+8
2022-06-19Use `ensure` for `UnusedBrokenConst`.Camille GILLOT-4/+2
2022-06-19Make some lints incremental.Camille GILLOT-14/+13
2022-06-18Auto merge of #98153 - nnethercote:fix-MissingDoc-quadratic-behaviour, r=cjgi...bors-27/+9
2022-06-17Re-allow `let_underscore_drop` by default.Aaron Kofsky-1/+1
2022-06-16Rollup merge of #97757 - xFrednet:rfc-2383-expect-with-force-warn, r=wesleywi...Matthias Krüger-16/+26
2022-06-16Support lint expectations for `--force-warn` lints (RFC 2383)xFrednet-16/+26
2022-06-16Inline and remove `{enter,exit}_attrs` functions.Nicholas Nethercote-22/+6
2022-06-16Remove unused `hir_id` arg from `visit_attribute`.Nicholas Nethercote-2/+2
2022-06-16Fix quadratic behaviour in the `MissingDoc` lint.Nicholas Nethercote-4/+2
2022-06-14Rollup merge of #97948 - davidtwco:diagnostic-translation-lints, r=oli-obkDylan DPC-31/+109
2022-06-14Rename the `ConstS::val` field as `kind`.Nicholas Nethercote-1/+1
2022-06-13Rollup merge of #98043 - TaKO8Ki:remove-unnecessary-to-string, r=davidtwcoMatthias Krüger-22/+20
2022-06-13Rollup merge of #97875 - JohnTitor:rm-infer-static-outlives-requirements, r=p...Matthias Krüger-11/+2
2022-06-13remove unnecessary `to_string` and `String::new`Takayuki Maeda-22/+20
2022-06-11Address commentsMichael Goulet-3/+1
2022-06-11Handle empty where-clause betterMichael Goulet-1/+2
2022-06-11Make `let_underscore_drop` Deny by default.Aaron Kofsky-1/+1
2022-06-11Have the drop code suggestion not include `let _ =`Aaron Kofsky-1/+1
2022-06-11Reword suggestion messages.Aaron Kofsky-2/+2
2022-06-10lint: add diagnostic translation migration lintsDavid Wood-31/+109
2022-06-09Use `multipart_suggestion` to create an applicable suggestion.Aaron Kofsky-4/+6
2022-06-08Remove the `infer_static_outlives_requirements` featureYuki Okushi-11/+2
2022-06-08Folding revamp.Nicholas Nethercote-1/+1
2022-06-07Auto merge of #95565 - jackh726:remove-borrowck-mode, r=nikomatsakisbors-1/+0
2022-06-06Auto merge of #97086 - 5225225:link-section-is-unsafe, r=davidtwcobors-0/+29
2022-06-05Add `{{produces}}` tag to lint doc comments.Aaron Kofsky-1/+8
2022-06-05Remove `let_underscore_must_use`Aaron Kofsky-109/+3
2022-06-04Use diagnostic items instead of hard coded paths for `let_underscore_lock`Aaron Kofsky-20/+11
2022-06-04Bail out early if the type does not has a trivial Drop implementation.Aaron Kofsky-2/+6
2022-06-04Use `has_attr` instead of `get_attrs` in `has_must_use_attr`Aaron Kofsky-4/+1
2022-06-04Move local functions to outer scope.Aaron Kofsky-69/+65
2022-06-04Set `let_underscore_lock` to Deny by default.Aaron Kofsky-2/+2
2022-06-04Show code suggestions in `let_undescore` lint messages.Aaron Kofsky-13/+47
2022-06-04Allow `let_underscore_drop` and `let_underscore_must_use` by default.Aaron Kofsky-2/+2
2022-06-04 Add `let_underscore_must_use` lint.Aaron Kofsky-3/+110
2022-06-04Add `let_underscore_lock` lint.Aaron Kofsky-3/+71
2022-06-03Fully stabilize NLLJack Huey-1/+0
2022-05-29Add `let_underscore_drop` lint.Aaron Kofsky-0/+71
2022-05-28Fix TyKind lint, make consts no longer fn, etcMichael Goulet-68/+123
2022-05-28Move things to rustc_type_irWilco Kusee-2/+2
2022-05-25Tweak memory ordering diagnostic.Mara Bos-1/+6
2022-05-25Improve invalid memory ordering diagnostics.Mara Bos-82/+61
2022-05-25Rollup merge of #97266 - est31:unknown_lints_cfg_attr, r=lcnrYuki Okushi-17/+17