Skip to content

Commit

Permalink
Update ui test to nightly-2022-06-30
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Jun 30, 2022
1 parent f4413cf commit b60499f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions tests/ui/pin_project/unpin_sneaky.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,3 @@ error[E0412]: cannot find type `__S` in this scope
|
9 | impl Unpin for __S {} //~ ERROR E0412,E0321
| ^^^ not found in this scope

error[E0321]: cross-crate traits with a default impl, like `Unpin`, can only be implemented for a struct/enum type, not `[type error]`
--> tests/ui/pin_project/unpin_sneaky.rs:9:1
|
9 | impl Unpin for __S {} //~ ERROR E0412,E0321
| ^^^^^^^^^^^^^^^^^^ can't implement cross-crate trait with a default impl for non-struct/enum type
2 changes: 1 addition & 1 deletion tests/ui/pinned_drop/call-drop-inner.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ error[E0061]: this function takes 0 arguments but 1 argument was supplied
--> tests/ui/pinned_drop/call-drop-inner.rs:13:9
|
13 | __drop_inner(__self);
| ^^^^^^^^^^^^ ------ argument unexpected
| ^^^^^^^^^^^^ ------ argument of type `Pin<&mut Struct>` unexpected
|
note: function defined here
--> tests/ui/pinned_drop/call-drop-inner.rs:10:1
Expand Down

0 comments on commit b60499f

Please sign in to comment.