This website requires JavaScript.
Explore
Sign In
mirror
/
rust
mirror of
https://github.com/rust-lang/rust
Watch
1
Star
0
Fork
You've already forked rust
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
master
rust
/
tests
/
ui
/
methods
/
issues
/
account-for-shadowed-bindin...
8 lines
125 B
Rust
Raw
Permalink
Blame
History
fn
main
(
)
{
let
x
=
Some
(
3
)
;
let
y
=
vec!
[
1
,
2
]
;
if
let
Some
(
y
)
=
x
{
y
.
push
(
y
)
;
//~ ERROR E0599
}
}
Reference in New Issue
View Git Blame
Copy Permalink