Update test to new error message

This commit is contained in:
Alexis Bourget 2021-10-24 15:11:11 +02:00
parent 5c9950023b
commit b0806b2de9
7 changed files with 18 additions and 16 deletions

View file

@ -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,
)