]> git.lizzy.rs Git - rust.git/blob - tests/ui/error-codes/E0120.rs
Rollup merge of #106709 - khuey:disable_split_dwarf_inlining_by_default, r=davidtwco
[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() {}