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