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
/
enum-in-scope.rs
6 lines
92 B
Rust
Raw
Normal View
History
Unescape
Escape
test: Add compile-fail test for shadowing in-scope enums
2012-04-11 23:28:25 -05:00
enum
hello
=
int
;
fn
main
(
)
{
test: Fix error messages in compile-fail tests. rs=rustbot
2012-11-02 12:43:15 -05:00
let
hello
=
0
;
//~ERROR declaration of `hello` shadows
}
Reference in New Issue
Copy Permalink