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