diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2014-12-07 11:10:48 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2014-12-12 20:25:21 -0500 |
| commit | 9f492fefef8d9a75f6dc27c834561fe977ca70c5 (patch) | |
| tree | bfeccff865c113ad6667fbe809a1cb57a91d1e51 /src/libcore | |
| parent | 2be6c4f1ca6726068ceb70e7fb5369f2c1a42bb0 (diff) | |
| download | rust-9f492fefef8d9a75f6dc27c834561fe977ca70c5.tar.gz rust-9f492fefef8d9a75f6dc27c834561fe977ca70c5.zip | |
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`).
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/kinds.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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. } |
