summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/unused/issue-67691-unused-field-in-or-pattern.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/lint/unused/issue-67691-unused-field-in-or-pattern.stderr')
-rw-r--r--src/test/ui/lint/unused/issue-67691-unused-field-in-or-pattern.stderr74
1 files changed, 0 insertions, 74 deletions
diff --git a/src/test/ui/lint/unused/issue-67691-unused-field-in-or-pattern.stderr b/src/test/ui/lint/unused/issue-67691-unused-field-in-or-pattern.stderr
deleted file mode 100644
index 8fc2d1bc8..000000000
--- a/src/test/ui/lint/unused/issue-67691-unused-field-in-or-pattern.stderr
+++ /dev/null
@@ -1,74 +0,0 @@
-error: unused variable: `j`
- --> $DIR/issue-67691-unused-field-in-or-pattern.rs:20:16
- |
-LL | A { i, j } | B { i, j } => {
- | ^ ^
- |
-note: the lint level is defined here
- --> $DIR/issue-67691-unused-field-in-or-pattern.rs:4:9
- |
-LL | #![deny(unused)]
- | ^^^^^^
- = note: `#[deny(unused_variables)]` implied by `#[deny(unused)]`
-help: try ignoring the field
- |
-LL | A { i, j: _ } | B { i, j: _ } => {
- | ~~~~ ~~~~
-
-error: unused variable: `j`
- --> $DIR/issue-67691-unused-field-in-or-pattern.rs:30:16
- |
-LL | A { i, ref j } | B { i, ref j } => {
- | ^^^^^ ^^^^^
- |
-help: try ignoring the field
- |
-LL | A { i, j: _ } | B { i, j: _ } => {
- | ~~~~ ~~~~
-
-error: unused variable: `j`
- --> $DIR/issue-67691-unused-field-in-or-pattern.rs:40:21
- |
-LL | Some(A { i, j } | B { i, j }) => {
- | ^ ^
- |
-help: try ignoring the field
- |
-LL | Some(A { i, j: _ } | B { i, j: _ }) => {
- | ~~~~ ~~~~
-
-error: unused variable: `j`
- --> $DIR/issue-67691-unused-field-in-or-pattern.rs:52:21
- |
-LL | Some(A { i, ref j } | B { i, ref j }) => {
- | ^^^^^ ^^^^^
- |
-help: try ignoring the field
- |
-LL | Some(A { i, j: _ } | B { i, j: _ }) => {
- | ~~~~ ~~~~
-
-error: unused variable: `i`
- --> $DIR/issue-67691-unused-field-in-or-pattern.rs:62:24
- |
-LL | MixedEnum::A { i } | MixedEnum::B(i) => {
- | ^ ^
- |
-help: try ignoring the field
- |
-LL | MixedEnum::A { i: _ } | MixedEnum::B(_) => {
- | ~~~~ ~
-
-error: unused variable: `i`
- --> $DIR/issue-67691-unused-field-in-or-pattern.rs:70:24
- |
-LL | MixedEnum::A { ref i } | MixedEnum::B(ref i) => {
- | ^^^^^ ^^^^^
- |
-help: try ignoring the field
- |
-LL | MixedEnum::A { i: _ } | MixedEnum::B(_) => {
- | ~~~~ ~
-
-error: aborting due to 6 previous errors
-