]> git.lizzy.rs Git - rust.git/blob - tests/ui/error-codes/E0120.rs
Rollup merge of #105172 - alexs-sh:issue-98861-fix-next, r=scottmcm
[rust.git] / tests / ui / error-codes / E0120.rs
1 trait MyTrait { fn foo() {} }
2
3 impl Drop for dyn MyTrait {
4               //~^ ERROR E0120
5     fn drop(&mut self) {}
6 }
7
8 fn main() {}