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-05-14 02:49:40 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
aa5dbee3eb
rust
/
tests
/
ui
/
parser
/
pat-lt-bracket-5.rs
4 lines
99 B
Rust
Raw
Normal View
History
Unescape
Escape
Add tests for parsing of patterns
2015-04-03 02:56:27 +00:00
fn
main
(
)
{
parser: `let` stmts & `for` exprs: allow or-patterns.
2019-08-18 20:54:07 +00:00
let
v
[
0
]
=
v
[
1
]
;
//~ ERROR expected one of `:`, `;`, `=`, `@`, or `|`, found `[`
Revert to correct recovery behavior
2017-11-23 21:16:19 +00:00
}
Reference in New Issue
Copy Permalink