From 375dd18dc0cc258f4e8c99a91b88030d32147965 Mon Sep 17 00:00:00 2001 From: Diana <5275194+DianaNites@users.noreply.github.com> Date: Fri, 1 May 2020 12:09:47 -0400 Subject: Fix pub(self) visibility? Clippy complained about it and it seems wrong --- crates/ra_syntax/src/ast/extensions.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_syntax/src/ast') diff --git a/crates/ra_syntax/src/ast/extensions.rs b/crates/ra_syntax/src/ast/extensions.rs index f2ea5088e..45e3dd2d3 100644 --- a/crates/ra_syntax/src/ast/extensions.rs +++ b/crates/ra_syntax/src/ast/extensions.rs @@ -407,7 +407,7 @@ impl ast::Visibility { } else if self.super_token().is_some() { VisibilityKind::PubSuper } else if self.self_token().is_some() { - VisibilityKind::PubSuper + VisibilityKind::PubSelf } else { VisibilityKind::Pub } -- cgit v1.2.3