diff options
Diffstat (limited to 'src/libcore/raw.rs')
| -rw-r--r-- | src/libcore/raw.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/raw.rs b/src/libcore/raw.rs index 5cc210df5b4..35dfc762687 100644 --- a/src/libcore/raw.rs +++ b/src/libcore/raw.rs @@ -70,6 +70,7 @@ impl<T> Copy for Slice<T> {} #[deprecated(reason = "unboxed new closures do not have a universal representation; \ `&Fn` (etc) trait objects should use `TraitObject` instead", since= "1.0.0")] +#[allow(deprecated) /* for deriving Copy impl */] pub struct Closure { pub code: *mut (), pub env: *mut (), |
