Skip to content

Commit b985168

Browse files
committed
---
yaml --- r: 235417 b: refs/heads/stable c: 3226858 h: refs/heads/master i: 235415: 2f7e873 v: v3
1 parent 316ab5b commit b985168

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
@@ -29,7 +29,7 @@ refs/heads/tmp: afae2ff723393b3ab4ccffef6ac7c6d1809e2da0
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: f859507de8c410b648d934d8f5ec1c52daac971d
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: eb99f0e4207915f4cb4246d9d6bc6109fa04400c
32+
refs/heads/stable: 3226858e500fa70b46c18d1accedc60060f2bbc0
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
3535
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e

branches/stable/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/stable/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/stable/src/test/compile-fail/str-mut-idx-2.rs

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

branches/stable/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)