aboutsummaryrefslogtreecommitdiff
path: root/tests/ui/pinned_drop/unsafe-call.stderr
blob: 6216200f9dadd64af85705c3618a8ae5d8d6bbd2 (plain)
1
2
3
4
5
6
7
error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
  --> $DIR/unsafe-call.rs:14:9
   |
14 |         self.project().f.get_unchecked_mut(); //~ ERROR call to unsafe function is unsafe and requires unsafe function or block [E0133]
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
   |
   = note: consult the function's documentation for information on how to avoid undefined behavior