2022-11-10 04:21:11 +00:00
|
|
|
error[E0119]: conflicting implementations of trait `Drop` for type `MyStruct`
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/issue-28568.rs:7:1
|
2017-12-10 19:47:55 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | impl Drop for MyStruct {
|
2017-12-18 07:46:55 +00:00
|
|
|
| ---------------------- first implementation here
|
|
|
|
...
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | impl Drop for MyStruct {
|
2017-12-18 07:46:55 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^ conflicting implementation for `MyStruct`
|
2017-12-10 19:47:55 +00:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2017-12-10 19:47:55 +00:00
|
|
|
|
2018-03-03 14:59:40 +00:00
|
|
|
For more information about this error, try `rustc --explain E0119`.
|