1 error[E0080]: evaluation of constant value failed
2 --> $DIR/issue-44578.rs:27:20
4 LL | println!("{}", <Bar<u16, u8> as Foo>::AMT);
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ referenced constant has errors
7 error: aborting due to previous error
9 For more information about this error, try `rustc --explain E0080`.