Rename #[on_unimplemented] -> #[rustc_on_unimplemented]

This commit is contained in:
Manish Goregaokar 2015-01-11 18:28:06 +05:30
parent add20bbb6d
commit dd074ab4ee
6 changed files with 21 additions and 18 deletions

View file

@ -101,8 +101,8 @@ pub trait Iterator {
/// Conversion from an `Iterator`
#[stable]
#[on_unimplemented="a collection of type `{Self}` cannot be \
built from an iterator over elements of type `{A}`"]
#[rustc_on_unimplemented="a collection of type `{Self}` cannot be \
built from an iterator over elements of type `{A}`"]
pub trait FromIterator<A> {
/// Build a container with elements from an external iterator.
fn from_iter<T: Iterator<Item=A>>(iterator: T) -> Self;