Debian Codegraph @

third_party/rust/pin-project/tests/ui/pinned_drop/unsafe-call.stderr

raw
1 error[E0133]: call to unsafe function is unsafe and requires unsafe function or block
2 --> tests/ui/pinned_drop/unsafe-call.rs:14:9
3 |
4 11 | #[pinned_drop]
5 | -------------- items do not inherit unsafety from separate enclosing items
6 ...
7 14 | self.project().f.get_unchecked_mut(); //~ ERROR call to unsafe function is unsafe and requires unsafe function or block [E0133]
8 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function
9 |
10 = note: consult the function's documentation for information on how to avoid undefined behavior