]> git.lizzy.rs Git - rust.git/blob - tests/ui/explicit/explicit-call-to-supertrait-dtor.stderr
Auto merge of #106458 - albertlarsan68:move-tests, r=jyn514
[rust.git] / tests / ui / explicit / explicit-call-to-supertrait-dtor.stderr
1 error[E0040]: explicit use of destructor method
2   --> $DIR/explicit-call-to-supertrait-dtor.rs:19:14
3    |
4 LL |         self.drop();
5    |         -----^^^^--
6    |         |    |
7    |         |    explicit destructor calls not allowed
8    |         help: consider using `drop` function: `drop(self)`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0040`.