]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_error_codes/error_codes/E0423.md
Rollup merge of #70038 - DutchGhost:const-forget-tests, r=RalfJung
[rust.git] / src / librustc_error_codes / error_codes / E0423.md
index 6a7c31f5e0d43095622831a26c18e24dcec4827d..a98ada17a469c7801c8e0d27854f98ad1366bd08 100644 (file)
@@ -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 };