Skip to content

Commit c262c29

Browse files
committed
---
yaml --- r: 151645 b: refs/heads/try2 c: 82a8a5e h: refs/heads/master i: 151643: 720dbb0 v: v3
1 parent aec246a commit c262c29

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 57f3b6ee5c7c3261592342118b05b93409e285ce
8+
refs/heads/try2: 82a8a5ebb3b3c34cd135da511641a9df28e2c30e
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/src/libcore/should_not_exist.rs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,22 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

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+
1127
use char::Char;
1228
use clone::Clone;
1329
use container::Container;

0 commit comments

Comments
 (0)