about summary refs log tree commit diff
path: root/src/librustc
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2018-10-18 09:00:11 -0400
committerNiko Matsakis <niko@alum.mit.edu>2018-10-19 09:34:28 -0400
commite20fa70bb349026226616b92ea44f7bdfd270d75 (patch)
tree485403f6d182cba48565675e2fefdba395235493 /src/librustc
parentbfb1d959c3cc64d54d1a1f3d586d90b6ce0d5357 (diff)
downloadrust-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.rs2
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>),