rust/src/librustc/util
Huon Wilson cae969e2a7 Remove the implicit 'static bound on Send.
Previously Send was defined as `trait Send: 'static {}`. As detailed in
https://github.com/rust-lang/rfcs/pull/458, the `'static` bound is not
actually necessary for safety, we can use lifetimes to enforce that more
flexibly.

`unsafe` code that was previously relying on `Send` to insert a
`'static` bound now may allow incorrect patterns, and so should be
audited (a quick way to ensure safety immediately and postpone the audit
is to add an explicit `'static` bound to any uses of the `Send` type).

cc #22251.
2015-02-18 08:19:21 +11:00
..
common.rs remove all kind annotations from closures 2015-02-04 20:06:08 -05:00
lev_distance.rs undo some conversions 2015-01-29 07:49:02 -05:00
nodemap.rs Switch missing_copy_implementations to default-allow 2015-02-03 23:31:07 -08:00
ppaux.rs Remove the implicit 'static bound on Send. 2015-02-18 08:19:21 +11:00
snapshot_vec.rs Switch missing_copy_implementations to default-allow 2015-02-03 23:31:07 -08:00