From d615baf472a9e2fac1dab54bbfcfa816e8744a17 Mon Sep 17 00:00:00 2001 From: brunohgouveia Date: Sat, 4 Jan 2025 17:39:20 +0000 Subject: [PATCH] Added Allocator template argument for rustc_iter --- src/rustc_entry.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rustc_entry.rs b/src/rustc_entry.rs index cb48be0e4..233fe7a2d 100644 --- a/src/rustc_entry.rs +++ b/src/rustc_entry.rs @@ -550,7 +550,7 @@ impl IterMut<'_, K, V> { } } -impl IntoIter { +impl IntoIter { /// Returns a iterator of references over the remaining items. #[cfg_attr(feature = "inline-more", inline)] pub fn rustc_iter(&self) -> Iter<'_, K, V> { @@ -558,7 +558,7 @@ impl IntoIter { } } -impl Drain<'_, K, V> { +impl Drain<'_, K, V, A> { /// Returns a iterator of references over the remaining items. #[cfg_attr(feature = "inline-more", inline)] pub fn rustc_iter(&self) -> Iter<'_, K, V> {