Skip to content

Commit 13633c3

Browse files
committed
Update unpin_impl ui test to nightly-2022-06-12
1 parent b6eddfd commit 13633c3

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

tests/ui/unpin_impl.stderr

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,28 @@
11
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`
36
|
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+
| +++++
612

713
error[E0283]: type annotations needed
814
--> tests/ui/unpin_impl.rs:1:1
915
|
1016
1 | #[cxx::bridge]
11-
| ^^^^^^^^^^^^^^ cannot infer type
17+
| ^^^^^^^^^^^^^^ cannot infer type of the type parameter `Self` declared on the trait `__AmbiguousIfImpl`
1218
|
1319
note: multiple `impl`s satisfying `ffi::Opaque: __AmbiguousIfImpl<_>` found
1420
--> tests/ui/unpin_impl.rs:1:1
1521
|
1622
1 | #[cxx::bridge]
1723
| ^^^^^^^^^^^^^^
1824
= 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+
| +++++

0 commit comments

Comments
 (0)