mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 07:22:42 +00:00
11 lines
221 B
Rust
11 lines
221 B
Rust
// check-pass
|
|
|
|
fn main() {
|
|
let mut schema_all: (Vec<String>, Vec<String>) = (vec![], vec![]);
|
|
|
|
let _c = || match schema_all.0.try_reserve(1) as Result<(), _> {
|
|
Ok(()) => (),
|
|
Err(_) => (),
|
|
};
|
|
}
|