2018-01-03 21:18:17 -06:00
|
|
|
error[E0689]: can't call method `f` on ambiguous numeric type `{integer}`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/issue-41652.rs:9:11
|
2017-05-01 02:27:36 -05:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | 3.f()
|
2017-05-01 02:27:36 -05:00
|
|
|
| ^
|
2019-10-24 00:20:58 -05:00
|
|
|
|
|
2018-01-04 14:23:14 -06:00
|
|
|
help: you must specify a concrete type for this numeric value, like `i32`
|
2017-05-01 02:27:36 -05:00
|
|
|
|
|
2018-02-24 17:01:39 -06:00
|
|
|
LL | 3_i32.f()
|
2021-06-21 21:07:19 -05:00
|
|
|
| ~~~~~
|
2017-05-01 02:27:36 -05:00
|
|
|
|
2017-07-02 05:49:30 -05:00
|
|
|
error: aborting due to previous error
|
2017-05-01 02:27:36 -05:00
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0689`.
|