b092b5d02b
implement #123558
7 lines
125 B
Rust
7 lines
125 B
Rust
fn main() {
|
|
let x = Some(3);
|
|
let y = vec![1, 2];
|
|
if let Some(y) = x {
|
|
y.push(y); //~ ERROR E0599
|
|
}
|
|
}
|