about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2015-05-08 15:39:25 +0200
committerFelix S. Klock II <pnkfelix@pnkfx.org>2015-05-08 15:39:25 +0200
commitd8d4bb4ce36d3de897fa3a63bf14cd8d4de45cea (patch)
tree1a7d5ef33bc0cec003cf1a16a5abf4500de8bae2 /src
parentccf12853d869afa5c6a79baeabd2f2711116261d (diff)
downloadrust-d8d4bb4ce36d3de897fa3a63bf14cd8d4de45cea.tar.gz
rust-d8d4bb4ce36d3de897fa3a63bf14cd8d4de45cea.zip
fallout to run-pass tests.
Diffstat (limited to 'src')
-rw-r--r--src/test/run-pass/issue-11205.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/run-pass/issue-11205.rs b/src/test/run-pass/issue-11205.rs
index 41b54727b66..679d494a473 100644
--- a/src/test/run-pass/issue-11205.rs
+++ b/src/test/run-pass/issue-11205.rs
@@ -21,7 +21,7 @@ fn foos(_: &[&Foo]) {}
 fn foog<T>(_: &[T], _: &[T]) {}
 
 fn bar(_: [Box<Foo>; 2]) {}
-fn bars(_: &[Box<Foo>]) {}
+fn bars(_: &[Box<Foo+'static>]) {}
 
 fn main() {
     let x: [&Foo; 2] = [&1, &2];
@@ -45,11 +45,11 @@ fn main() {
     bar(x);
     bar([Box::new(1), Box::new(2)]);
 
-    let x: &[Box<Foo>] = &[Box::new(1), Box::new(2)];
+    let x: &[Box<Foo+'static>] = &[Box::new(1), Box::new(2)];
     bars(x);
     bars(&[Box::new(1), Box::new(2)]);
 
-    let x: &[Box<Foo>] = &[Box::new(1), Box::new(2)];
+    let x: &[Box<Foo+'static>] = &[Box::new(1), Box::new(2)];
     foog(x, &[Box::new(1)]);
 
     struct T<'a> {