rust/tests/ui/suggestions/dont-suggest-ufcs-for-const.rs
2023-01-11 09:32:08 +00:00

5 lines
110 B
Rust

fn main() {
1_u32.MAX();
//~^ ERROR no method named `MAX` found for type `u32` in the current scope
}