We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
The following code compiles, surprisingly:
let x: Option<&[u8]> = Some("foo").map(std::cast::transmute);
The coercion of std::cast::transmute to &fn should only be allowed inside an unsafe block.
std::cast::transmute
&fn
unsafe