Skip to content

Commit

Permalink
Clean up E0423 explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Mar 12, 2020
1 parent e5e8ba4 commit 611cfd5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/librustc_error_codes/error_codes/E0423.md
Original file line number Diff line number Diff line change
@@ -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 };
Expand Down

0 comments on commit 611cfd5

Please sign in to comment.