]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0659.rs
Suggest `if let`/`let_else` for refutable pat in `let`
[rust.git] / src / test / ui / error-codes / E0659.rs
1 mod moon {
2     pub fn foo() {}
3 }
4
5 mod earth {
6     pub fn foo() {}
7 }
8
9 mod collider {
10     pub use moon::*;
11     pub use earth::*;
12 }
13
14 fn main() {
15     collider::foo(); //~ ERROR E0659
16 }