Fix compile fail tests
This commit is contained in:
parent
60b0dd533b
commit
135c4ab5fe
@ -10,5 +10,5 @@
|
||||
|
||||
fn main() {
|
||||
let x: Option<&[u8]> = Some("foo").map(std::mem::transmute);
|
||||
//~^ ERROR: mismatched types
|
||||
//~^ ERROR: is not implemented for the type
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user