fix formatting + test syntax
This commit is contained in:
parent
70bfcc2518
commit
a3d32bbbbe
13 changed files with 1 additions and 13 deletions
|
@ -353,7 +353,7 @@ impl<'a> Parser<'a> {
|
|||
|
||||
if !self.look_ahead(1, |t| *t == token::Lt) &&
|
||||
let Ok(snippet) = self.sess.source_map().span_to_snippet(generic.span) {
|
||||
err.multipart_suggestion_verbose(
|
||||
err.multipart_suggestion_verbose(
|
||||
format!("place the generic parameter name after the {ident_name} name"),
|
||||
vec![
|
||||
(self.token.span.shrink_to_hi(), snippet),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue