• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1error[E0277]: the trait bound `Foo: FfiConverterArc<UniFfiTag>` is not satisfied
2  --> tests/ui/proc_macro_arc.rs:10:1
3   |
410 | #[uniffi::export]
5   | ^^^^^^^^^^^^^^^^^ the trait `FfiConverterArc<UniFfiTag>` is not implemented for `Foo`
6   |
7   = help: the trait `LowerReturn<UT>` is implemented for `Arc<T>`
8   = note: required for `Arc<Foo>` to implement `FfiConverter<UniFfiTag>`
9   = note: required for `Arc<Foo>` to implement `Lower<UniFfiTag>`
10   = note: required for `Arc<Foo>` to implement `LowerReturn<UniFfiTag>`
11   = note: this error originates in the attribute macro `uniffi::export` (in Nightly builds, run with -Z macro-backtrace for more info)
12
13error[E0277]: the trait bound `child::Foo: FfiConverterArc<UniFfiTag>` is not satisfied
14  --> tests/ui/proc_macro_arc.rs:20:5
15   |
1620 |     #[uniffi::export]
17   |     ^^^^^^^^^^^^^^^^^ the trait `FfiConverterArc<UniFfiTag>` is not implemented for `child::Foo`
18   |
19   = help: the trait `Lift<UT>` is implemented for `Arc<T>`
20   = note: required for `Arc<child::Foo>` to implement `FfiConverter<UniFfiTag>`
21   = note: required for `Arc<child::Foo>` to implement `Lift<UniFfiTag>`
22   = note: this error originates in the attribute macro `uniffi::export` (in Nightly builds, run with -Z macro-backtrace for more info)
23