about summary refs log tree commit diff
path: root/compiler/rustc_lint/src/unused.rs
AgeCommit message (Expand)AuthorLines
2023-12-19Plumb awaitness of for loopsEric Holk-3/+3
2023-12-08Auto merge of #118527 - Nadrieril:never_patterns_parse, r=compiler-errorsbors-9/+11
2023-12-03Parse a pattern with no armNadrieril-9/+11
2023-11-30Enforce must_use on associated types and RPITITsMichael Goulet-1/+1
2023-11-29Rollup merge of #118157 - Nadrieril:never_pat-feature-gate, r=compiler-errorsMatthias Krüger-1/+1
2023-11-29Add `never_patterns` feature gateNadrieril-1/+1
2023-11-28Rename `BinOpKind::lazy` as `BinOpKind::is_lazy`.Nicholas Nethercote-2/+2
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-8/+8
2023-11-18catch pinned `must_use` types in `unused_must_use`Max Niederman-0/+18
2023-10-30Fix missing leading space in suggestionGurinder Singh-1/+1
2023-10-20s/generator/coroutine/Oli Scherer-2/+2
2023-10-20s/Generator/Coroutine/Oli Scherer-7/+7
2023-10-15Auto merge of #116688 - compiler-errors:rustfmt-up, r=WaffleLapkin,Nilstriebbors-36/+44
2023-10-13Remove some unnecessary `unwrap`sEsteban Küber-1/+1
2023-10-13Format all the let chains in compilerMichael Goulet-36/+44
2023-09-11Move let expression checking to parsingMatthew Jasper-7/+5
2023-08-31Use terminology more sensiblyMichael Howell-1/+1
2023-08-31diagnostics: avoid wrong `unused_parens` on `x as (T) < y`Michael Howell-1/+28
2023-08-14match scrutinee need necessary parentheses for structsyukang-0/+18
2023-08-04Improve spans for indexing expressionsNilstrieb-2/+2
2023-07-25inline format!() args from rustc_codegen_llvm to the end (4)Matthias Krüger-5/+5
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-16/+19
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-1/+3
2023-06-22Migrate item_bounds to ty::ClauseMichael Goulet-3/+2
2023-06-19s/Clause/ClauseKindMichael Goulet-1/+1
2023-06-15Extend `unused_must_use` to cover block exprs许杰友 Jieyou Xu (Joe)-13/+81
2023-06-05Ensure space is inserted after keyword in `unused_delims`clubby789-17/+42
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-2/+2
2023-05-12Dont check `must_use` on nested `impl Future` from fnMichael Goulet-1/+3
2023-04-20add subst_identity_iter and subst_identity_iter_copied methods on EarlyBinder...Kyle Matsuda-23/+17
2023-04-20add EarlyBinder to output of explicit_item_bounds; replace bound_explicit_ite...Kyle Matsuda-1/+1
2023-04-20change usages of explicit_item_bounds to bound_explicit_item_boundsKyle Matsuda-17/+23
2023-04-17Rollup merge of #110257 - lukas-code:why-would-anyone-write-code-like-that-an...Matthias Krüger-18/+32
2023-04-16fix clippy::toplevel_ref_arg and ::manual_mapMatthias Krüger-23/+16
2023-04-13emit `unused_parens` for `break` if it is not immediately followed by a blockLukas Markeffsky-4/+6
2023-04-13fix false positives for `unused_parens` around unary and binary operationsLukas Markeffsky-18/+30
2023-04-11Allow the elaborator to only filter to real supertraitsMichael Goulet-0/+2
2023-04-06Make elaborator genericMichael Goulet-19/+16
2023-04-04Rename `ast::Static` to `ast::StaticItem` to match `ast::ConstItem`Oli Scherer-1/+1
2023-04-04box a bunch of large typesOli Scherer-2/+2
2023-04-04Split out ast::ItemKind::Const into its own structOli Scherer-1/+3
2023-04-04rust-analyzer guided tuple field to named fieldOli Scherer-1/+1
2023-04-04rust-analyzer guided enum variant structificationOli Scherer-1/+1
2023-03-26Don't elaborate non-obligations into obligationsMichael Goulet-2/+2
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