| David Tolnay | 2621946 | 2020-11-09 19:47:28 -0800 | [diff] [blame] | 1 | error[E0133]: call to unsafe function is unsafe and requires unsafe function or block |
| 2 | --> $DIR/missing_unsafe.rs:4:12 | ||||
| 3 | | | ||||
| 4 | 4 | fn f(x: i32); | ||||
| 5 | | ^ call to unsafe function | ||||
| 6 | | | ||||
| 7 | = note: consult the function's documentation for information on how to avoid undefined behavior | ||||