about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/unused.rs
AgeCommit message (Expand)AuthorLines
2021-12-19Auto merge of #91957 - nnethercote:rm-SymbolStr, r=oli-obkbors-1/+1
2021-12-19Rollup merge of #91956 - notriddle:notriddle/unused-parens-range, r=nagisaMatthias Krüger-1/+4
2021-12-17fix(rustc_lint): mark the parens around `(1..loop {})` as unusedMichael Howell-1/+1
2021-12-15fix(rustc_lint): better detect when parens are necessaryMichael Howell-1/+4
2021-12-15Remove unnecessary sigils around `Symbol::as_str()` calls.Nicholas Nethercote-1/+1
2021-12-11Show the unused type for `unused_results` lintNoah Lev-1/+3
2021-10-17Some "parenthesis" and "parentheses" fixesr00ster91-1/+1
2021-09-09Use more accurate spans for "unused delimiter" lintEsteban Kuber-68/+52
2021-08-31fix(rustc_lint): better detect when parens are necessaryMichael Howell-7/+10
2021-08-30Handle let-else initializer edge case errorsCameron Steffen-15/+28
2021-08-30Add let-else to ASTCameron Steffen-1/+1
2021-08-21Remove `Session.used_attrs` and move logic to `CheckAttrVisitor`Aaron Hill-62/+1
2021-08-15Introduce hir::ExprKind::Let - Take 2Caio-5/+7
2021-08-13move Constness into TraitPredicateDeadbeef-1/+1
2021-07-31Apply review suggestionYuki Okushi-10/+7
2021-07-31Add a hint that the expressions produce a valueYuki Okushi-1/+12
2021-06-18Lint for unused borrows as part of UNUSED_MUST_USEhi-rustin-0/+1
2021-06-10Add support for using qualified paths with structs in expression and patternRyan Levick-2/+2
2021-03-09Visit attributes in one go.Camille GILLOT-0/+2
2021-03-09Rollup merge of #82048 - mark-i-m:or-pat-type-ascription, r=petrochenkovMara Bos-1/+1
2021-03-07Account for `if (let pat = expr) {}`Esteban Küber-3/+28
2021-03-05use pat<no_top_alt> for patterns in let bindingsmark-1/+1
2021-01-30Fix an old FIXME in redundant paren lintÖmer Sinan Ağacan-2/+0
2021-01-16Review changesJack Huey-2/+2
2021-01-14Use Option::map_or instead of `.map(..).unwrap_or(..)`LingMan-2/+2
2021-01-02reduce borrowing and (de)referencing around match patterns (clippy::match_ref...Matthias Krüger-4/+4
2020-12-11Move binder for dyn to each list itemJack Huey-2/+4
2020-11-21More consistently use spaces after commas in lists in docsCarol (Nichols || Goulding)-1/+1
2020-10-30Fix some more clippy warningsJoshua Nelson-5/+2
2020-10-28Dogfood {exclusive,half-open} ranges in compiler (nfc)Jubilee Young-3/+3
2020-10-20Rollup merge of #77931 - aticu:fix_60336, r=petrochenkovYuki Okushi-2/+9
2020-10-16Do not check unused braces on inline constsSantiago Pastorino-18/+53
2020-10-14Fixed false positive for `unused_parens` lintaticu-2/+9
2020-10-06Separate bounds and predicates for associated/opaque typesMatthew Jasper-1/+1
2020-09-13Auto-generate lint documentation.Eric Huss-0/+146
2020-09-04Change ty.kind to a methodLeSeulArtichaut-1/+1
2020-08-30mv compiler to compiler/mark-0/+1011