File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
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:1:1
3
- |
4
- 1 | #[cxx::bridge]
5
- | ^^^^^^^^^^^^^^ cannot infer type of the type parameter `Self` declared on the trait `__AmbiguousIfImpl`
2
+ --> tests/ui/unpin_impl.rs:4:14
6
3
|
7
- = note: this error originates in the attribute macro `cxx::bridge` (in Nightly builds, run with -Z macro-backtrace for more info)
4
+ 4 | type Opaque;
5
+ | ^^^^^^ cannot infer type
8
6
9
7
error[E0283]: type annotations needed
10
8
--> tests/ui/unpin_impl.rs:1:1
11
9
|
12
10
1 | #[cxx::bridge]
13
- | ^^^^^^^^^^^^^^ cannot infer type of the type parameter `Self` declared on the trait `__AmbiguousIfImpl`
11
+ | ^^^^^^^^^^^^^^ cannot infer type
14
12
|
15
13
note: multiple `impl`s satisfying `ffi::Opaque: __AmbiguousIfImpl<_>` found
16
14
--> tests/ui/unpin_impl.rs:1:1
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ error[E0726]: implicit elided lifetime not allowed here
4
4
6 | type T;
5
5
| ^ expected lifetime parameter
6
6
|
7
- = note: assuming a `'static` lifetime...
8
7
help: indicate the anonymous lifetime
9
8
|
10
9
6 | type T<'_>;
You can’t perform that action at this time.
0 commit comments