summary refs log tree commit diff
path: root/tests/ui/lint/dead-code
AgeCommit message (Expand)AuthorLines
2024-08-04Revert "Rollup merge of #125572 - mu001999-contrib:dead/enhance, r=pnkfelix"Michael Goulet-119/+10
2024-08-04Revert "Rollup merge of #126315 - mu001999-contrib:fix/126289, r=petrochenkov"Michael Goulet-33/+0
2024-06-20Add pub struct with allow(dead_code) into worklistr0cky-0/+33
2024-06-05Detect pub structs never constructed and unused associated constants in traitsr0cky-10/+119
2024-05-23Detect unused structs which implement private traitsr0cky-0/+48
2024-03-12Replace visibility test with reachability test in dead code detectionArthur Carcano-0/+27
2024-03-10Detect unused struct impls pub traitr0cky-4/+31
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-26/+26
2024-02-07Update testsr0cky-11/+5
2024-02-07Make traits / trait methods detected by the dead code lint!r0cky-0/+65
2024-02-01`#![feature(inline_const_pat)]` is no longer incompleteMatthew Jasper-1/+0
2024-01-19Stabilize simple offset_ofGeorge Bateman-2/+2
2024-01-18`dead_code` treats `#[repr(transparent)]` the same as `#[repr(C)]`Jake Goulding-0/+14
2024-01-02Adjust compiler tests for unused_tuple_struct_fields -> dead_codeJake Goulding-11/+25
2023-12-25Pass DeadItem and lint as consistent group in dead-code.Camille GILLOT-0/+4
2023-11-24Show number in error message even for one errorNilstrieb-9/+9
2023-08-10Respect `#[expect]` the same way `#[allow]` is with the `dead_code` lintUrgau-0/+70
2023-04-21major test improvementsDrMeepster-1/+1
2023-04-21blessDrMeepster-6/+6
2023-04-21fmtDrMeepster-6/+8
2023-04-21fix incorrect param env in dead code lintDrMeepster-0/+134
2023-04-15Unignore closure-bang.Eric Huss-3/+18
2023-04-13impl reviewer feedbackEzra Shaw-6/+22
2023-04-13dead-code-lint: de-dup multiple unused assoc fnsEzra Shaw-55/+40
2023-04-13refactor: emit "unused assoc fn" in lexical orderEzra Shaw-26/+80
2023-04-12Add regression test for #59003Yuki Okushi-0/+18
2023-02-23Auto merge of #108324 - notriddle:notriddle/assoc-fn-method, r=compiler-error...bors-14/+14
2023-02-22diagnostics: update test cases to refer to assoc fn with `self` as methodMichael Howell-14/+14
2023-02-22Lint dead code in closuresclubby789-0/+36
2023-01-11Move /src/test to /testsAlbert Larsan-0/+1735