Skip to content

Commit 6654553

Browse files
committed
---
yaml --- r: 83538 b: refs/heads/try c: c151d37 h: refs/heads/master v: v3
1 parent a4dea99 commit 6654553

File tree

12 files changed

+388
-484
lines changed

12 files changed

+388
-484
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 0e4d1fc8cae42e15e00f71d9f439b01bb25a86ae
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 6c08cc2db4f98e9f07ae7d50338396c4123c2f0a
5-
refs/heads/try: 3709aa78d8fc75ed739e837d7c96205b8494188d
5+
refs/heads/try: c151d371fcfb51fbf4d84f0ef266e30d64acd71a
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/librustc/middle/check_match.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -773,12 +773,12 @@ pub fn specialize(cx: &MatchCheckCtxt,
773773
let num_elements = before.len() + after.len();
774774
if num_elements < arity && slice.is_some() {
775775
Some(vec::append(
776-
[
776+
vec::concat(&[
777777
before,
778778
vec::from_elem(
779779
arity - num_elements, wild()),
780780
after
781-
].concat_vec(),
781+
]),
782782
r.tail()
783783
))
784784
} else if num_elements == arity {

0 commit comments

Comments
 (0)