1 error[E0277]: the trait bound `T: std::marker::Sized` is not satisfied
2 --> $DIR/union-sized-field.rs:14:5
5 | ^^^^^^^^ `T` does not have a constant size known at compile-time
7 = help: the trait `std::marker::Sized` is not implemented for `T`
8 = help: consider adding a `where T: std::marker::Sized` bound
9 = note: no field of a union may have a dynamically sized type
11 error[E0277]: the trait bound `T: std::marker::Sized` is not satisfied
12 --> $DIR/union-sized-field.rs:18:5
15 | ^^^^^^^^ `T` does not have a constant size known at compile-time
17 = help: the trait `std::marker::Sized` is not implemented for `T`
18 = help: consider adding a `where T: std::marker::Sized` bound
19 = note: only the last field of a struct may have a dynamically sized type
21 error[E0277]: the trait bound `T: std::marker::Sized` is not satisfied
22 --> $DIR/union-sized-field.rs:23:11
25 | ^^ `T` does not have a constant size known at compile-time
27 = help: the trait `std::marker::Sized` is not implemented for `T`
28 = help: consider adding a `where T: std::marker::Sized` bound
29 = note: no field of an enum variant may have a dynamically sized type
31 error: aborting due to 3 previous errors