diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-05-01 16:19:14 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-01 16:19:14 +0000 |
| commit | 0b59be57476ef7a801a01c7e5e401c19c365cb2f (patch) | |
| tree | def11229635420e18801d9aff3d258d990b23504 | |
| parent | a5f2b16366f027ad60c58266a66eb7fbdcbda9f9 (diff) | |
| parent | 375dd18dc0cc258f4e8c99a91b88030d32147965 (diff) | |
| download | rust-0b59be57476ef7a801a01c7e5e401c19c365cb2f.tar.gz rust-0b59be57476ef7a801a01c7e5e401c19c365cb2f.zip | |
Merge #4247
4247: Fix pub(self) visibility? r=matklad a=DianaNites Clippy complained about it and it seems wrong, copy paste error? Co-authored-by: Diana <5275194+DianaNites@users.noreply.github.com>
| -rw-r--r-- | crates/ra_syntax/src/ast/extensions.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/ast/extensions.rs b/crates/ra_syntax/src/ast/extensions.rs index f2ea5088e7a..45e3dd2d3e4 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 } |
