]> git.proxmox.com Git - rustc.git/blob - tests/ui/illegal-ufcs-drop.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / illegal-ufcs-drop.stderr
1 error[E0040]: explicit use of destructor method
2 --> $DIR/illegal-ufcs-drop.rs:9:5
3 |
4 LL | Drop::drop(&mut Foo)
5 | ^^^^^^^^^^
6 | |
7 | explicit destructor calls not allowed
8 | help: consider using `drop` function: `drop`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0040`.