rename a method
This commit is contained in:
parent
12d11e9a35
commit
018155c3a2
9 changed files with 10 additions and 10 deletions
|
@ -1558,7 +1558,7 @@ pub fn add_elided_lifetime_in_path_suggestion(
|
|||
insertion_span: Span,
|
||||
) {
|
||||
diag.span_label(path_span, format!("expected lifetime parameter{}", pluralize!(n)));
|
||||
if !source_map.is_accessible_span(insertion_span) {
|
||||
if !source_map.is_span_accessible(insertion_span) {
|
||||
// Do not try to suggest anything if generated by a proc-macro.
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue