summaryrefslogtreecommitdiffstats
path: root/src/test/ui/pin-macro/cant_access_internals.stderr
blob: 060c9c48c21c8640aa657325d3d7e90786674c90 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0658]: use of unstable library feature 'unsafe_pin_internals'
  --> $DIR/cant_access_internals.rs:12:15
   |
LL |     mem::take(phantom_pinned.pointer);
   |               ^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: add `#![feature(unsafe_pin_internals)]` to the crate attributes to enable

error: aborting due to previous error

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