summaryrefslogtreecommitdiffstats
path: root/tests/ui/drop/drop-foreign-fundamental.stderr
blob: fbd1ba0859134b8ea4b33b54655bed8bdb2d59e6 (plain)
1
2
3
4
5
6
7
8
9
error[E0120]: the `Drop` trait may only be implemented for local structs, enums, and unions
  --> $DIR/drop-foreign-fundamental.rs:16:15
   |
LL | impl Drop for Pin<Whatever<A>> {
   |               ^^^^^^^^^^^^^^^^ must be a struct, enum, or union in the current crate

error: aborting due to previous error

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