blob: 9f98fb5f26c2a27b33f8d2f3a69be3d0923451a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
error[E0040]: explicit use of destructor method
--> $DIR/explicit-call-to-supertrait-dtor.rs:23:14
|
LL | self.drop();
| ^^^^ explicit destructor calls not allowed
|
help: consider using `drop` function
|
LL - self.drop();
LL + drop(self);
|
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0040`.
|