Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/librustc_error_codes/error_codes/E0367.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down