Skip to content

Commit 77fbf1b

Browse files
committed
---
yaml --- r: 210479 b: refs/heads/try c: d8d4bb4 h: refs/heads/master i: 210477: a2290cb 210475: 29059c4 210471: 2cbe43b 210463: 8ebf168 v: v3
1 parent 9a2718c commit 77fbf1b

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
@@ -2,7 +2,7 @@
22
refs/heads/master: 3e561f05c00cd180ec02db4ccab2840a4aba93d2
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
5-
refs/heads/try: ccf12853d869afa5c6a79baeabd2f2711116261d
5+
refs/heads/try: d8d4bb4ce36d3de897fa3a63bf14cd8d4de45cea
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
88
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try/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)