Skip to content

Commit f4661e2

Browse files
authored
Rollup merge of #72976 - GuillaumeGomez:cleanup-e0642, r=Dylan-DPC
Clean up E0642 explanation r? @Dylan-DPC
2 parents adc92be + c183c3f commit f4661e2

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

src/librustc_error_codes/error_codes/E0642.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Trait methods currently cannot take patterns as arguments.
22

3-
Example of erroneous code:
3+
Erroneous code example:
44

55
```compile_fail,E0642
66
trait Foo {

0 commit comments

Comments
 (0)