more tweak on diagnostic messages

This commit is contained in:
yukang 2022-09-15 22:39:16 +08:00
parent 2194fc957a
commit f43562b95b
9 changed files with 65 additions and 23 deletions

View file

@ -430,6 +430,7 @@ pub(crate) struct NotAsNegationOperator {
#[primary_span]
pub negated: Span,
pub negated_desc: String,
pub negated_msg: String,
#[suggestion_short(applicability = "machine-applicable", code = "!")]
pub not: Span,
}