summary refs log tree commit diff
path: root/src/test/ui/pattern/bindings-after-at
AgeCommit message (Collapse)AuthorLines
2020-03-25borrowck: prefer "value" over "`_`".Mazdak Farrokhzad-41/+41
2020-03-04test(pattern): harden tests for or-patterns with slice-patternsMatthew Kuo-2/+15
Some of the nested OR paths were being missed
2020-03-04test(pattern): add tests for combinations of pattern featuresMatthew Kuo-0/+204
Reference issue #67311 Tests combinations of the following pattern features: - bindings_after_at - or_patterns - slice_patterns - box_patterns
2020-02-21Fix error messageLeSeulArtichaut-33/+33
Bless tests
2020-02-11Auto merge of #68929 - matprec:consistent-issue-references, r=Dylan-DPCbors-1/+1
Make issue references consistent Fixes https://github.com/rust-lang/rust/issues/62976 cc https://github.com/rust-lang/rust/pull/63008 r? @varkor because you reviewed the original pr
2020-02-09--bless --compare-mode=nllMatthias Prechtl-1/+1
2020-02-09Don't parse `mut a @ b` as `mut a @ mut b`Matthew Jasper-0/+75
2020-02-09Auto merge of #68376 - Centril:move-ref-patterns, r=matthewjasperbors-635/+1523
Initial implementation of `#![feature(move_ref_pattern)]` Following up on #45600, under the gate `#![feature(move_ref_pattern)]`, `(ref x, mut y)` is allowed subject to restrictions necessary for soundness. The match checking implementation and tests for `#![feature(bindings_after_at)]` is also adjusted as necessary. Closes #45600. Tracking issue: #68354. r? @matthewjasper
2020-02-02move_ref_pattern: change pov in diagnostics & add binding namesMazdak Farrokhzad-457/+457
2020-02-02move_ref_patterns: introduce testsMazdak Farrokhzad-400/+1288
bindings_after_at: harden tests
2020-02-01Remove or_patterns from INCOMPLETE_FEATURESMatthew Jasper-19/+10
2020-01-18slice_patterns: remove gates in testsMazdak Farrokhzad-124/+117
2020-01-09Update testsVadim Petrochenkov-12/+30
2019-12-23Remove `bindings_after_at` from `INCOMPLETE_FEATURES`.Mazdak Farrokhzad-284/+151
2019-12-23Test that nested type ascription is banned.Mazdak Farrokhzad-0/+69
2019-12-23Test that `_ @ subpat` is syntactically rejected.Mazdak Farrokhzad-0/+59
2019-12-23harden & split borrowck-pat-at-and-boxMazdak Farrokhzad-62/+139
2019-12-23enhance borrowck-pat-by-copy-bindings-in-atMazdak Farrokhzad-0/+7
2019-12-23clarify bind-by-move-neither-can-livee..Mazdak Farrokhzad-4/+72
2019-12-23bindings_after_at: harden tests wrt. contexts & slice_patternsMazdak Farrokhzad-108/+477
2019-12-23bindings_after_at: harden tests wrt. promotionMazdak Farrokhzad-93/+235
2019-12-23--bless bindings-after-at testsMazdak Farrokhzad-66/+497
2019-12-23check_legality_of_move_bindings: generalize diagnostics & add commentsMazdak Farrokhzad-12/+13
2019-12-23Introduce `#![feature(bindings_after_at)]`.Mazdak Farrokhzad-0/+1118
Under the gate, `x @ Some(y)` is allowed. This is subject to various restrictions for soundness.