fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
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`.