You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Label message always mention "unsafe call", even when nothing is actually called.
It should duplicate the main message instead, or use some paraphrase of it.
fn main() {
*(0 as *const u8);
}
error[E0133]: dereference of raw pointer requires unsafe function or block
--> <anon>:2:5
|
2 | *(0 as *const u8);
| ^^^^^^^^^^^^^^^^^ unsafe call requires unsafe function or block
error: aborting due to previous error