]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-29181.rs
Rollup merge of #107186 - GuillaumeGomez:correct-pseudo-element-selector, r=notriddle
[rust.git] / tests / 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 }