]> git.lizzy.rs Git - rust.git/blob - src/test/ui/illegal-ufcs-drop.stderr
Auto merge of #60132 - davidtwco:issue-60075, r=estebank
[rust.git] / src / test / ui / illegal-ufcs-drop.stderr
1 error[E0040]: explicit use of destructor method
2   --> $DIR/illegal-ufcs-drop.rs:8:5
3    |
4 LL |     Drop::drop(&mut Foo)
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`.