diff options
| author | bors <bors@rust-lang.org> | 2022-12-02 04:24:57 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-12-02 04:24:57 +0000 |
| commit | 11663b1b4857ffeafbd85a9a36c234d117373b76 (patch) | |
| tree | 8435bee872a201dd965825f47c9981802dd6f8c3 /compiler/rustc_data_structures/src | |
| parent | 56c241c86212d84b9528dca1628bc06e32c742c1 (diff) | |
| parent | b32a4edb2078ca61ebcd9bad993905873f4a990a (diff) | |
| download | rust-11663b1b4857ffeafbd85a9a36c234d117373b76.tar.gz rust-11663b1b4857ffeafbd85a9a36c234d117373b76.zip | |
Auto merge of #104963 - petrochenkov:noaddids2, r=cjgillot
rustc_ast_lowering: Stop lowering imports into multiple items Lower them into a single item with multiple resolutions instead. This also allows to remove additional `NodId`s and `DefId`s related to those additional items.
Diffstat (limited to 'compiler/rustc_data_structures/src')
| -rw-r--r-- | compiler/rustc_data_structures/src/stable_hasher.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_data_structures/src/stable_hasher.rs b/compiler/rustc_data_structures/src/stable_hasher.rs index ce859173418..e2c33e7e062 100644 --- a/compiler/rustc_data_structures/src/stable_hasher.rs +++ b/compiler/rustc_data_structures/src/stable_hasher.rs @@ -399,7 +399,7 @@ where } } -impl<A, CTX> HashStable<CTX> for SmallVec<[A; 1]> +impl<A, const N: usize, CTX> HashStable<CTX> for SmallVec<[A; N]> where A: HashStable<CTX>, { |
