about summary refs log tree commit diff
path: root/src/librustc/ich/impls_syntax.rs
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2019-11-09 18:38:35 +0100
committerCamille GILLOT <gillot.camille@gmail.com>2019-11-10 12:40:44 +0100
commitdaff3e346c4d8a79fdf20fcc92a7919c28f53840 (patch)
tree9079f339cbf8be8a1cb380f0dc4d2fb7ec8cca7d /src/librustc/ich/impls_syntax.rs
parent738faadc31ea4fdd60cfb81c9c07d7ad499997ab (diff)
downloadrust-daff3e346c4d8a79fdf20fcc92a7919c28f53840.tar.gz
rust-daff3e346c4d8a79fdf20fcc92a7919c28f53840.zip
Merge hir::ImplPolarity into ast::ImplPolarity.
Diffstat (limited to 'src/librustc/ich/impls_syntax.rs')
-rw-r--r--src/librustc/ich/impls_syntax.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustc/ich/impls_syntax.rs b/src/librustc/ich/impls_syntax.rs
index 075b7409f4f..b3d82e5522c 100644
--- a/src/librustc/ich/impls_syntax.rs
+++ b/src/librustc/ich/impls_syntax.rs
@@ -171,6 +171,7 @@ impl_stable_hash_for!(enum ::syntax::ast::AttrStyle { Outer, Inner });
 impl_stable_hash_for!(enum ::syntax::ast::Movability { Static, Movable });
 impl_stable_hash_for!(enum ::syntax::ast::CaptureBy { Value, Ref });
 impl_stable_hash_for!(enum ::syntax::ast::IsAuto { Yes, No });
+impl_stable_hash_for!(enum ::syntax::ast::ImplPolarity { Positive, Negative });
 
 impl<'a> HashStable<StableHashingContext<'a>> for [ast::Attribute] {
     fn hash_stable(&self, hcx: &mut StableHashingContext<'a>, hasher: &mut StableHasher) {