Rollup merge of #69394 - GuillaumeGomez:clean-up-0367, r=Dylan-DPC
Clean up E0367 explanation r? @Dylan-DPC
This commit is contained in:
commit
1cfb6c2ab0
|
@ -1,5 +1,6 @@
|
||||||
An attempt was made to implement `Drop` on a specialization of a generic type.
|
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
|
```compile_fail,E0367
|
||||||
trait Foo {}
|
trait Foo {}
|
||||||
|
|
Loading…
Reference in New Issue