about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
AgeCommit message (Expand)AuthorLines
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
2022-05-24Emit weird lint name lints after expansionest31-17/+17
2022-05-21Remove feature: `crate` visibility modifierJacob Pratt-7/+1
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-6/+8
2022-05-20Lint single-use-lifetimes on the AST.Camille GILLOT-1/+47
2022-05-20Introduce LifetimeCtxt.Camille GILLOT-1/+1
2022-05-17Auto merge of #97012 - oli-obk:🦀_intrinsics, r=davidtwcobors-3/+1
2022-05-16Report unsafe for overriding link sections5225225-0/+29
2022-05-16Add a query for checking whether a function is an intrinsic.Oli Scherer-3/+1
2022-05-12Auto merge of #95562 - lcnr:attr-no-encode, r=davidtwcobors-26/+21
2022-05-12Auto merge of #96150 - est31:unused_macro_rules, r=petrochenkovbors-0/+1
2022-05-11ast: Introduce some traits to get AST node properties genericallyVadim Petrochenkov-2/+1
2022-05-11Rollup merge of #96882 - jackh726:no-subst, r=oli-obkYuki Okushi-7/+3
2022-05-10only_local: always check for misuselcnr-26/+21
2022-05-10Rollup merge of #96812 - cjgillot:no-lint-outllives-macro, r=petrochenkovDylan DPC-1/+2
2022-05-09Don't subst an adt defJack Huey-7/+3
2022-05-09Auto merge of #95542 - xFrednet:rfc-2383-expect-query, r=wesleywiserbors-12/+29
2022-05-08Auto merge of #96770 - flip1995:fix-trait-type-in-bounds, r=cjgillotbors-2/+2
2022-05-08Move lint expectation checking into a separate query (RFC 2383)xFrednet-12/+29
2022-05-07Track if a where bound comes from a impl Trait desugarflip1995-2/+2
2022-05-07Do not lint on explicit outlives requirements from external macros.Camille GILLOT-1/+2
2022-05-06Auto merge of #96268 - jackh726:remove-mutable_borrow_reservation_conflict-li...bors-0/+5
2022-05-04Stabilize `bool::then_some`Josh Triplett-1/+0
2022-05-04Add unused_macro_rules lint definitionest31-0/+1
2022-05-03Auto merge of #96558 - bjorn3:librarify_parse_format, r=davidtwcobors-1/+4
2022-05-03Make rustc_parse_format compile on stablebjorn3-1/+4