This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
rust
Watch
2
Star
0
Fork
0
You've already forked rust
mirror of
https://github.com/rust-lang/rust.git
synced
2025-02-11 22:43:42 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
be9dbe9102
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 14:08:15 +00: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 14:08:15 +00:00
}
Reference in New Issue
Copy Permalink