mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
15 lines
230 B
Rust
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() {}
|