Skip to content

Commit

Permalink
Update ui test output to nightly-2024-02-07
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Feb 7, 2024
1 parent 537b60c commit e1ce805
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/ui/pin_project/project_replace_unsized.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ error[E0277]: the size for values of type `T` cannot be known at compilation tim
7 | f: T,
| ^ doesn't have a size known at compile-time
|
note: required by a bound in `std::ptr::read`
note: required by an implicit `Sized` bound in `std::ptr::read`
--> $RUST/core/src/ptr/mod.rs
|
| pub const unsafe fn read<T>(src: *const T) -> T {
| ^ required by this bound in `read`
| ^ required by the implicit `Sized` requirement on this type parameter in `read`
help: consider removing the `?Sized` bound to make the type parameter `Sized`
|
6 - struct Struct<T: ?Sized> {
Expand Down
4 changes: 2 additions & 2 deletions tests/ui/pin_project/project_replace_unsized_fn_params.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ error[E0277]: the size for values of type `T` cannot be known at compilation tim
9 | f: T,
| ^ doesn't have a size known at compile-time
|
note: required by a bound in `std::ptr::read`
note: required by an implicit `Sized` bound in `std::ptr::read`
--> $RUST/core/src/ptr/mod.rs
|
| pub const unsafe fn read<T>(src: *const T) -> T {
| ^ required by this bound in `read`
| ^ required by the implicit `Sized` requirement on this type parameter in `read`
help: consider removing the `?Sized` bound to make the type parameter `Sized`
|
8 - struct Struct<T: ?Sized> {
Expand Down

0 comments on commit e1ce805

Please sign in to comment.