This website requires JavaScript.
Explore
Help
Sign In
dnrops
/
rust
mirror of
https://github.com/rust-lang/rust.git
Watch
1
Star
0
Fork
You've already forked rust
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
master
rust
/
tests
/
ui
/
error-codes
/
E0586.rs
5 lines
104 B
Rust
Raw
Permalink
Blame
History
fn
main
(
)
{
let
tmp
=
vec!
[
0
,
1
,
2
,
3
,
4
,
4
,
3
,
3
,
2
,
1
]
;
let
x
=
&
tmp
[
1
..=
]
;
//~ ERROR E0586
}
Reference in New Issue
View Git Blame
Copy Permalink