From 435c189c803486a30d3fa0cdcc354e04b9993310 Mon Sep 17 00:00:00 2001 From: AdnoC Date: Thu, 31 Dec 2020 13:41:49 -0700 Subject: deduplicate macro completions from legacy macros and prelude --- crates/hir_def/src/visibility.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/hir_def/src/visibility.rs') diff --git a/crates/hir_def/src/visibility.rs b/crates/hir_def/src/visibility.rs index e6e0853a3..f3bc9d680 100644 --- a/crates/hir_def/src/visibility.rs +++ b/crates/hir_def/src/visibility.rs @@ -85,7 +85,7 @@ impl RawVisibility { } /// Visibility of an item, with the path resolved. -#[derive(Debug, Copy, Clone, PartialEq, Eq)] +#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash)] pub enum Visibility { /// Visibility is restricted to a certain module. Module(ModuleId), -- cgit v1.2.3