From 9f492fefef8d9a75f6dc27c834561fe977ca70c5 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Sun, 7 Dec 2014 11:10:48 -0500 Subject: Switch to using predicates to drive checking. Correct various tests -- in most cases, just the error message changed, but in some cases we are reporting new errors that OUGHT to have been reported before but we're overlooked (mostly involving the `'static` bound on `Send`). --- src/libcore/kinds.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libcore') diff --git a/src/libcore/kinds.rs b/src/libcore/kinds.rs index f932acffd3c..2b92ae8af0a 100644 --- a/src/libcore/kinds.rs +++ b/src/libcore/kinds.rs @@ -19,7 +19,7 @@ /// Types able to be transferred across task boundaries. #[lang="send"] -pub trait Send for Sized? { +pub trait Send for Sized? : 'static { // empty. } -- cgit 1.4.1-3-g733a5