mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
10 lines
299 B
Rust
10 lines
299 B
Rust
// aux-build:issue-29181.rs
|
|
|
|
extern crate issue_29181 as foo;
|
|
|
|
fn main() {
|
|
0.homura(); //~ ERROR no method named `homura` found
|
|
// Issue #47759, detect existing method on the fundamental impl:
|
|
let _ = |x: f64| x * 2.0.exp(); //~ ERROR can't call method `exp` on ambiguous numeric type
|
|
}
|