diff options
| author | scalexm <martin.alex32@hotmail.fr> | 2017-08-04 14:44:12 +0200 | 
|---|---|---|
| committer | scalexm <martin.alex32@hotmail.fr> | 2017-08-14 15:07:21 +0200 | 
| commit | 0c3ac648f85cca1e8dd89dfff727a422bc1897a6 (patch) | |
| tree | 21de26a97b51002f5c3cd7f0f700e8ab0b4433b7 /src/libcore/array.rs | |
| parent | b1ff235490917e7cd351398d72557b3205474135 (diff) | |
| download | rust-0c3ac648f85cca1e8dd89dfff727a422bc1897a6.tar.gz rust-0c3ac648f85cca1e8dd89dfff727a422bc1897a6.zip | |
Make `Clone` a lang item and generate builtin impls.
Fixes #28229. Fixes #24000.
Diffstat (limited to 'src/libcore/array.rs')
| -rw-r--r-- | src/libcore/array.rs | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/src/libcore/array.rs b/src/libcore/array.rs index 37bd57034a7..0d9f9d16d82 100644 --- a/src/libcore/array.rs +++ b/src/libcore/array.rs @@ -124,6 +124,7 @@ macro_rules! array_impls { } #[stable(feature = "rust1", since = "1.0.0")] + #[cfg(stage0)] impl<T:Copy> Clone for [T; $N] { fn clone(&self) -> [T; $N] { *self | 
