error[E0599]: no associated item named `MIN` found for type `u8` in the current scope | |
--> $DIR/issue-22933-3.rs:11:18 | |
| | |
LL | const FOO: [u32; u8::MIN as usize] = []; | |
| ^^^^^^^ associated item not found in `u8` | |
error: aborting due to previous error | |
For more information about this error, try `rustc --explain E0599`. |