about summary refs log tree commit diff
path: root/compiler/rustc_lint
AgeCommit message (Expand)AuthorLines
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-28Initial fixes on top of type interner commitMichael Goulet-0/+1
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
2022-05-02rustc: Panic by default in `DefIdTree::parent`Vadim Petrochenkov-3/+3
2022-04-30Store all generic bounds as where predicates.Camille GILLOT-105/+61
2022-04-30Inline WhereClause into Generics.Camille GILLOT-8/+6
2022-04-30Box HIR Generics and Impl.Camille GILLOT-2/+2
2022-04-29errors: `span_suggestion` takes `impl ToString`David Wood-7/+7
2022-04-23Fix lints.Camille GILLOT-41/+28
2022-04-23Drop vis in Item.Camille GILLOT-7/+12
2022-04-23Drop vis in ImplItem.Camille GILLOT-1/+1
2022-04-23Drop vis from ForeignItem.Camille GILLOT-1/+1
2022-04-23Drop vis in FieldDef.Camille GILLOT-39/+36
2022-04-23Stop visiting visibility.Camille GILLOT-1/+1
2022-04-20Remove mutable_borrow_reservation_conflict lintJack Huey-0/+5