File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change 1
1
error[E0282]: type annotations needed
2
- --> tests/ui/unpin_impl.rs:4:14
2
+ --> tests/ui/unpin_impl.rs:1:1
3
+ |
4
+ 1 | #[cxx::bridge]
5
+ | ^^^^^^^^^^^^^^ cannot infer type of the type parameter `Self` declared on the trait `__AmbiguousIfImpl`
3
6
|
4
- 4 | type Opaque;
5
- | ^^^^^^ cannot infer type
7
+ = note: this error originates in the attribute macro `cxx::bridge` (in Nightly builds, run with -Z macro-backtrace for more info)
8
+ help: consider specifying the generic argument
9
+ |
10
+ 1 | #[cxx::bridge]::<_>
11
+ | +++++
6
12
7
13
error[E0283]: type annotations needed
8
14
--> tests/ui/unpin_impl.rs:1:1
9
15
|
10
16
1 | #[cxx::bridge]
11
- | ^^^^^^^^^^^^^^ cannot infer type
17
+ | ^^^^^^^^^^^^^^ cannot infer type of the type parameter `Self` declared on the trait `__AmbiguousIfImpl`
12
18
|
13
19
note: multiple `impl`s satisfying `ffi::Opaque: __AmbiguousIfImpl<_>` found
14
20
--> tests/ui/unpin_impl.rs:1:1
15
21
|
16
22
1 | #[cxx::bridge]
17
23
| ^^^^^^^^^^^^^^
18
24
= note: this error originates in the attribute macro `cxx::bridge` (in Nightly builds, run with -Z macro-backtrace for more info)
25
+ help: consider specifying the generic argument
26
+ |
27
+ 1 | #[cxx::bridge]::<_>
28
+ | +++++
You can’t perform that action at this time.
0 commit comments