Skip to content

Commit b30bcfa

Browse files
committed
Fix some fallout around type alias impl trait in associated types
1 parent eca0ead commit b30bcfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_data_structures/src/vec_map.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ impl<'a, K, V> IntoIterator for &'a VecMap<K, V> {
144144
}
145145
}
146146

147-
impl<'a, K, V> IntoIterator for &'a mut VecMap<K, V> {
147+
impl<'a, K: 'a, V: 'a> IntoIterator for &'a mut VecMap<K, V> {
148148
type Item = (&'a K, &'a mut V);
149149
type IntoIter = impl Iterator<Item = Self::Item>;
150150

0 commit comments

Comments
 (0)