mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
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,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…
Reference in New Issue
Block a user