This website requires JavaScript.
Explore
Help
Sign in
bjoernager
/
rust
Watch
1
Fork
You've already forked rust
0
Code
Activity
d730f27fc8
rust
/
tests
/
ui
/
error-codes
/
E0586.rs
5 lines
104 B
Rust
Raw
Normal View
History
Unescape
Escape
Add tests for newly added error codes
2017-02-12 15:08:15 +01:00
fn
main
(
)
{
let
tmp
=
vec!
[
0
,
1
,
2
,
3
,
4
,
4
,
3
,
3
,
2
,
1
]
;
Add support for `..=` syntax Add ..= to the parser Add ..= to libproc_macro Add ..= to ICH Highlight ..= in rustdoc Update impl Debug for RangeInclusive to ..= Replace `...` to `..=` in range docs Make the dotdoteq warning point to the ... Add warning for ... in expressions Updated more tests to the ..= syntax Updated even more tests to the ..= syntax Updated the inclusive_range entry in unstable book
2017-09-19 05:40:04 +00:00
let
x
=
&
tmp
[
1
..=
]
;
//~ ERROR E0586
Add tests for newly added error codes
2017-02-12 15:08:15 +01:00
}
Copy permalink