Skip to content

Commit

Permalink
Rollup merge of rust-lang#69394 - GuillaumeGomez:clean-up-0367, r=Dyl…
Browse files Browse the repository at this point in the history
…an-DPC

Clean up E0367 explanation

r? @Dylan-DPC
  • Loading branch information
Dylan-DPC authored Feb 24, 2020
2 parents 57eda9a + 78e4bd1 commit 3fd774b
Showing 1 changed file with 3 additions and 2 deletions.
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

0 comments on commit 3fd774b

Please sign in to comment.