]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-29181.rs
Add 'compiler/rustc_codegen_gcc/' from commit 'afae271d5d3719eeb92c18bc004bb6d1965a5f3f'
[rust.git] / src / test / ui / issues / issue-29181.rs
1 // aux-build:issue-29181.rs
2
3 extern crate issue_29181 as foo;
4
5 fn main() {
6     0.homura(); //~ ERROR no method named `homura` found
7     // Issue #47759, detect existing method on the fundamental impl:
8     let _ = |x: f64| x * 2.0.exp(); //~ ERROR can't call method `exp` on ambiguous numeric type
9 }