about summary refs log tree commit diff
path: root/src/test/ui/lint/unused
AgeCommit message (Expand)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-4965/+0
2022-12-28Rollup merge of #104024 - noeddl:unused-must-use, r=compiler-errorsfee1-dead-1/+1
2022-12-09Don't warn about unused parens when they are used by yeet exprMaybe Waffle-20/+34
2022-12-02Rollup merge of #104614 - Nilstrieb:type-ascribe!, r=TaKO8KiMatthias Krüger-12/+3
2022-11-23lint: do not warn unused parens around higher-ranked function pointersMichael Howell-0/+18
2022-11-19Use `type_ascribe!` in many UI testsNilstrieb-12/+3
2022-11-19Refactor `must_use` lint into two partsNilstrieb-33/+56
2022-11-10Fix tests after rebaseEsteban Küber-2/+2
2022-11-10review commentsEsteban Küber-4/+4
2022-11-10Consider `#[must_use]` annotation on `async fn` as also affecting the `Future...Esteban Küber-30/+78
2022-11-10Tweak span for `#[must_use]`Esteban Küber-33/+33
2022-11-05Fix unused_must_use warning for Box::from_rawAnett Seeker-1/+1
2022-10-20Elaborate supertrait bounds when triggering unused_must_use on impl TraitMichael Goulet-0/+26
2022-10-01bless ui testsMaybe Waffle-18/+18
2022-08-23Use par_body_owners for livenessSeo Sanghyeon-20/+20
2022-08-11Add visitors for PatField and ExprField.Eric Huss-1/+1
2022-08-11Check attributes on struct expression fields.Eric Huss-2/+8
2022-08-11Check attributes on pattern fields.Eric Huss-1/+13
2022-08-04Rollup merge of #100093 - wcampbell0x2a:unused-parens-for-match-arms, r=petro...Matthias Krüger-0/+41
2022-08-04Enable unused_parens for match armswcampbell-0/+41
2022-08-02Add items to `DocAliasBadLocation` check error match armhdelc-2/+2
2022-07-15add `#[must_use]` to `Box::from_raw`rhysd-0/+26
2022-06-30fix grammar in useless doc comment lintAndy Russell-1/+1
2022-06-21Remove `#[doc(hidden)]` logic from `unused_attributes` lintLeón Orell Valerian Liehr-177/+0
2022-06-16diagnostics: fix trailing spaceklensy-32/+32
2022-06-09Test that the unused_macros lint works correctly if rules are malformedest31-0/+41
2022-06-09Suppress the unused_macro_rules lint if malformed rules are encounteredest31-0/+19
2022-06-09Never regard macro rules with compile_error! invocations as unusedest31-0/+53
2022-05-20Do not warn on inherent doc(hidden) assoc itemsLeón Orell Valerian Liehr-9/+35
2022-05-12Auto merge of #96150 - est31:unused_macro_rules, r=petrochenkovbors-43/+195
2022-05-08Warn on unused doc(hidden) on trait impl itemsLeón Orell Valerian Liehr-0/+151
2022-05-05Add testsest31-43/+195
2022-04-10Fix crate_type attribute to not warn on duplicatesEric Huss-60/+44
2022-03-20Filter OnceNote in diagnostic infra.Camille GILLOT-10/+0
2022-03-02Update unused_doc_comments ui testGuillaume Gomez-1/+41
2022-03-01Rollup merge of #93926 - PatchMixolydic:bugfix/must_use-on-exprs, r=cjgillotDylan DPC-0/+300
2022-02-27Lint against more useless `#[must_use]` attributesRuby Lazuli-0/+300
2022-02-25Fix debug_assert in unused lint passflip1995-6/+6
2021-12-19Rollup merge of #91956 - notriddle:notriddle/unused-parens-range, r=nagisaMatthias Krüger-0/+48
2021-12-17fix(rustc_lint): mark the parens around `(1..loop {})` as unusedMichael Howell-0/+40
2021-12-15fix(rustc_lint): better detect when parens are necessaryMichael Howell-0/+8
2021-12-11Show the unused type for `unused_results` lintNoah Lev-2/+2
2021-11-30Emit a warning on generic parameters with doc commentsJoshua Nelson-1/+12
2021-11-18Check for duplicate attributes.Eric Huss-0/+414
2021-11-17Rollup merge of #89610 - guswynn:must_use_future, r=wesleywiserMatthias Krüger-0/+69
2021-11-16Update compiler/rustc_passes/src/check_attr.rsWesley Wiser-2/+2
2021-11-11Shorten Span of unused macro lintsMarcel Hellwig-48/+28
2021-11-08warn on must_use use on async fn'sGus Wynn-0/+69
2021-10-15Bless testsCameron Steffen-1/+1
2021-09-26Remove box syntax from most places in src/test outside of the issues direst31-2/+2