Skip to content

Commit

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

r? @Dylan-DPC
  • Loading branch information
Dylan-DPC authored Jun 11, 2020
2 parents adc92be + c183c3f commit f4661e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_error_codes/error_codes/E0642.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Trait methods currently cannot take patterns as arguments.

Example of erroneous code:
Erroneous code example:

```compile_fail,E0642
trait Foo {
Expand Down

0 comments on commit f4661e2

Please sign in to comment.