]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0393.rs
Suggest `if let`/`let_else` for refutable pat in `let`
[rust.git] / src / test / ui / error-codes / E0393.rs
1 trait A<T=Self> {}
2
3 fn together_we_will_rule_the_galaxy(son: &dyn A) {}
4 //~^ ERROR E0393
5
6 fn main() {
7 }