rust/tests/ui/issues/issue-41652/issue-41652.rs
2023-01-11 09:32:08 +00:00

15 lines
230 B
Rust

// 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() {}