mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 03:09:54 +00:00
13 lines
523 B
Plaintext
13 lines
523 B
Plaintext
error[E0277]: the size for values of type `(dyn Sync + 'static)` cannot be known at compilation time
|
|
--> $DIR/invalid-unsized-const-eval.rs:9:11
|
|
|
|
|
LL | data: (dyn Sync, ()),
|
|
| ^^^^^^^^^^^^^^ doesn't have a size known at compile-time
|
|
|
|
|
= help: the trait `Sized` is not implemented for `(dyn Sync + 'static)`
|
|
= note: only the last element of a tuple may have a dynamically sized type
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|