mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 21:13:37 +00:00
Temporarily remove non-working test case
This commit is contained in:
parent
5316ba9158
commit
a7bc556a5e
1 changed files with 2 additions and 12 deletions
|
@ -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 a new issue