Closed
Description
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
Metadata
Metadata
Assignees
Labels
No labels