about summary refs log tree commit diff
path: root/tests/ui/suggestions/suggest-std-when-using-type.fixed
blob: 0547940f94d316a5c6b84663af8bac157f1682d5 (plain)
1
2
3
4
5
//@ run-rustfix
fn main() {
    let pi = std::f32::consts::PI; //~ ERROR ambiguous associated type
    println!("{pi}");
}