This website requires JavaScript.
Explore
Help
Sign in
bjoernager
/
rust
Watch
1
Fork
You've already forked rust
0
Code
Issues
Pull requests
Activity
12c32e944d
rust
/
src
/
test
/
compile-fail
/
pat-shadow-in-nested-binding.rs
6 lines
98 B
Rust
Raw
Normal View
History
Unescape
Escape
detect and report shadows in nested bindings
2012-05-21 09:37:22 -07:00
enum
foo
=
uint
;
fn
main
(
)
{
test: Fix error messages in compile-fail tests. rs=rustbot
2012-11-02 10:43:15 -07:00
let
(
foo
,
_
)
=
(
2
,
3
)
;
//~ ERROR declaration of `foo` shadows
detect and report shadows in nested bindings
2012-05-21 09:37:22 -07:00
}
Reference in a new issue
Copy permalink