diff options
| author | bors <bors@rust-lang.org> | 2019-11-07 07:55:39 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-11-07 07:55:39 +0000 |
| commit | 50f8aadd746ebc929a752e5ffb133936ee75c52f (patch) | |
| tree | 47453a165c08c24ca9b3224506ff74a2f8b053e5 /src/libcore | |
| parent | 7a76fe76f756895b8cda1e10398f2268656a2e0f (diff) | |
| parent | c9eae9ea63abe57d8bb91905d5ca4cff8dd8ea56 (diff) | |
Auto merge of #66180 - Centril:rollup-c1ji943, r=Centril
Rollup of 5 pull requests Successful merges: - #59789 (Revert two unapproved changes to rustc_typeck.) - #65752 (Use structured suggestions for missing associated items) - #65884 (syntax: ABI-oblivious grammar) - #65974 (A scheme for more macro-matcher friendly pre-expansion gating) - #66017 (Add future incompatibility lint for `array.into_iter()`) Failed merges: - #66056 (rustc_metadata: Some reorganization of the module structure) r? @ghost
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/iter/traits/collect.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcore/iter/traits/collect.rs b/src/libcore/iter/traits/collect.rs index 00a86417058..bbdb169cac0 100644 --- a/src/libcore/iter/traits/collect.rs +++ b/src/libcore/iter/traits/collect.rs @@ -205,6 +205,7 @@ pub trait FromIterator<A>: Sized { /// .collect() /// } /// ``` +#[rustc_diagnostic_item = "IntoIterator"] #[stable(feature = "rust1", since = "1.0.0")] pub trait IntoIterator { /// The type of the elements being iterated over. |
