Skip to content

Commit

Permalink
Clean up E0642 explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Jun 4, 2020
1 parent 680a4b2 commit c183c3f
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 c183c3f

Please sign in to comment.