fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
380 B14 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   |           ^
6   |
7help: you must specify a concrete type for this numeric value, like `i32`
8   |
9LL |         3_i32.f()
10   |         ^^^^^
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0689`.