|  | 
| 1 |  | -error[E0277]: `core::fmt::rt::Opaque` cannot be shared between threads safely | 
|  | 1 | +error[E0277]: `Arguments<'_>` cannot be sent between threads safely | 
| 2 | 2 |   --> $DIR/send-sync.rs:8:10 | 
| 3 | 3 |    | | 
| 4 | 4 | LL |     send(format_args!("{:?}", c)); | 
| 5 |  | -   |     ---- ^^^^^^^^^^^^^^^^^^^^^^^ `core::fmt::rt::Opaque` cannot be shared between threads safely | 
|  | 5 | +   |     ---- ^^^^^^^^^^^^^^^^^^^^^^^ `Arguments<'_>` cannot be sent between threads safely | 
| 6 | 6 |    |     | | 
| 7 | 7 |    |     required by a bound introduced by this call | 
| 8 | 8 |    | | 
| 9 |  | -   = help: within `[core::fmt::rt::Argument<'_>]`, the trait `Sync` is not implemented for `core::fmt::rt::Opaque` | 
| 10 |  | -   = note: required because it appears within the type `&core::fmt::rt::Opaque` | 
| 11 |  | -note: required because it appears within the type `Argument<'_>` | 
| 12 |  | -  --> $SRC_DIR/core/src/fmt/rt.rs:LL:COL | 
| 13 |  | -   = note: required because it appears within the type `[Argument<'_>]` | 
| 14 |  | -   = note: required for `&[core::fmt::rt::Argument<'_>]` to implement `Send` | 
| 15 |  | -note: required because it appears within the type `Arguments<'_>` | 
| 16 |  | -  --> $SRC_DIR/core/src/fmt/mod.rs:LL:COL | 
|  | 9 | +   = help: the trait `Send` is not implemented for `Arguments<'_>` | 
| 17 | 10 | note: required by a bound in `send` | 
| 18 | 11 |   --> $DIR/send-sync.rs:1:12 | 
| 19 | 12 |    | | 
| 20 | 13 | LL | fn send<T: Send>(_: T) {} | 
| 21 | 14 |    |            ^^^^ required by this bound in `send` | 
| 22 | 15 | 
 | 
| 23 |  | -error[E0277]: `core::fmt::rt::Opaque` cannot be shared between threads safely | 
|  | 16 | +error[E0277]: `Arguments<'_>` cannot be shared between threads safely | 
| 24 | 17 |   --> $DIR/send-sync.rs:9:10 | 
| 25 | 18 |    | | 
| 26 | 19 | LL |     sync(format_args!("{:?}", c)); | 
| 27 |  | -   |     ---- ^^^^^^^^^^^^^^^^^^^^^^^ `core::fmt::rt::Opaque` cannot be shared between threads safely | 
|  | 20 | +   |     ---- ^^^^^^^^^^^^^^^^^^^^^^^ `Arguments<'_>` cannot be shared between threads safely | 
| 28 | 21 |    |     | | 
| 29 | 22 |    |     required by a bound introduced by this call | 
| 30 | 23 |    | | 
| 31 |  | -   = help: within `Arguments<'_>`, the trait `Sync` is not implemented for `core::fmt::rt::Opaque` | 
| 32 |  | -   = note: required because it appears within the type `&core::fmt::rt::Opaque` | 
| 33 |  | -note: required because it appears within the type `Argument<'_>` | 
| 34 |  | -  --> $SRC_DIR/core/src/fmt/rt.rs:LL:COL | 
| 35 |  | -   = note: required because it appears within the type `[Argument<'_>]` | 
| 36 |  | -   = note: required because it appears within the type `&[Argument<'_>]` | 
| 37 |  | -note: required because it appears within the type `Arguments<'_>` | 
| 38 |  | -  --> $SRC_DIR/core/src/fmt/mod.rs:LL:COL | 
|  | 24 | +   = help: the trait `Sync` is not implemented for `Arguments<'_>` | 
| 39 | 25 | note: required by a bound in `sync` | 
| 40 | 26 |   --> $DIR/send-sync.rs:2:12 | 
| 41 | 27 |    | | 
|  | 
0 commit comments