rust/tests/ui/lint/unused
Oli Scherer aef0f4024a Error on using yield without also using #[coroutine] on the closure
And suggest adding the `#[coroutine]` to the closure
2024-04-24 08:05:29 +00:00
..
auxiliary [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unused_parens skip unused_parens's suggestion for Paren in macro. 2024-04-10 17:56:43 +08: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
issue-30730.stderr
issue-46576.rs
issue-46576.stderr
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
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
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
issue-59896.rs Silence unused_imports lint for redundant imports 2024-04-11 14:38:21 -04:00
issue-67691-unused-field-in-or-pattern.rs
issue-67691-unused-field-in-or-pattern.stderr
issue-70041.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-70041.stderr
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 Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
issue-74883-unused-paren-baren-yield.stderr
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
issue-85913.rs
issue-85913.stderr
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
issue-90807-unused-paren-error.stderr
issue-90807-unused-paren.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-92751.rs
issue-92751.stderr
issue-96606.rs
issue-96606.stderr
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
issue-104397.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-105061-array-lint.rs
issue-105061-array-lint.stderr
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
issue-105061.rs Adjust compiler tests for unused_tuple_struct_fields -> dead_code 2024-01-02 15:34:37 -05:00
issue-105061.stderr
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
issue-117284-arg-in-macro.stderr
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
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
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
lint-unused-variables.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
lint-unused-variables.stderr
must_use-array.rs
must_use-array.stderr
must_use-in-stdlib-traits.rs
must_use-in-stdlib-traits.stderr
must_use-pin.rs
must_use-pin.stderr
must_use-trait.rs
must_use-trait.stderr
must_use-tuple.rs
must_use-tuple.stderr
must_use-unit.rs
must_use-unit.stderr
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
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
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
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
unused_attributes-must_use.stderr
unused-allocation.rs
unused-allocation.stderr
unused-associated-item.rs Split item bounds and item super predicates 2024-03-20 13:00:34 -04:00
unused-async.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unused-async.stderr
unused-attr-duplicate.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
unused-attr-duplicate.stderr
unused-attr-macro-rules.rs
unused-attr-macro-rules.stderr
unused-closure.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
unused-closure.stderr
unused-doc-comments-edge-cases.rs Disallow ambiguous attributes on expressions 2024-04-18 20:42:19 +02:00
unused-doc-comments-edge-cases.stderr Disallow ambiguous attributes on expressions 2024-04-18 20:42:19 +02:00
unused-doc-comments-for-macros.rs
unused-doc-comments-for-macros.stderr
unused-macro-rules-compile-error.rs
unused-macro-rules-compile-error.stderr
unused-macro-rules-decl.rs
unused-macro-rules-decl.stderr
unused-macro-rules-malformed-rule.rs
unused-macro-rules-malformed-rule.stderr
unused-macro-rules.rs
unused-macro-rules.stderr
unused-macro-with-bad-frag-spec.rs
unused-macro-with-bad-frag-spec.stderr
unused-macro-with-follow-violation.rs
unused-macro-with-follow-violation.stderr
unused-macros-decl.rs
unused-macros-decl.stderr
unused-macros-malformed-rule.rs
unused-macros-malformed-rule.stderr
unused-macros.rs
unused-macros.stderr
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
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
unused-result.rs
unused-result.stderr
unused-supertrait.rs
unused-supertrait.stderr
useless-comment.rs
useless-comment.stderr