mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
Clean up E0367 explanation
This commit is contained in:
parent
01a8b5f26e
commit
78e4bd1c75
@ -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