about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-03-14 04:03:28 +0900
committerGitHub <noreply@github.com>2020-03-14 04:03:28 +0900
commit78d722f0c75a1cc01b824a531c2ef82ee7254bda (patch)
tree343c7f8a9387c5acc8ed049e89108679f1cab4a7
parentc13548dccd297eb2f95d04ddc593c55b69381d8b (diff)
parent611cfd5f150101164b42de9532a94b922954d5da (diff)
downloadrust-78d722f0c75a1cc01b824a531c2ef82ee7254bda.tar.gz
rust-78d722f0c75a1cc01b824a531c2ef82ee7254bda.zip
Rollup merge of #69947 - GuillaumeGomez:cleanup-e0423, r=Dylan-DPC
Clean up E0423 explanation

r? @Dylan-DPC
-rw-r--r--src/librustc_error_codes/error_codes/E0423.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustc_error_codes/error_codes/E0423.md b/src/librustc_error_codes/error_codes/E0423.md
index 6a7c31f5e0d..a98ada17a46 100644
--- a/src/librustc_error_codes/error_codes/E0423.md
+++ b/src/librustc_error_codes/error_codes/E0423.md
@@ -1,8 +1,7 @@
 An identifier was used like a function name or a value was expected and the
 identifier exists but it belongs to a different namespace.
 
-For (an erroneous) example, here a `struct` variant name were used as a
-function:
+Erroneous code example:
 
 ```compile_fail,E0423
 struct Foo { a: bool };