error[E0601]: `main` function not found in crate `$CRATE` --> tests/uncompilable/non_copy.rs | | } | ^ consider adding a `main` function to `$DIR/tests/uncompilable/non_copy.rs` error[E0277]: the trait bound `String: Copy` is not satisfied --> tests/uncompilable/non_copy.rs | | foo: String, | ^^^^^^ the trait `Copy` is not implemented for `String` | note: required by a bound in `field_implements_copy` --> tests/uncompilable/non_copy.rs | | #[fxstruct] | ^^^^^^^^^^^ required by this bound in `field_implements_copy` = note: this error originates in the attribute macro `fxstruct` (in Nightly builds, run with -Z macro-backtrace for more info)