1 error[E0015]: calls in constants are limited to constant functions, tuple structs and tuple variants
2 --> $DIR/nested-type.rs:16:5
4 LL | Foo::<17>::value()
7 error[E0080]: evaluation of constant value failed
8 --> $DIR/nested-type.rs:16:5
10 LL | Foo::<17>::value()
11 | ^^^^^^^^^^^^^^^^^^ calling non-const function `Foo::{{constant}}#0::Foo::<17_usize>::value`
13 error: aborting due to 2 previous errors
15 Some errors have detailed explanations: E0015, E0080.
16 For more information about an error, try `rustc --explain E0015`.