use span_suggestion instead of span_suggestion_verbose
This commit is contained in:
parent
48c0341a70
commit
d47df26784
2 changed files with 5 additions and 8 deletions
|
|
@ -4,15 +4,12 @@ error: non-item in item list
|
|||
LL | trait Foo {
|
||||
| - item list starts here
|
||||
LL | fn bar() {};
|
||||
| ^ non-item starts here
|
||||
| ^
|
||||
| |
|
||||
| non-item starts here
|
||||
| help: consider removing this semicolon
|
||||
LL | }
|
||||
| - item list ends here
|
||||
|
|
||||
help: consider removing this semicolon
|
||||
|
|
||||
LL - fn bar() {};
|
||||
LL + fn bar() {}
|
||||
|
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue