Skip to content

Commit

Permalink
Add missing #![feature(associated_type_bounds)]
Browse files Browse the repository at this point in the history
  • Loading branch information
iluuu1994 committed Aug 9, 2019
1 parent 3a6a29b commit 3d231ac
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/liballoc/tests/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#![feature(trusted_len)]
#![feature(try_reserve)]
#![feature(unboxed_closures)]
#![feature(associated_type_bounds)]

use std::hash::{Hash, Hasher};
use std::collections::hash_map::DefaultHasher;
Expand Down
2 changes: 2 additions & 0 deletions src/libcore/iter/traits/collect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ pub trait FromIterator<A>: Sized {
/// `Item`:
///
/// ```rust
/// #![feature(associated_type_bounds)]
///
/// fn collect_as_strings<T>(collection: T) -> Vec<String>
/// where
/// T: IntoIterator<Item: std::fmt::Debug>,
Expand Down
1 change: 1 addition & 0 deletions src/libstd/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@
#![feature(arbitrary_self_types)]
#![feature(array_error_internals)]
#![feature(asm)]
#![feature(associated_type_bounds)]
#![feature(bind_by_move_pattern_guards)]
#![feature(box_syntax)]
#![feature(c_variadic)]
Expand Down

0 comments on commit 3d231ac

Please sign in to comment.