Rollup merge of #69394 - GuillaumeGomez:clean-up-0367, r=Dylan-DPC

Clean up E0367 explanation

r? @Dylan-DPC
This commit is contained in:
Pietro Albini 2020-02-24 11:15:34 +01:00 committed by GitHub
commit 1cfb6c2ab0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -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