Skip to content

Commit 787cb12

Browse files
committed
---
yaml --- r: 228346 b: refs/heads/try c: 3226858 h: refs/heads/master v: v3
1 parent 726393c commit 787cb12

File tree

5 files changed

+6
-20
lines changed

5 files changed

+6
-20
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: aca2057ed5fb7af3f8905b2bc01f72fa001c35c8
33
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
4-
refs/heads/try: eb99f0e4207915f4cb4246d9d6bc6109fa04400c
4+
refs/heads/try: 3226858e500fa70b46c18d1accedc60060f2bbc0
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
77
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try/src/libcollections/str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ impl str {
780780
///
781781
/// # Examples
782782
/// ```
783-
/// # #![feature(collections)]
783+
/// # #![feature(str_split_at)]
784784
/// let s = "Löwe 老虎 Léopard";
785785
/// let first_space = s.find(' ').unwrap_or(s.len());
786786
/// let (a, b) = s.split_at(first_space);

branches/try/src/libcollectionstest/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
#![feature(str_char)]
4545
#![feature(str_escape)]
4646
#![feature(str_match_indices)]
47+
#![feature(str_split_at)]
4748
#![feature(str_utf16)]
4849
#![feature(box_str)]
4950
#![feature(subslice_offset)]

branches/try/src/test/compile-fail/str-mut-idx-2.rs

Lines changed: 0 additions & 16 deletions
This file was deleted.

branches/try/src/test/compile-fail/str-mut-idx.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ fn bot<T>() -> T { loop {} }
1313
fn mutate(s: &mut str) {
1414
s[1..2] = bot();
1515
//~^ ERROR `core::marker::Sized` is not implemented for the type `str`
16-
//~^^ ERROR `core::marker::Sized` is not implemented for the type `str`
16+
//~| ERROR `core::marker::Sized` is not implemented for the type `str`
1717
s[1usize] = bot();
1818
//~^ ERROR `core::ops::Index<usize>` is not implemented for the type `str`
19-
//~^^ ERROR `core::ops::Index<usize>` is not implemented for the type `str`
19+
//~| ERROR `core::ops::IndexMut<usize>` is not implemented for the type `str`
20+
//~| ERROR `core::ops::Index<usize>` is not implemented for the type `str`
2021
}
2122

2223
pub fn main() {}

0 commit comments

Comments
 (0)