Skip to content

Commit

Permalink
Update expected outputs for rustc 1.77 release (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcchut committed Mar 24, 2024
1 parent 3ebe1f0 commit eb3dc90
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/ui/arg_not_sync.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ error[E0277]: `dyn Future<Output = ()> + Send` cannot be shared between threads
| |
| required by a bound introduced by this call
|
= help: the trait `Sync` is not implemented for `dyn Future<Output = ()> + Send`
= help: the trait `Sync` is not implemented for `dyn Future<Output = ()> + Send`, which is required by `Pin<Box<dyn Future<Output = ()> + Send>>: Sync`
= note: required for `Unique<dyn Future<Output = ()> + Send>` to implement `Sync`
note: required because it appears within the type `Box<dyn Future<Output = ()> + Send>`
--> $RUST/alloc/src/boxed.rs
Expand All @@ -16,7 +16,7 @@ note: required because it appears within the type `Box<dyn Future<Output = ()> +
note: required because it appears within the type `Pin<Box<dyn Future<Output = ()> + Send>>`
--> $RUST/core/src/pin.rs
|
| pub struct Pin<P> {
| pub struct Pin<Ptr> {
| ^^^
note: required by a bound in `assert_is_sync`
--> tests/ui/arg_not_sync.rs:3:27
Expand All @@ -32,7 +32,7 @@ error[E0277]: `dyn Future<Output = ()>` cannot be shared between threads safely
| |
| required by a bound introduced by this call
|
= help: the trait `Sync` is not implemented for `dyn Future<Output = ()>`
= help: the trait `Sync` is not implemented for `dyn Future<Output = ()>`, which is required by `Pin<Box<dyn Future<Output = ()>>>: Sync`
= note: required for `Unique<dyn Future<Output = ()>>` to implement `Sync`
note: required because it appears within the type `Box<dyn Future<Output = ()>>`
--> $RUST/alloc/src/boxed.rs
Expand All @@ -42,7 +42,7 @@ note: required because it appears within the type `Box<dyn Future<Output = ()>>`
note: required because it appears within the type `Pin<Box<dyn Future<Output = ()>>>`
--> $RUST/core/src/pin.rs
|
| pub struct Pin<P> {
| pub struct Pin<Ptr> {
| ^^^
note: required by a bound in `assert_is_sync`
--> tests/ui/arg_not_sync.rs:3:27
Expand Down

0 comments on commit eb3dc90

Please sign in to comment.