fix: apply rustc-ap updates to backported commit
This commit is contained in:
parent
5e7fb45533
commit
ea712f1a2c
1 changed files with 1 additions and 1 deletions
|
|
@ -2932,7 +2932,7 @@ fn format_header(
|
|||
let after_vis = vis.span.hi();
|
||||
if let Some(before_item_name) = context
|
||||
.snippet_provider
|
||||
.opt_span_before(mk_sp(vis.span().lo(), ident.span.hi()), item_name.trim())
|
||||
.opt_span_before(mk_sp(vis.span.lo(), ident.span.hi()), item_name.trim())
|
||||
{
|
||||
let missing_span = mk_sp(after_vis, before_item_name);
|
||||
if let Some(result_with_comment) = combine_strs_with_missing_comments(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue