Clean up E0367 explanation
This commit is contained in:
parent
01a8b5f26e
commit
78e4bd1c75
1 changed files with 3 additions and 2 deletions
|
|
@ -1,8 +1,9 @@
|
|||
An attempt was made to implement `Drop` on a specialization of a generic type.
|
||||
An example is shown below:
|
||||
|
||||
Erroneous code example:
|
||||
|
||||
```compile_fail,E0367
|
||||
trait Foo{}
|
||||
trait Foo {}
|
||||
|
||||
struct MyStruct<T> {
|
||||
t: T
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue