rust/tests/ui/issues/issue-41652/issue-41652.rs

15 lines
230 B
Rust
Raw Normal View History

2018-11-04 22:00:03 -06:00
// 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() {}