about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2020-03-12 13:11:07 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2020-03-12 13:11:07 +0100
commit611cfd5f150101164b42de9532a94b922954d5da (patch)
tree0aee7d1bc580bbd63f88b824bdaf9fd609f9cf6e
parente5e8ba4edc435c9f87314b23a6c5d9c175bdf19c (diff)
downloadrust-611cfd5f150101164b42de9532a94b922954d5da.tar.gz
rust-611cfd5f150101164b42de9532a94b922954d5da.zip
Clean up E0423 explanation
-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 };