mirror of
https://gitee.com/openharmony/third_party_rust_cxx
synced 2024-11-23 07:10:29 +00:00
9 lines
285 B
Plaintext
9 lines
285 B
Plaintext
error[E0119]: conflicting implementations of trait `forbid::Drop` for type `Shared`
|
|
--> tests/ui/drop_shared.rs:3:5
|
|
|
|
|
1 | #[cxx::bridge]
|
|
| -------------- first implementation here
|
|
2 | mod ffi {
|
|
3 | struct Shared {
|
|
| ^^^^^^^^^^^^^ conflicting implementation for `Shared`
|