1error[E0133]: call to unsafe function `f` is unsafe and requires unsafe function or block
2 --> tests/ui/missing_unsafe.rs:4:12
3  |
44 |         fn f(x: i32);
5  |            ^        - items do not inherit unsafety from separate enclosing items
6  |            |
7  |            call to unsafe function
8  |
9  = note: consult the function's documentation for information on how to avoid undefined behavior
10