Clean up E0642 explanation
This commit is contained in:
parent
680a4b2fbd
commit
c183c3f4d1
@ -1,6 +1,6 @@
|
||||
Trait methods currently cannot take patterns as arguments.
|
||||
|
||||
Example of erroneous code:
|
||||
Erroneous code example:
|
||||
|
||||
```compile_fail,E0642
|
||||
trait Foo {
|
||||
|
Loading…
Reference in New Issue
Block a user