summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/dont-suggest-ufcs-for-const.rs
blob: 06cf243f1b4fa9293e4469bb5f58921880e03ec7 (plain)
1
2
3
4
fn main() {
    1_u32.MAX();
    //~^ ERROR no method named `MAX` found for type `u32` in the current scope
}