]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0184.rs
Suggest `if let`/`let_else` for refutable pat in `let`
[rust.git] / src / test / ui / error-codes / E0184.rs
1 #[derive(Copy)] //~ ERROR E0184
2 struct Foo;
3
4 impl Drop for Foo {
5     fn drop(&mut self) {
6     }
7 }
8
9 fn main() {
10 }