mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
fix: apply rustc-ap updates to backported commit
This commit is contained in:
committed by
Caleb Cartwright
parent
5e7fb45533
commit
ea712f1a2c
+1
-1
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user