diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2022-04-01 17:22:23 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2022-04-06 12:56:22 +0000 |
| commit | b30bcfae38803443963797e219a5f1b174ebeb79 (patch) | |
| tree | 6803ba667e3c6ef2916a3ee5d7779d645a970933 /compiler/rustc_data_structures/src | |
| parent | eca0ead17d3b591ed1e1cdeac434179fcda5ca33 (diff) | |
| download | rust-b30bcfae38803443963797e219a5f1b174ebeb79.tar.gz rust-b30bcfae38803443963797e219a5f1b174ebeb79.zip | |
Fix some fallout around type alias impl trait in associated types
Diffstat (limited to 'compiler/rustc_data_structures/src')
| -rw-r--r-- | compiler/rustc_data_structures/src/vec_map.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_data_structures/src/vec_map.rs b/compiler/rustc_data_structures/src/vec_map.rs index 2f4b3844430..86be0bd8775 100644 --- a/compiler/rustc_data_structures/src/vec_map.rs +++ b/compiler/rustc_data_structures/src/vec_map.rs @@ -144,7 +144,7 @@ impl<'a, K, V> IntoIterator for &'a VecMap<K, V> { } } -impl<'a, K, V> IntoIterator for &'a mut VecMap<K, V> { +impl<'a, K: 'a, V: 'a> IntoIterator for &'a mut VecMap<K, V> { type Item = (&'a K, &'a mut V); type IntoIter = impl Iterator<Item = Self::Item>; |
