File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
branches/beta/src/test/run-pass Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
29
29
refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
30
30
refs/heads/batch: b7fd822592a4fb577552d93010c4a4e14f314346
31
31
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
32
- refs/heads/beta: ccf12853d869afa5c6a79baeabd2f2711116261d
32
+ refs/heads/beta: d8d4bb4ce36d3de897fa3a63bf14cd8d4de45cea
33
33
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
34
34
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
35
35
refs/heads/tmp: 579e31929feff51dcaf8d444648eff8de735f91a
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ fn foos(_: &[&Foo]) {}
21
21
fn foog < T > ( _: & [ T ] , _: & [ T ] ) { }
22
22
23
23
fn bar ( _: [ Box < Foo > ; 2 ] ) { }
24
- fn bars ( _: & [ Box < Foo > ] ) { }
24
+ fn bars ( _: & [ Box < Foo + ' static > ] ) { }
25
25
26
26
fn main ( ) {
27
27
let x: [ & Foo ; 2 ] = [ & 1 , & 2 ] ;
@@ -45,11 +45,11 @@ fn main() {
45
45
bar ( x) ;
46
46
bar ( [ Box :: new ( 1 ) , Box :: new ( 2 ) ] ) ;
47
47
48
- let x: & [ Box < Foo > ] = & [ Box :: new ( 1 ) , Box :: new ( 2 ) ] ;
48
+ let x: & [ Box < Foo + ' static > ] = & [ Box :: new ( 1 ) , Box :: new ( 2 ) ] ;
49
49
bars ( x) ;
50
50
bars ( & [ Box :: new ( 1 ) , Box :: new ( 2 ) ] ) ;
51
51
52
- let x: & [ Box < Foo > ] = & [ Box :: new ( 1 ) , Box :: new ( 2 ) ] ;
52
+ let x: & [ Box < Foo + ' static > ] = & [ Box :: new ( 1 ) , Box :: new ( 2 ) ] ;
53
53
foog ( x, & [ Box :: new ( 1 ) ] ) ;
54
54
55
55
struct T < ' a > {
You can’t perform that action at this time.
0 commit comments