Skip to content

Commit 135c4ab

Browse files
author
Jorge Aparicio
committed
Fix compile fail tests
1 parent 60b0dd5 commit 135c4ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/compile-fail/coerce-unsafe-to-closure.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010

1111
fn main() {
1212
let x: Option<&[u8]> = Some("foo").map(std::mem::transmute);
13-
//~^ ERROR: mismatched types
13+
//~^ ERROR: is not implemented for the type
1414
}

0 commit comments

Comments
 (0)