about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/unused.rs
AgeCommit message (Expand)AuthorLines
2023-03-15error-msg: expand suggestion for unused lintEzra Shaw-19/+12
2023-03-12Remove uses of `box_syntax` in rustc and toolsclubby789-1/+0
2023-03-11Rollup merge of #104363 - WaffleLapkin:bonk_box_new, r=NilstriebMatthias Krüger-2/+6
2023-03-03Make `unused_allocation` lint warn against `Box::new`Maybe Waffle-2/+6
2023-03-02rustc_middle: Remove trait `DefIdTree`Vadim Petrochenkov-1/+1
2023-02-14s/eval_usize/eval_target_usize/ for clarityOli Scherer-1/+1
2023-02-06Auto merge of #103761 - chenyukang:yukang/fix-103320-must-use, r=compiler-errorsbors-2/+16
2023-02-05Auto merge of #107663 - matthiaskrgr:107423-point-at-EOF-code, r=compiler-errorsbors-0/+4
2023-02-04don't point at nonexisting code beyond EOF when warning about unused delimsMatthias Krüger-0/+4
2023-02-04Fix #103320, add explanatory message for [#must_use]yukang-2/+16
2023-02-02Emit warnings on unused parens/braces in index expressionsAidan Olsen-0/+4
2023-01-17Rollup merge of #106148 - chenyukang:yukang/fix-105061-unused, r=lcnrDylan DPC-23/+55
2023-01-16comments feedbackyukang-24/+28
2023-01-15Fix regression in `unused_braces` with macrosclubby789-4/+8
2023-01-14Fix `unused_braces` on generic const expr macro callclubby789-0/+1
2023-01-14fix issues in unused lintyukang-11/+40
2023-01-14fix #105061, Fix unused_parens issue for higher ranked function pointersyukang-1/+0
2023-01-09refactor: cleanupRejyr-2/+0
2023-01-09migrate: `unused.rs`Rejyr-102/+69
2023-01-04Address commentsMichael Goulet-1/+1
2023-01-04Simplify some iterator combinatorsMichael Goulet-16/+11
2022-12-27Rollup merge of #105515 - estebank:issue-104141, r=oli-obkMatthias Krüger-0/+1
2022-12-18don't restuct references just to reborrowMatthias Krüger-1/+1
2022-12-14Ensure no one constructs `AliasTy`s themselvesOli Scherer-2/+2
2022-12-13Combine projection and opaque into aliasMichael Goulet-2/+2
2022-12-13squash OpaqueTy and ProjectionTy into AliasTyMichael Goulet-2/+2
2022-12-13Use ty::OpaqueTy everywhereMichael Goulet-2/+2
2022-12-10Auto merge of #105416 - nnethercote:more-linting-tweaks, r=cjgillotbors-0/+2
2022-12-10Rollup merge of #105505 - WaffleLapkin:yeet_unused_parens_lint, r=fee1-deadMatthias Krüger-1/+4
2022-12-09Account for macros in const genericsEsteban Küber-0/+1
2022-12-09Don't warn about unused parens when they are used by yeet exprMaybe Waffle-1/+4
2022-12-07Inline some hot lint pass functions.Nicholas Nethercote-0/+2
2022-12-06Rollup merge of #105004 - TaKO8Ki:fix-104897, r=wesleywiserMatthias Krüger-5/+26
2022-12-02return when expr has errorTakayuki Maeda-5/+26
2022-12-01rustc_ast_lowering: Stop lowering imports into multiple itemsVadim Petrochenkov-1/+1
2022-11-28Simplify checking for `GeneratorKind::Async`Arpad Borsos-4/+1
2022-11-25Introduce PredicateKind::ClauseSantiago Pastorino-2/+3
2022-11-24Rollup merge of #104796 - notriddle:notriddle/unused-issue-104397, r=oli-obkMatthias Krüger-0/+1
2022-11-24Avoid `GenFuture` shim when compiling async constructsArpad Borsos-1/+14
2022-11-23lint: do not warn unused parens around higher-ranked function pointersMichael Howell-0/+1
2022-11-22Rollup merge of #104359 - Nilstrieb:plus-one, r=fee1-deadManish Goregaokar-113/+203
2022-11-20Change to Ty::is_inhabited_fromCameron Steffen-2/+2
2022-11-19Refactor `must_use` lint into two partsNilstrieb-113/+203
2022-11-19Rollup merge of #104566 - matthiaskrgr:clippy_perf_nov18, r=oli-obkDylan DPC-2/+2
2022-11-18Auto merge of #101562 - nnethercote:shrink-ast-Expr-harder, r=petrochenkovbors-1/+1
2022-11-18couple of clippy::perf fixesMatthias Krüger-2/+2
2022-11-17Rollup merge of #104433 - TaKO8Ki:fix-104392, r=estebankMatthias Krüger-9/+7
2022-11-17Box `ExprKind::{Closure,MethodCall}`, and `QSelf` in expressions, types, and ...Nicholas Nethercote-1/+1
2022-11-15return when expr has errorsTakayuki Maeda-0/+5
2022-11-15simplify `emit_unused_delims_expr`Takayuki Maeda-10/+3