rust/tests/ui/lint/unused
2024-03-01 13:48:20 +00:00
..
auxiliary [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
assoc-types.assoc_ty.stderr Enforce must_use on associated types and RPITITs 2023-11-30 02:24:52 +00:00
assoc-types.rpitit.stderr Enforce must_use on associated types and RPITITs 2023-11-30 02:24:52 +00:00
assoc-types.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
const-local-var.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
import_remove_line.fixed If suggestion would leave an empty line, delete it 2024-03-01 13:48:20 +00:00
import_remove_line.rs If suggestion would leave an empty line, delete it 2024-03-01 13:48:20 +00:00
import_remove_line.stderr If suggestion would leave an empty line, delete it 2024-03-01 13:48:20 +00:00
issue-30730.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-30730.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-46576.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-46576.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-47390-unused-variable-in-struct-pattern.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-47390-unused-variable-in-struct-pattern.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-54180-unused-ref-field.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-54180-unused-ref-field.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-54180-unused-ref-field.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-54538-unused-parens-lint.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-54538-unused-parens-lint.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-54538-unused-parens-lint.stderr emit unused_parens for break if it is not immediately followed by a block 2023-04-13 18:09:47 +02:00
issue-59896.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-59896.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-67691-unused-field-in-or-pattern.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-67691-unused-field-in-or-pattern.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-70041.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-70041.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-71290-unused-paren-binop.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-74883-unused-paren-baren-yield.rs s/generator/coroutine/ 2023-10-20 21:14:01 +00:00
issue-74883-unused-paren-baren-yield.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-81314-unused-span-ident.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-81314-unused-span-ident.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-81314-unused-span-ident.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-85913.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-85913.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-88519-unused-paren.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-90807-unused-paren-error.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-90807-unused-paren-error.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-90807-unused-paren.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-92751.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-92751.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-96606.rs Emit warnings on unused parens/braces in index expressions 2023-02-02 12:46:31 -07:00
issue-96606.stderr Emit warnings on unused parens/braces in index expressions 2023-02-02 12:46:31 -07:00
issue-103320-must-use-ops.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-103320-must-use-ops.stderr Fix #103320, add explanatory message for [#must_use] 2023-02-04 00:27:03 +08:00
issue-104397.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-105061-array-lint.rs add test case for issue 105601 2023-01-14 17:11:05 +08:00
issue-105061-array-lint.stderr add test case for issue 105601 2023-01-14 17:11:05 +08:00
issue-105061-should-lint.rs Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
issue-105061-should-lint.stderr comments feedback 2023-01-16 20:44:14 +08:00
issue-105061.rs Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
issue-105061.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-117142-invalid-remove-parens.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-117284-arg-in-macro.rs Fix #117284, Fix unused variables lint issue for args in macro 2023-10-30 21:35:18 +08:00
issue-117284-arg-in-macro.stderr Fix #117284, Fix unused variables lint issue for args in macro 2023-10-30 21:35:18 +08:00
issue-119383-if-let-guard.rs Rename test 2023-12-29 13:49:23 +01:00
issue-119383-if-let-guard.stderr Rename test 2023-12-29 13:49:23 +01:00
lint-unused-extern-crate.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-unused-extern-crate.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-unused-imports.rs By tracking import use types to check whether it is scope uses or the other situations like module-relative uses, we can do more accurate redundant import checking. 2024-02-18 16:38:11 +08:00
lint-unused-imports.stderr By tracking import use types to check whether it is scope uses or the other situations like module-relative uses, we can do more accurate redundant import checking. 2024-02-18 16:38:11 +08:00
lint-unused-mut-self.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-unused-mut-self.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-unused-mut-self.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
lint-unused-mut-variables.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-unused-mut-variables.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
lint-unused-variables.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-unused-variables.stderr Run check_match and check_liveness when MIR is built instead of having an explicit phase for them 2023-04-21 22:32:38 +00:00
must_use-array.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
must_use-array.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
must_use-in-stdlib-traits.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
must_use-in-stdlib-traits.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
must_use-pin.rs add test for pinned must_use pointers 2023-11-18 21:01:02 -08:00
must_use-pin.stderr add test for pinned must_use pointers 2023-11-18 21:01:02 -08:00
must_use-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
must_use-trait.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
must_use-tuple.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
must_use-tuple.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
must_use-unit.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
must_use-unit.stderr error-msg: expand suggestion for unused lint 2023-03-15 23:30:12 +13:00
must-use-block-expr.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
must-use-block-expr.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
must-use-block-expr.stderr Extend unused_must_use to cover block exprs 2023-06-15 17:59:13 +08:00
must-use-box-from-raw.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
must-use-box-from-raw.stderr error-msg: expand suggestion for unused lint 2023-03-15 23:30:12 +13:00
must-use-foreign.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
must-use-ops.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
must-use-ops.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
no-unused-parens-return-block.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
trait-alias-supertrait.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unused_attributes-must_use.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused_attributes-must_use.stderr error-msg: expand suggestion for unused lint 2023-03-15 23:30:12 +13:00
unused-allocation.rs Remove feature(box_syntax) from unused allocation list test 2023-03-03 19:02:35 +00:00
unused-allocation.stderr Remove feature(box_syntax) from unused allocation list test 2023-03-03 19:02:35 +00:00
unused-async.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unused-async.stderr Dont check must_use on nested impl Future from fn 2023-05-12 02:08:43 +00:00
unused-attr-duplicate.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unused-attr-duplicate.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-attr-macro-rules.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-attr-macro-rules.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-closure.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unused-closure.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-doc-comments-edge-cases.rs Emit unused doc comment warnings for pat and expr fields 2023-09-03 08:21:18 +05:30
unused-doc-comments-edge-cases.stderr Bless tests 2024-01-13 12:46:58 -05:00
unused-doc-comments-for-macros.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-doc-comments-for-macros.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-macro-rules-compile-error.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-macro-rules-compile-error.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-macro-rules-decl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-macro-rules-decl.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-macro-rules-malformed-rule.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-macro-rules-malformed-rule.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unused-macro-rules.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-macro-rules.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-macro-with-bad-frag-spec.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-macro-with-bad-frag-spec.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unused-macro-with-follow-violation.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-macro-with-follow-violation.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unused-macros-decl.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-macros-decl.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-macros-malformed-rule.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-macros-malformed-rule.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-macros.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-macros.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-mut-warning-captured-var.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unused-mut-warning-captured-var.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unused-mut-warning-captured-var.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
unused-parens-issue-106413.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unused-parens-issue-106413.stderr diagnostics: avoid wrong unused_parens on x as (T) < y 2023-08-31 20:14:49 -07:00
unused-result.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-result.stderr error-msg: expand suggestion for unused lint 2023-03-15 23:30:12 +13:00
unused-supertrait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
unused-supertrait.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
useless-comment.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
useless-comment.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00