Skip to content

Commit

Permalink
Update ui test suite to nightly-2023-02-11
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Feb 11, 2023
1 parent 7f06892 commit a2f3ccc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
10 changes: 4 additions & 6 deletions tests/ui/unpin_impl.stderr
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
error[E0282]: type annotations needed
--> tests/ui/unpin_impl.rs:1:1
|
1 | #[cxx::bridge]
| ^^^^^^^^^^^^^^ cannot infer type of the type parameter `Self` declared on the trait `__AmbiguousIfImpl`
--> tests/ui/unpin_impl.rs:4:14
|
= note: this error originates in the attribute macro `cxx::bridge` (in Nightly builds, run with -Z macro-backtrace for more info)
4 | type Opaque;
| ^^^^^^ cannot infer type

error[E0283]: type annotations needed
--> tests/ui/unpin_impl.rs:1:1
|
1 | #[cxx::bridge]
| ^^^^^^^^^^^^^^ cannot infer type of the type parameter `Self` declared on the trait `__AmbiguousIfImpl`
| ^^^^^^^^^^^^^^ cannot infer type
|
note: multiple `impl`s satisfying `ffi::Opaque: __AmbiguousIfImpl<_>` found
--> tests/ui/unpin_impl.rs:1:1
Expand Down
1 change: 0 additions & 1 deletion tests/ui/unsupported_elided.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ error[E0726]: implicit elided lifetime not allowed here
6 | type T;
| ^ expected lifetime parameter
|
= note: assuming a `'static` lifetime...
help: indicate the anonymous lifetime
|
6 | type T<'_>;
Expand Down

0 comments on commit a2f3ccc

Please sign in to comment.