about summary refs log tree commit diff
path: root/src/test/ui/enum
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2018-11-11 19:46:04 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2018-11-18 13:57:03 +0300
commitcfd762954bd2410d57950045bf5009769ac4947f (patch)
tree20c581eeff67d11b45234c6fd44b22a5aa66e99b /src/test/ui/enum
parentcfe81559ee970b99e45a73af02ba4837cb30b6db (diff)
downloadrust-cfd762954bd2410d57950045bf5009769ac4947f.tar.gz
rust-cfd762954bd2410d57950045bf5009769ac4947f.zip
resolve: Tweak some articles in ambiguity diagnostics
Diffstat (limited to 'src/test/ui/enum')
-rw-r--r--src/test/ui/enum/enum-in-scope.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/enum/enum-in-scope.stderr b/src/test/ui/enum/enum-in-scope.stderr
index 1e8d5940495..b294aabb4ed 100644
--- a/src/test/ui/enum/enum-in-scope.stderr
+++ b/src/test/ui/enum/enum-in-scope.stderr
@@ -2,7 +2,7 @@ error[E0530]: let bindings cannot shadow tuple structs
   --> $DIR/enum-in-scope.rs:14:9
    |
 LL | struct hello(isize);
-   | -------------------- a tuple struct `hello` is defined here
+   | -------------------- the tuple struct `hello` is defined here
 ...
 LL |     let hello = 0; //~ERROR let bindings cannot shadow tuple structs
    |         ^^^^^ cannot be named the same as a tuple struct