]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0184.rs
Rollup merge of #95376 - WaffleLapkin:drain_keep_rest, r=dtolnay
[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 }