diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-01-07 10:54:44 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-01-07 10:54:44 +0000 |
commit | 171c3c08fe245938fb25321394233de5fe2abc7c (patch) | |
tree | cb6ca14556d79df1caa088011d5389ac8b80db28 /crates/assists/src/handlers | |
parent | 1347b7fa4cdc2064ac1cb4a686f10890b9235893 (diff) | |
parent | c8ace3a295aa63ff7f210f11840e7fc9de65264c (diff) |
Merge #7190
7190: Remove some stale deprecations r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/assists/src/handlers')
-rw-r--r-- | crates/assists/src/handlers/fix_visibility.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/assists/src/handlers/fix_visibility.rs b/crates/assists/src/handlers/fix_visibility.rs index de1e8f0bf..c10b3b8f5 100644 --- a/crates/assists/src/handlers/fix_visibility.rs +++ b/crates/assists/src/handlers/fix_visibility.rs | |||
@@ -97,7 +97,6 @@ fn add_vis_to_referenced_record_field(acc: &mut Assists, ctx: &AssistContext) -> | |||
97 | let parent_name = parent.name(ctx.db()); | 97 | let parent_name = parent.name(ctx.db()); |
98 | let target_module = parent.module(ctx.db()); | 98 | let target_module = parent.module(ctx.db()); |
99 | 99 | ||
100 | #[allow(deprecated)] | ||
101 | let in_file_source = record_field_def.source(ctx.db())?; | 100 | let in_file_source = record_field_def.source(ctx.db())?; |
102 | let (offset, current_visibility, target) = match in_file_source.value { | 101 | let (offset, current_visibility, target) = match in_file_source.value { |
103 | hir::FieldSource::Named(it) => { | 102 | hir::FieldSource::Named(it) => { |