mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
Temporarily remove non-working test case
This commit is contained in:
parent
20971602d5
commit
6911d9f066
@ -80,7 +80,7 @@ fn main() {
|
||||
//^^^^ error: non-exhaustive pattern: `Some(_)` not covered
|
||||
}
|
||||
}
|
||||
"#
|
||||
"#,
|
||||
);
|
||||
}
|
||||
|
||||
@ -94,17 +94,7 @@ fn test(x: Result<i32, !>) {
|
||||
}
|
||||
"#,
|
||||
);
|
||||
check_diagnostics(
|
||||
r#"
|
||||
//- minicore: result
|
||||
fn test(ptr: *const Result<i32, !>) {
|
||||
unsafe {
|
||||
let Ok(_x) = *ptr;
|
||||
//^^^^^^ error: non-exhaustive pattern: `Err(_)` not covered
|
||||
}
|
||||
}
|
||||
"#,
|
||||
);
|
||||
|
||||
check_diagnostics(
|
||||
r#"
|
||||
//- minicore: result
|
||||
|
Loading…
Reference in New Issue
Block a user