Files
rust/tests/ui/error-codes/E0120.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
138 B
Rust
Raw Normal View History

trait MyTrait { fn foo(&self) {} }
2016-05-27 22:06:24 +02:00
2019-05-28 14:46:13 -04:00
impl Drop for dyn MyTrait {
2016-08-04 16:10:18 +01:00
//~^ ERROR E0120
2016-05-27 22:06:24 +02:00
fn drop(&mut self) {}
2016-05-27 22:06:24 +02:00
}
fn main() {}