You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: fixtures/uitests/tests/ui/invalid_types_in_signatures.stderr
+70-17
Original file line number
Diff line number
Diff line change
@@ -5,33 +5,86 @@ error[E0277]: the trait bound `Result<(), ErrorType>: Lift<UniFfiTag>` is not sa
5
5
| ^^^^^^^^^^^^^^^^^ the trait `Lift<UniFfiTag>` is not implemented for `Result<(), ErrorType>`
6
6
|
7
7
= help: the following other types implement trait `Lift<UT>`:
8
-
bool
9
-
i8
10
-
i16
11
-
i32
12
-
i64
13
-
u8
14
-
u16
15
-
u32
8
+
Arc<T>
9
+
Duration
10
+
ErrorType
11
+
HashMap<K, V>
12
+
Option<T>
13
+
String
14
+
SystemTime
15
+
Vec<T>
16
16
and $N others
17
17
= note: this error originates in the attribute macro `uniffi::export` (in Nightly builds, run with -Z macro-backtrace for more info)
18
18
19
19
error[E0277]: the trait bound `Result<(), ErrorType>: Lower<UniFfiTag>` is not satisfied
20
20
--> tests/ui/invalid_types_in_signatures.rs:20:1
21
21
|
22
22
20 | #[uniffi::export]
23
-
| ^^^^^^^^^^^^^^^^^ the trait `Lower<UniFfiTag>` is not implemented for `Result<(), ErrorType>`, which is required by `Option<Result<(), ErrorType>>: LowerReturn<UniFfiTag>`
23
+
| ^^^^^^^^^^^^^^^^^ the trait `Lower<UniFfiTag>` is not implemented for `Result<(), ErrorType>`
24
24
|
25
25
= help: the following other types implement trait `Lower<UT>`:
26
-
bool
27
-
i8
28
-
i16
29
-
i32
30
-
i64
31
-
u8
32
-
u16
33
-
u32
26
+
Arc<T>
27
+
Duration
28
+
ErrorType
29
+
HashMap<K, V>
30
+
Option<T>
31
+
String
32
+
SystemTime
33
+
Vec<T>
34
34
and $N others
35
35
= note: required for `Option<Result<(), ErrorType>>` to implement `Lower<UniFfiTag>`
36
36
= note: required for `Option<Result<(), ErrorType>>` to implement `LowerReturn<UniFfiTag>`
37
37
= note: this error originates in the attribute macro `uniffi::export` (in Nightly builds, run with -Z macro-backtrace for more info)
38
+
39
+
error[E0277]: the trait bound `Result<(), ErrorType>: Lift<UniFfiTag>` is not satisfied
0 commit comments