Auto merge of #11745 - servo:rustup, r=mbrubeck

Update to rustc 2016-06-14.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11745)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-06-14 18:32:37 -05:00 committed by GitHub
commit 40e2b7d674
6 changed files with 186 additions and 188 deletions

View file

@ -217,9 +217,9 @@ impl ChildrenList {
// by ChildrenMutation::replace().
unreachable!()
},
(_, [node, ..], _) => node,
(_, [], Some(next)) => next,
(Some(prev), [], None) => {
(_, &[node, ..], _) => node,
(_, &[], Some(next)) => next,
(Some(prev), &[], None) => {
list.last_index.set(index - 1u32);
prev
},