Skip to content

Commit 52284c4

Browse files
authored
Rollup merge of rust-lang#69947 - GuillaumeGomez:cleanup-e0423, r=Dylan-DPC
Clean up E0423 explanation r? @Dylan-DPC
2 parents 7cff322 + 611cfd5 commit 52284c4

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)