Skip to content

Commit ecabb50

Browse files
authored
Update error output (#45)
1 parent 3254b12 commit ecabb50

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tests/ui/arg_not_sync.stderr‎

Lines changed: 2 additions & 2 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`, which is required by `Pin<Box<dyn Future<Output = ()> + Send>>: Sync`
9+
= help: the trait `Sync` is not implemented for `dyn Future<Output = ()> + Send`
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
@@ -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 = ()>`, which is required by `Pin<Box<dyn Future<Output = ()>>>: Sync`
35+
= help: the trait `Sync` is not implemented for `dyn Future<Output = ()>`
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

0 commit comments

Comments
 (0)