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.
1 parent 60b0dd5 commit 135c4abCopy full SHA for 135c4ab
src/test/compile-fail/coerce-unsafe-to-closure.rs
@@ -10,5 +10,5 @@
10
11
fn main() {
12
let x: Option<&[u8]> = Some("foo").map(std::mem::transmute);
13
- //~^ ERROR: mismatched types
+ //~^ ERROR: is not implemented for the type
14
}
0 commit comments