1 error[E0391]: cycle detected when computing layout of `Foo`
3 note: ...which requires normalizing `ParamEnvAnd { param_env: ParamEnv { caller_bounds: [], reveal: All }, value: [u8; _] }`...
4 note: ...which requires const-evaluating `Foo::bytes::{{constant}}`...
5 --> $SRC_DIR/libcore/mem.rs:LL:COL
7 LL | intrinsics::size_of::<T>()
8 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
9 = note: ...which again requires computing layout of `Foo`, completing the cycle
10 note: cycle used when const-evaluating `Foo::bytes::{{constant}}`
11 --> $SRC_DIR/libcore/mem.rs:LL:COL
13 LL | intrinsics::size_of::<T>()
14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
16 error: aborting due to previous error
18 For more information about this error, try `rustc --explain E0391`.