diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2018-02-09 10:39:36 -0500 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2018-03-13 11:21:31 -0400 |
| commit | 993c1488cc4b0826c3f1076393bf50eef09ba467 (patch) | |
| tree | 9c2fcbecd875d6120c3a797b8552ed2f5d2155ea /src/librustc_data_structures | |
| parent | 80b4c45ee47833338164c6eb015f421890712863 (diff) | |
| download | rust-993c1488cc4b0826c3f1076393bf50eef09ba467.tar.gz rust-993c1488cc4b0826c3f1076393bf50eef09ba467.zip | |
add `canonicalize` method to `InferCtxt` [VIC]
Diffstat (limited to 'src/librustc_data_structures')
| -rw-r--r-- | src/librustc_data_structures/indexed_vec.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_data_structures/indexed_vec.rs b/src/librustc_data_structures/indexed_vec.rs index 11c2bd73687..a5b1a7e57ab 100644 --- a/src/librustc_data_structures/indexed_vec.rs +++ b/src/librustc_data_structures/indexed_vec.rs @@ -330,7 +330,7 @@ macro_rules! newtype_index { ); } -#[derive(Clone, PartialEq, Eq)] +#[derive(Clone, PartialEq, Eq, Hash)] pub struct IndexVec<I: Idx, T> { pub raw: Vec<T>, _marker: PhantomData<fn(&I)> |
