diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-01-11 18:28:06 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-01-11 20:52:43 +0530 |
| commit | dd074ab4eedcb08ca8a1861fc1e62f125e23fa8b (patch) | |
| tree | 0ed19f72f53874fbf7dc9e481ab8e8e96310ca1a /src/libcore | |
| parent | add20bbb6dae07fddc80bc46f53296fbf5679f27 (diff) | |
| download | rust-dd074ab4eedcb08ca8a1861fc1e62f125e23fa8b.tar.gz rust-dd074ab4eedcb08ca8a1861fc1e62f125e23fa8b.zip | |
Rename #[on_unimplemented] -> #[rustc_on_unimplemented]
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/iter.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/iter.rs b/src/libcore/iter.rs index e22de10a974..c88f3553e6b 100644 --- a/src/libcore/iter.rs +++ b/src/libcore/iter.rs @@ -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; |
