Update test to new error message
This commit is contained in:
parent
5c9950023b
commit
b0806b2de9
7 changed files with 18 additions and 16 deletions
|
@ -2026,7 +2026,7 @@ impl<'a> Parser<'a> {
|
|||
else {
|
||||
err.span_suggestion(
|
||||
current_vis.span,
|
||||
"there is already a visibility, remove this one",
|
||||
"there is already a visibility modifier, remove one",
|
||||
"".to_string(),
|
||||
Applicability::MachineApplicable,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue