Skip to content

Commit 53c93c3

Browse files
committed
---
yaml --- r: 206591 b: refs/heads/beta c: d8d4bb4 h: refs/heads/master i: 206589: 47eed2c 206587: 34a8595 206583: b02e7a4 206575: 3be1e6a 206559: faab66e 206527: beef084 206463: 56817a0 206335: 43d6830 v: v3
1 parent 9a48f7f commit 53c93c3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
2929
refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3030
refs/heads/batch: b7fd822592a4fb577552d93010c4a4e14f314346
3131
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
32-
refs/heads/beta: ccf12853d869afa5c6a79baeabd2f2711116261d
32+
refs/heads/beta: d8d4bb4ce36d3de897fa3a63bf14cd8d4de45cea
3333
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928
3434
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
3535
refs/heads/tmp: 579e31929feff51dcaf8d444648eff8de735f91a

branches/beta/src/test/run-pass/issue-11205.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ fn foos(_: &[&Foo]) {}
2121
fn foog<T>(_: &[T], _: &[T]) {}
2222

2323
fn bar(_: [Box<Foo>; 2]) {}
24-
fn bars(_: &[Box<Foo>]) {}
24+
fn bars(_: &[Box<Foo+'static>]) {}
2525

2626
fn main() {
2727
let x: [&Foo; 2] = [&1, &2];
@@ -45,11 +45,11 @@ fn main() {
4545
bar(x);
4646
bar([Box::new(1), Box::new(2)]);
4747

48-
let x: &[Box<Foo>] = &[Box::new(1), Box::new(2)];
48+
let x: &[Box<Foo+'static>] = &[Box::new(1), Box::new(2)];
4949
bars(x);
5050
bars(&[Box::new(1), Box::new(2)]);
5151

52-
let x: &[Box<Foo>] = &[Box::new(1), Box::new(2)];
52+
let x: &[Box<Foo+'static>] = &[Box::new(1), Box::new(2)];
5353
foog(x, &[Box::new(1)]);
5454

5555
struct T<'a> {

0 commit comments

Comments
 (0)