summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/lint-uppercase-variables.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/lint/lint-uppercase-variables.stderr')
-rw-r--r--tests/ui/lint/lint-uppercase-variables.stderr12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/ui/lint/lint-uppercase-variables.stderr b/tests/ui/lint/lint-uppercase-variables.stderr
index 42ec9364b..922082801 100644
--- a/tests/ui/lint/lint-uppercase-variables.stderr
+++ b/tests/ui/lint/lint-uppercase-variables.stderr
@@ -12,12 +12,6 @@ error[E0170]: pattern binding `Foo` is named the same as one of the variants of
LL | let Foo = foo::Foo::Foo;
| ^^^ help: to match on the variant, qualify the path: `foo::Foo::Foo`
-error[E0170]: pattern binding `Foo` is named the same as one of the variants of the type `foo::Foo`
- --> $DIR/lint-uppercase-variables.rs:33:17
- |
-LL | fn in_param(Foo: foo::Foo) {}
- | ^^^ help: to match on the variant, qualify the path: `foo::Foo::Foo`
-
warning: unused variable: `Foo`
--> $DIR/lint-uppercase-variables.rs:22:9
|
@@ -37,6 +31,12 @@ warning: unused variable: `Foo`
LL | let Foo = foo::Foo::Foo;
| ^^^ help: if this is intentional, prefix it with an underscore: `_Foo`
+error[E0170]: pattern binding `Foo` is named the same as one of the variants of the type `foo::Foo`
+ --> $DIR/lint-uppercase-variables.rs:33:17
+ |
+LL | fn in_param(Foo: foo::Foo) {}
+ | ^^^ help: to match on the variant, qualify the path: `foo::Foo::Foo`
+
warning: unused variable: `Foo`
--> $DIR/lint-uppercase-variables.rs:33:17
|