Skip to content

Commit

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

Clean up E0642 explanation

r? @Dylan-DPC
  • Loading branch information
RalfJung authored Jun 11, 2020
2 parents fc6f8d4 + c183c3f commit 63f3721
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 63f3721

Please sign in to comment.