2018-11-05 04:00:03 +00:00
|
|
|
// aux-build:issue-41652-b.rs
|
2017-05-01 15:27:36 +08:00
|
|
|
|
|
|
|
extern crate issue_41652_b;
|
|
|
|
|
|
|
|
struct S;
|
|
|
|
|
|
|
|
impl issue_41652_b::Tr for S {
|
|
|
|
fn f() {
|
|
|
|
3.f()
|
2018-01-03 19:18:17 -08:00
|
|
|
//~^ ERROR can't call method `f` on ambiguous numeric type `{integer}`
|
2017-05-01 15:27:36 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|