File tree Expand file tree Collapse file tree 5 files changed +6
-20
lines changed Expand file tree Collapse file tree 5 files changed +6
-20
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ refs/heads/tmp: afae2ff723393b3ab4ccffef6ac7c6d1809e2da0
29
29
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
30
30
refs/tags/homu-tmp: f859507de8c410b648d934d8f5ec1c52daac971d
31
31
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32
- refs/heads/stable: eb99f0e4207915f4cb4246d9d6bc6109fa04400c
32
+ refs/heads/stable: 3226858e500fa70b46c18d1accedc60060f2bbc0
33
33
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
34
34
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
35
35
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e
Original file line number Diff line number Diff line change @@ -780,7 +780,7 @@ impl str {
780
780
///
781
781
/// # Examples
782
782
/// ```
783
- /// # #![feature(collections )]
783
+ /// # #![feature(str_split_at )]
784
784
/// let s = "Löwe 老虎 Léopard";
785
785
/// let first_space = s.find(' ').unwrap_or(s.len());
786
786
/// let (a, b) = s.split_at(first_space);
Original file line number Diff line number Diff line change 44
44
#![ feature( str_char) ]
45
45
#![ feature( str_escape) ]
46
46
#![ feature( str_match_indices) ]
47
+ #![ feature( str_split_at) ]
47
48
#![ feature( str_utf16) ]
48
49
#![ feature( box_str) ]
49
50
#![ feature( subslice_offset) ]
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -13,10 +13,11 @@ fn bot<T>() -> T { loop {} }
13
13
fn mutate ( s : & mut str ) {
14
14
s[ 1 ..2 ] = bot ( ) ;
15
15
//~^ 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`
17
17
s[ 1usize ] = bot ( ) ;
18
18
//~^ 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`
20
21
}
21
22
22
23
pub fn main ( ) { }
You can’t perform that action at this time.
0 commit comments