Rename #[on_unimplemented] -> #[rustc_on_unimplemented]
This commit is contained in:
parent
add20bbb6d
commit
dd074ab4ee
6 changed files with 21 additions and 18 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue