Skip to content

Commit

Permalink
Rollup merge of rust-lang#69947 - GuillaumeGomez:cleanup-e0423, r=Dyl…
Browse files Browse the repository at this point in the history
…an-DPC

Clean up E0423 explanation

r? @Dylan-DPC
  • Loading branch information
Centril authored Mar 13, 2020
2 parents 7cff322 + 611cfd5 commit 52284c4
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 52284c4

Please sign in to comment.