Skip to content

Commit d8a9ec6

Browse files
committed
---
yaml --- r: 118655 b: refs/heads/try c: 4c2a8bb h: refs/heads/master i: 118653: d334780 118651: 77ce429 118647: 20b78ea 118639: 18a20b7 118623: ce0016c 118591: 30524e5 118527: 090f3dd v: v3
1 parent e1e6fbc commit d8a9ec6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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: b1646cbfd908dc948b251e362669af421100647a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: d6736a1440d42f6af967a8a20ab8d73522112b72
5-
refs/heads/try: 3ddb987f45c9126009b1c20cd1cc108b9de9c734
5+
refs/heads/try: 4c2a8bbc097b4ba0c317c07a095238aed128899d
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/test/compile-fail/borrowck-vec-pattern-loan-from-mut.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ fn a() {
1212
let mut v = vec!(1, 2, 3);
1313
let vb: &mut [int] = v.as_mut_slice();
1414
match vb {
15-
[_a, ..tail] => { //~ ERROR cannot use `vb[..]` because it was mutably borrowed
15+
[_a, ..tail] => {
1616
v.push(tail[0] + tail[1]); //~ ERROR cannot borrow
1717
}
1818
_ => {}

0 commit comments

Comments
 (0)