fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
375 B13 linesraw
1error[E0689]: can't call method `f` on ambiguous numeric type `{integer}`
2  --> $DIR/issue-41652.rs:9:11
3   |
4LL |         3.f()
5   |           ^
6help: you must specify a concrete type for this numeric value, like `i32`
7   |
8LL |         3_i32.f()
9   |         ^^^^^
10
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0689`.