Skip to content

Commit

Permalink
Rollup merge of #69947 - GuillaumeGomez:cleanup-e0423, r=Dylan-DPC
Browse files Browse the repository at this point in the history
Clean up E0423 explanation

r? @Dylan-DPC
  • Loading branch information
JohnTitor committed Mar 13, 2020
2 parents c13548d + 611cfd5 commit 78d722f
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 78d722f

Please sign in to comment.