File tree 4 files changed +8
-25
lines changed
4 files changed +8
-25
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,6 @@ mod btree;
171
171
pub mod borrow;
172
172
pub mod fmt;
173
173
pub mod linked_list;
174
- pub mod range;
175
174
pub mod slice;
176
175
pub mod str;
177
176
pub mod string;
@@ -204,8 +203,7 @@ trait SpecExtend<I: IntoIterator> {
204
203
fn spec_extend ( & mut self , iter : I ) ;
205
204
}
206
205
207
- #[ rustc_deprecated( reason = "moved to core::ops" , since = "1.19.0" ) ]
208
- #[ allow( deprecated) ]
206
+ #[ rustc_deprecated( reason = "moved to core::ops" , since = "1.22.0" ) ]
209
207
pub use core:: ops:: Bound ;
210
208
211
209
pub use oom:: oom;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 33
33
//! See [`std::collections`](../std/collections/index.html) for a detailed
34
34
//! discussion of collections in Rust.
35
35
36
+ extern crate core;
37
+
36
38
#[ macro_reexport( vec, format) ]
37
39
extern crate alloc;
38
40
41
+ #[ rustc_deprecated( reason = "moved to core::ops" , since = "1.22.0" ) ]
42
+ pub use core:: ops:: range;
43
+
39
44
pub use alloc:: Bound ;
40
45
41
46
pub use alloc:: binary_heap;
42
47
pub use alloc:: borrow;
43
48
pub use alloc:: fmt;
44
49
pub use alloc:: linked_list;
45
- #[ allow( deprecated) ]
46
- pub use alloc:: range;
47
50
pub use alloc:: slice;
48
51
pub use alloc:: str;
49
52
pub use alloc:: string;
Original file line number Diff line number Diff line change @@ -435,9 +435,8 @@ pub use self::hash_map::HashMap;
435
435
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
436
436
pub use self :: hash_set:: HashSet ;
437
437
438
- #[ rustc_deprecated( reason = "moved to std::ops" , since = "1.19.0" ) ]
439
- #[ allow( deprecated) ]
440
- pub use alloc:: range;
438
+ #[ rustc_deprecated( reason = "moved to std::ops" , since = "1.22.0" ) ]
439
+ pub use std:: ops:: range;
441
440
442
441
mod hash;
443
442
You can’t perform that action at this time.
0 commit comments