]> git.lizzy.rs Git - rust.git/blob - src/test/ui/explicit/explicit-call-to-dtor.stderr
Print correct base for too-large literals
[rust.git] / src / test / ui / explicit / explicit-call-to-dtor.stderr
1 error[E0040]: explicit use of destructor method
2   --> $DIR/explicit-call-to-dtor.rs:15:7
3    |
4 LL |     x.drop();
5    |     --^^^^--
6    |     | |
7    |     | explicit destructor calls not allowed
8    |     help: consider using `drop` function: `drop(x)`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0040`.