blob: 9f7dd440a5391f9ff88f1c8f2336e55c1004b839 (
plain)
1
2
3
4
5
6
7
|
error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
--> tests/ui/pinned_drop/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
|