]> git.lizzy.rs Git - rust.git/blob - src/test/ui/explicit/explicit-call-to-supertrait-dtor.stderr
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / explicit / explicit-call-to-supertrait-dtor.stderr
1 error[E0040]: explicit use of destructor method
2   --> $DIR/explicit-call-to-supertrait-dtor.rs:17:14
3    |
4 LL |         self.drop();    //~ ERROR explicit use of destructor method
5    |              ^^^^ explicit destructor calls not allowed
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0040`.