about summary refs log tree commit diff
path: root/src/test/ui/error-codes
diff options
context:
space:
mode:
authorPatryk Wychowaniec <wychowaniec.patryk@gmail.com>2019-10-18 18:05:54 +0200
committerPatryk Wychowaniec <wychowaniec.patryk@gmail.com>2019-10-28 18:43:51 +0100
commit273ee611f08e4a788da5f3e137feb68ee310a5c8 (patch)
tree30104c36230616b66f6711aacb224b4403bf735c /src/test/ui/error-codes
parent8d78bf6b273848d17da8f5c92162c6a6b9b10dfd (diff)
downloadrust-273ee611f08e4a788da5f3e137feb68ee310a5c8.tar.gz
rust-273ee611f08e4a788da5f3e137feb68ee310a5c8.zip
Improve the "try using a variant of the expected type" hint.
Diffstat (limited to 'src/test/ui/error-codes')
-rw-r--r--src/test/ui/error-codes/E0164.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/error-codes/E0164.stderr b/src/test/ui/error-codes/E0164.stderr
index 4bbddb1978c..0db89dfec84 100644
--- a/src/test/ui/error-codes/E0164.stderr
+++ b/src/test/ui/error-codes/E0164.stderr
@@ -1,4 +1,4 @@
-error[E0164]: expected tuple struct or tuple variant, found associated constant `<Foo>::B`
+error[E0164]: expected tuple struct or tuple variant, found associated constant `Foo::B`
   --> $DIR/E0164.rs:9:9
    |
 LL |         Foo::B(i) => i,