Add missing #![feature(associated_type_bounds)]

This commit is contained in:
Ilija Tovilo 2019-08-09 00:33:57 +02:00
parent 3a6a29b4ec
commit 3d231accee
No known key found for this signature in database
GPG key ID: 3F123D0ADD448198
3 changed files with 4 additions and 0 deletions

View file

@ -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;

View file

@ -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>,

View file

@ -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)]