Skip to content

Commit 3d231ac

Browse files
committed
Add missing #![feature(associated_type_bounds)]
1 parent 3a6a29b commit 3d231ac

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

src/liballoc/tests/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#![feature(trusted_len)]
99
#![feature(try_reserve)]
1010
#![feature(unboxed_closures)]
11+
#![feature(associated_type_bounds)]
1112

1213
use std::hash::{Hash, Hasher};
1314
use std::collections::hash_map::DefaultHasher;

src/libcore/iter/traits/collect.rs

+2
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,8 @@ pub trait FromIterator<A>: Sized {
194194
/// `Item`:
195195
///
196196
/// ```rust
197+
/// #![feature(associated_type_bounds)]
198+
///
197199
/// fn collect_as_strings<T>(collection: T) -> Vec<String>
198200
/// where
199201
/// T: IntoIterator<Item: std::fmt::Debug>,

src/libstd/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@
238238
#![feature(arbitrary_self_types)]
239239
#![feature(array_error_internals)]
240240
#![feature(asm)]
241+
#![feature(associated_type_bounds)]
241242
#![feature(bind_by_move_pattern_guards)]
242243
#![feature(box_syntax)]
243244
#![feature(c_variadic)]

0 commit comments

Comments
 (0)