Skip to content

Commit 611cfd5

Browse files
Clean up E0423 explanation
1 parent e5e8ba4 commit 611cfd5

File tree

1 file changed

+1
-2
lines changed
  • src/librustc_error_codes/error_codes

1 file changed

+1
-2
lines changed

src/librustc_error_codes/error_codes/E0423.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
An identifier was used like a function name or a value was expected and the
22
identifier exists but it belongs to a different namespace.
33

4-
For (an erroneous) example, here a `struct` variant name were used as a
5-
function:
4+
Erroneous code example:
65

76
```compile_fail,E0423
87
struct Foo { a: bool };

0 commit comments

Comments
 (0)