Skip to content

Commit 1cfb6c2

Browse files
authored
Rollup merge of #69394 - GuillaumeGomez:clean-up-0367, r=Dylan-DPC
Clean up E0367 explanation r? @Dylan-DPC
2 parents c293ac9 + 78e4bd1 commit 1cfb6c2

File tree

1 file changed

+3
-2
lines changed
  • src/librustc_error_codes/error_codes

1 file changed

+3
-2
lines changed

src/librustc_error_codes/error_codes/E0367.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
An attempt was made to implement `Drop` on a specialization of a generic type.
2-
An example is shown below:
2+
3+
Erroneous code example:
34

45
```compile_fail,E0367
5-
trait Foo{}
6+
trait Foo {}
67
78
struct MyStruct<T> {
89
t: T

0 commit comments

Comments
 (0)