Skip to content

Commit 3e64a3e

Browse files
author
Julian Orth
committed
---
yaml --- r: 138171 b: refs/heads/try c: 5c05f90 h: refs/heads/master i: 138169: b35e107 138167: 4a0a413 v: v3
1 parent cb8acb2 commit 3e64a3e

File tree

13 files changed

+279
-322
lines changed

13 files changed

+279
-322
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: b6e0d3a5bf4c88650a22f605f822e02c6b163580
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
5-
refs/heads/try: 126f224d9aee9779e5270eea4d8992b04855c307
5+
refs/heads/try: 5c05f900bf56c6ddfae16c624d480e9ffa41ae9e
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/libcollections/slice.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ use vec::Vec;
101101

102102
pub use core::slice::{Chunks, AsSlice, ImmutableSlice, ImmutablePartialEqSlice};
103103
pub use core::slice::{ImmutableOrdSlice, MutableSlice, Items, MutItems};
104+
pub use core::slice::{ImmutableIntSlice, MutableIntSlice};
104105
pub use core::slice::{MutSplits, MutChunks, Splits};
105106
pub use core::slice::{bytes, mut_ref_slice, ref_slice, MutableCloneableSlice};
106107
pub use core::slice::{Found, NotFound};

branches/try/src/libcollections/vec.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -453,13 +453,13 @@ impl<T> Index<uint,T> for Vec<T> {
453453
}
454454
}
455455

456-
#[cfg(not(stage0))]
457-
impl<T> IndexMut<uint,T> for Vec<T> {
456+
// FIXME(#12825) Indexing will always try IndexMut first and that causes issues.
457+
/*impl<T> IndexMut<uint,T> for Vec<T> {
458458
#[inline]
459459
fn index_mut<'a>(&'a mut self, index: &uint) -> &'a mut T {
460460
self.get_mut(*index)
461461
}
462-
}
462+
}*/
463463

464464
impl<T> ops::Slice<uint, [T]> for Vec<T> {
465465
#[inline]
@@ -2154,6 +2154,7 @@ impl<T> Vec<T> {
21542154
}
21552155
}
21562156

2157+
21572158
#[cfg(test)]
21582159
mod tests {
21592160
extern crate test;

branches/try/src/librustc/lib.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,12 @@ This API is completely unstable and subject to change.
2929
html_root_url = "http://doc.rust-lang.org/nightly/")]
3030

3131
#![allow(deprecated)]
32-
#![feature(default_type_params, globs, if_let, import_shadowing, macro_rules, phase, quote)]
33-
#![feature(slicing_syntax, struct_variant, unsafe_destructor)]
32+
#![allow(unknown_features)]
33+
#![feature(macro_rules, globs, struct_variant, quote)]
34+
#![feature(default_type_params, phase, unsafe_destructor, slicing_syntax)]
35+
3436
#![feature(rustc_diagnostic_macros)]
37+
#![feature(import_shadowing)]
3538

3639
extern crate arena;
3740
extern crate debug;

0 commit comments

Comments
 (0)