From b93f1bb3ece033166174bc4920c6b16df182d315 Mon Sep 17 00:00:00 2001 From: mejrs <59372212+mejrs@users.noreply.github.com> Date: Mon, 24 Mar 2025 16:47:59 +0100 Subject: [PATCH] Fix diagnostic attribute typo --- src/attributes/diagnostics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/attributes/diagnostics.md b/src/attributes/diagnostics.md index e03971b4c..e7dd0e264 100644 --- a/src/attributes/diagnostics.md +++ b/src/attributes/diagnostics.md @@ -647,7 +647,7 @@ note: required for `&str` to implement `AsExpression` | ------------------------ unsatisfied trait bound introduced here ``` -By adding the `#[diagnostic::do_no_recommend]` attribute to the blanket `impl` for `AsExpression`, the message changes to: +By adding the `#[diagnostic::do_not_recommend]` attribute to the blanket `impl` for `AsExpression`, the message changes to: ```text error[E0277]: the trait bound `&str: AsExpression` is not satisfied