Skip to content

Commit eb3dc90

Browse files
authored
Update expected outputs for rustc 1.77 release (#42)
1 parent 3ebe1f0 commit eb3dc90

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/ui/arg_not_sync.stderr

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ error[E0277]: `dyn Future<Output = ()> + Send` cannot be shared between threads
66
| |
77
| required by a bound introduced by this call
88
|
9-
= help: the trait `Sync` is not implemented for `dyn Future<Output = ()> + Send`
9+
= help: the trait `Sync` is not implemented for `dyn Future<Output = ()> + Send`, which is required by `Pin<Box<dyn Future<Output = ()> + Send>>: Sync`
1010
= note: required for `Unique<dyn Future<Output = ()> + Send>` to implement `Sync`
1111
note: required because it appears within the type `Box<dyn Future<Output = ()> + Send>`
1212
--> $RUST/alloc/src/boxed.rs
@@ -16,7 +16,7 @@ note: required because it appears within the type `Box<dyn Future<Output = ()> +
1616
note: required because it appears within the type `Pin<Box<dyn Future<Output = ()> + Send>>`
1717
--> $RUST/core/src/pin.rs
1818
|
19-
| pub struct Pin<P> {
19+
| pub struct Pin<Ptr> {
2020
| ^^^
2121
note: required by a bound in `assert_is_sync`
2222
--> tests/ui/arg_not_sync.rs:3:27
@@ -32,7 +32,7 @@ error[E0277]: `dyn Future<Output = ()>` cannot be shared between threads safely
3232
| |
3333
| required by a bound introduced by this call
3434
|
35-
= help: the trait `Sync` is not implemented for `dyn Future<Output = ()>`
35+
= help: the trait `Sync` is not implemented for `dyn Future<Output = ()>`, which is required by `Pin<Box<dyn Future<Output = ()>>>: Sync`
3636
= note: required for `Unique<dyn Future<Output = ()>>` to implement `Sync`
3737
note: required because it appears within the type `Box<dyn Future<Output = ()>>`
3838
--> $RUST/alloc/src/boxed.rs
@@ -42,7 +42,7 @@ note: required because it appears within the type `Box<dyn Future<Output = ()>>`
4242
note: required because it appears within the type `Pin<Box<dyn Future<Output = ()>>>`
4343
--> $RUST/core/src/pin.rs
4444
|
45-
| pub struct Pin<P> {
45+
| pub struct Pin<Ptr> {
4646
| ^^^
4747
note: required by a bound in `assert_is_sync`
4848
--> tests/ui/arg_not_sync.rs:3:27

0 commit comments

Comments
 (0)