This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
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 11:37:22 -05:00
enum
foo
=
uint
;
fn
main
(
)
{
test: Fix error messages in compile-fail tests. rs=rustbot
2012-11-02 12:43:15 -05:00
let
(
foo
,
_
)
=
(
2
,
3
)
;
//~ ERROR declaration of `foo` shadows
detect and report shadows in nested bindings
2012-05-21 11:37:22 -05:00
}
Reference in New Issue
Copy Permalink