File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 8
8
// option. This file may not be copied, modified, or distributed
9
9
// except according to those terms.
10
10
11
+ // As noted by this file name, this file should not exist. This file should not
12
+ // exist because it performs allocations which libcore is not allowed to do. The
13
+ // reason for this file's existence is that the `~[T]` and `~str` types are
14
+ // language-defined types. Traits are defined in libcore, such as `Clone`, which
15
+ // these types need to implement, but the implementation can only be found in
16
+ // libcore.
17
+ //
18
+ // Plan of attack for solving this problem:
19
+ //
20
+ // 1. Implement DST
21
+ // 2. Make `Box<T>` not a language feature
22
+ // 3. Move `Box<T>` to a separate crate, liballoc.
23
+ // 4. Implement relevant trais in liballoc, not libcore
24
+ //
25
+ // Currently, no progress has been made on this list.
26
+
11
27
use char:: Char ;
12
28
use clone:: Clone ;
13
29
use container:: Container ;
You can’t perform that action at this time.
0 commit comments