fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0425]: cannot find function `foo1` in crate `similar_unstable_method` 2 --> $DIR/issue-109177.rs:7:30 3 | 4LL | similar_unstable_method::foo1(); 5 | ^^^^ help: a function with a similar name exists: `foo` 6 | 7 ::: $DIR/auxiliary/similar-unstable-method.rs:5:1 8 | 9LL | pub fn foo() {} 10 | ------------ similarly named function `foo` defined here 11 12error[E0599]: no method named `foo1` found for struct `Foo` in the current scope 13 --> $DIR/issue-109177.rs:11:9 14 | 15LL | foo.foo1(); 16 | ^^^^ method not found in `Foo` 17 18error: aborting due to 2 previous errors 19 20Some errors have detailed explanations: E0425, E0599. 21For more information about an error, try `rustc --explain E0425`.