summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-41652/issue-41652.rs
blob: d8a6f4c8d9d04198f89901a67b54f4058eaa8108 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// aux-build:issue-41652-b.rs

extern crate issue_41652_b;

struct S;

impl issue_41652_b::Tr for S {
    fn f() {
        3.f()
        //~^ ERROR can't call method `f` on ambiguous numeric type `{integer}`
    }
}

fn main() {}