1 error[E0599]: no associated item named `HOST_SIZE` found for type `Foo<A, B>` in the current scope
2 --> $DIR/too_generic_eval_ice.rs:7:19
4 LL | pub struct Foo<A, B>(A, B);
5 | --------------------------- associated item `HOST_SIZE` not found for this
7 LL | [5; Self::HOST_SIZE] == [6; 0]
8 | ^^^^^^^^^ associated item not found in `Foo<A, B>`
10 = note: the method `HOST_SIZE` exists but the following trait bounds were not satisfied:
11 `A : std::marker::Sized`
12 `B : std::marker::Sized`
14 error[E0277]: the size for values of type `A` cannot be known at compilation time
15 --> $DIR/too_generic_eval_ice.rs:7:13
17 LL | pub struct Foo<A, B>(A, B);
18 | --------------------------- required by `Foo`
20 LL | [5; Self::HOST_SIZE] == [6; 0]
21 | ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
23 = help: the trait `std::marker::Sized` is not implemented for `A`
24 = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
25 = help: consider adding a `where A: std::marker::Sized` bound
27 error[E0277]: the size for values of type `B` cannot be known at compilation time
28 --> $DIR/too_generic_eval_ice.rs:7:13
30 LL | pub struct Foo<A, B>(A, B);
31 | --------------------------- required by `Foo`
33 LL | [5; Self::HOST_SIZE] == [6; 0]
34 | ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
36 = help: the trait `std::marker::Sized` is not implemented for `B`
37 = note: to learn more, visit <https://doc.rust-lang.org/book/ch19-04-advanced-types.html#dynamically-sized-types-and-the-sized-trait>
38 = help: consider adding a `where B: std::marker::Sized` bound
40 error: aborting due to 3 previous errors
42 Some errors have detailed explanations: E0277, E0599.
43 For more information about an error, try `rustc --explain E0277`.