diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2018-10-18 09:00:11 -0400 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2018-10-19 09:34:28 -0400 |
| commit | e20fa70bb349026226616b92ea44f7bdfd270d75 (patch) | |
| tree | 485403f6d182cba48565675e2fefdba395235493 /src/librustc | |
| parent | bfb1d959c3cc64d54d1a1f3d586d90b6ce0d5357 (diff) | |
| download | rust-e20fa70bb349026226616b92ea44f7bdfd270d75.tar.gz rust-e20fa70bb349026226616b92ea44f7bdfd270d75.zip | |
suppress duplicate -- or near duplicate -- type test errors
Diffstat (limited to 'src/librustc')
| -rw-r--r-- | src/librustc/infer/region_constraints/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/infer/region_constraints/mod.rs b/src/librustc/infer/region_constraints/mod.rs index 525ae03dfaf..df30ad36006 100644 --- a/src/librustc/infer/region_constraints/mod.rs +++ b/src/librustc/infer/region_constraints/mod.rs @@ -149,7 +149,7 @@ pub struct Verify<'tcx> { pub bound: VerifyBound<'tcx>, } -#[derive(Copy, Clone, PartialEq, Eq)] +#[derive(Copy, Clone, PartialEq, Eq, Hash)] pub enum GenericKind<'tcx> { Param(ty::ParamTy), Projection(ty::ProjectionTy<'tcx>), |
