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