]> git.lizzy.rs Git - rust.git/blob - src/test/ui/codemap_tests/one_line.rs
Rollup merge of #103159 - cuviper:check_pow-final-try_opt, r=Mark-Simulacrum
[rust.git] / src / test / ui / codemap_tests / one_line.rs
1 fn main() {
2     let mut v = vec![Some("foo"), Some("bar")];
3     v.push(v.pop().unwrap()); //~ ERROR cannot borrow
4 }