File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
branches/dist-snap/src/test/compile-fail Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9
9
refs/heads/incoming: 44d4d6de762f3f9aae1fedcf454c66b79b3ad58d
10
- refs/heads/dist-snap: a8ff91a630880fabc047d3d3d9383da2a9d59378
10
+ refs/heads/dist-snap: 097c8aefea1feca5c3f5ff93025e9477cc6fbb0e
11
11
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
12
12
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
13
13
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
Original file line number Diff line number Diff line change 9
9
// except according to those terms.
10
10
11
11
fn main ( ) {
12
- let mut x: ~[ mut int] = ~[ 3 ] ;
12
+ let mut x: ~[ int ] = ~[ 3 ] ;
13
13
let y: ~[ int ] = ~[ 3 ] ;
14
14
x = y; //~ ERROR values differ in mutability
15
15
}
Original file line number Diff line number Diff line change 10
10
11
11
// xfail-test
12
12
fn function ( ) -> & [ mut int] {
13
- let mut x: & static/[ mut int ] = & [ 1 , 2 , 3 ] ;
13
+ let mut x: & static/[ int ] = & [ 1 , 2 , 3 ] ;
14
14
x[ 0 ] = 12345 ;
15
15
x //~ ERROR bad
16
16
}
You can’t perform that action at this time.
0 commit comments