fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0599]: no associated item named `MIN` found for type `u8` in the current scope 2 --> $DIR/issue-22933-3.rs:1:22 3 | 4LL | const FOO: [u32; u8::MIN as usize] = []; 5 | ^^^ associated item not found in `u8` 6help: you are looking for the module in `std`, not the primitive type 7 | 8LL | const FOO: [u32; std::u8::MIN as usize] = []; 9 | ^^^^^^^^^^^^ 10 11error: aborting due to previous error 12 13For more information about this error, try `rustc --explain E0599`.