Stabilize exclusive_range
This commit is contained in:
parent
79734f1db8
commit
6967d1c0fc
74 changed files with 300 additions and 619 deletions
|
@ -3,7 +3,5 @@ fn main() {
|
|||
let xs = [13, 1, 5, 2, 3, 1, 21, 8];
|
||||
let [a @ 3.., b @ ..3, c @ 4..6, ..] = xs;
|
||||
//~^ `X..` patterns in slices are experimental
|
||||
//~| exclusive range pattern syntax is experimental
|
||||
//~| exclusive range pattern syntax is experimental
|
||||
//~| ERROR: refutable pattern
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue