diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2018-11-11 19:46:04 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2018-11-18 13:57:03 +0300 |
| commit | cfd762954bd2410d57950045bf5009769ac4947f (patch) | |
| tree | 20c581eeff67d11b45234c6fd44b22a5aa66e99b /src/test/ui/error-codes | |
| parent | cfe81559ee970b99e45a73af02ba4837cb30b6db (diff) | |
| download | rust-cfd762954bd2410d57950045bf5009769ac4947f.tar.gz rust-cfd762954bd2410d57950045bf5009769ac4947f.zip | |
resolve: Tweak some articles in ambiguity diagnostics
Diffstat (limited to 'src/test/ui/error-codes')
| -rw-r--r-- | src/test/ui/error-codes/E0530.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/error-codes/E0530.stderr b/src/test/ui/error-codes/E0530.stderr index e157ca9042c..96bc47a1afe 100644 --- a/src/test/ui/error-codes/E0530.stderr +++ b/src/test/ui/error-codes/E0530.stderr @@ -2,7 +2,7 @@ error[E0530]: match bindings cannot shadow statics --> $DIR/E0530.rs:16:9 | LL | static TEST: i32 = 0; - | --------------------- a static `TEST` is defined here + | --------------------- the static `TEST` is defined here ... LL | TEST => {} //~ ERROR E0530 | ^^^^ cannot be named the same as a static |
