rust/tests/ui/lint/dead-code
2024-02-07 10:42:01 +08:00
..
alias-in-pat.rs
allow-or-expect-dead_code-114557-2.rs
allow-or-expect-dead_code-114557-2.stderr
allow-or-expect-dead_code-114557-3.rs
allow-or-expect-dead_code-114557-3.stderr
allow-or-expect-dead_code-114557.rs Respect #[expect] the same way #[allow] is with the dead_code lint 2023-08-10 22:57:48 +02:00
anon-const-in-pat.rs #![feature(inline_const_pat)] is no longer incomplete 2024-02-01 10:27:54 +00:00
associated-type.rs Update tests 2024-02-07 10:42:01 +08:00
basic.rs
basic.stderr
closure-bang.rs
closure-bang.stderr
const-and-self.rs
const-and-self.stderr
empty-unused-enum.rs
empty-unused-enum.stderr
empty-unused-public-enum.rs
enum-variants.rs
impl-trait.rs
impl-trait.stderr
in-closure.rs
in-closure.stderr
issue-41883.rs Make traits / trait methods detected by the dead code lint! 2024-02-07 10:22:16 +08:00
issue-41883.stderr Make traits / trait methods detected by the dead code lint! 2024-02-07 10:22:16 +08:00
issue-59003.rs
issue-68408-false-positive.rs
issue-85071-2.rs
issue-85071-2.stderr
issue-85071.rs
issue-85071.stderr
issue-85255.rs
issue-85255.stderr
leading-underscore.rs
lint-dead-code-1.rs Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
lint-dead-code-1.stderr
lint-dead-code-2.rs
lint-dead-code-2.stderr
lint-dead-code-3.rs
lint-dead-code-3.stderr
lint-dead-code-4.rs
lint-dead-code-4.stderr
lint-dead-code-5.rs Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
lint-dead-code-5.stderr Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
lint-dead-code-6.rs
lint-dead-code-6.stderr
multiple-dead-codes-in-the-same-struct.rs Update tests 2024-02-07 10:42:01 +08:00
multiple-dead-codes-in-the-same-struct.stderr Update tests 2024-02-07 10:42:01 +08:00
newline-span.rs
newline-span.stderr
offset-of-correct-param-env.rs Stabilize simple offset_of 2024-01-19 20:38:51 +00:00
offset-of.rs Stabilize simple offset_of 2024-01-19 20:38:51 +00:00
offset-of.stderr
self-assign.rs
self-assign.stderr
trait-impl.rs
tuple-struct-field.rs Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
tuple-struct-field.stderr Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
type-alias.rs
type-alias.stderr
type-in-foreign.rs
type-in-transparent.rs dead_code treats #[repr(transparent)] the same as #[repr(C)] 2024-01-18 13:04:31 -05:00
unused-assoc-fns.rs
unused-assoc-fns.stderr
unused-enum.rs
unused-enum.stderr
unused-struct-variant.rs
unused-struct-variant.stderr
unused-variant-pub.rs
unused-variant.rs
unused-variant.stderr
with-core-crate.rs
with-core-crate.stderr
with-impl.rs Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00