summaryrefslogtreecommitdiffstats
path: root/tests/ui/illegal-ufcs-drop.stderr
blob: 91f47d5e456d38871b95ae66d621925338c6035e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0040]: explicit use of destructor method
  --> $DIR/illegal-ufcs-drop.rs:9:5
   |
LL |     Drop::drop(&mut Foo)
   |     ^^^^^^^^^^
   |     |
   |     explicit destructor calls not allowed
   |     help: consider using `drop` function: `drop`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0040`.