rust/tests/ui/issues/issue-41652/issue-41652.rs
2024-02-16 20:02:50 +00:00

15 lines
231 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() {}