diff options
| author | Michael Goulet <michael@errs.io> | 2025-02-20 23:05:38 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-02-21 00:41:17 +0000 |
| commit | 0a7ab1d6df4a2cfac819b0bada85b9142ac8ba26 (patch) | |
| tree | 40adab0be475b174d0fa8d3041089a10f5b1b440 /tests/ui/diagnostic_namespace | |
| parent | 28b83ee59698ae069f5355b8e03f976406f410f5 (diff) | |
| download | rust-0a7ab1d6df4a2cfac819b0bada85b9142ac8ba26.tar.gz rust-0a7ab1d6df4a2cfac819b0bada85b9142ac8ba26.zip | |
More sophisticated span trimming
Diffstat (limited to 'tests/ui/diagnostic_namespace')
| -rw-r--r-- | tests/ui/diagnostic_namespace/suggest_typos.stderr | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/ui/diagnostic_namespace/suggest_typos.stderr b/tests/ui/diagnostic_namespace/suggest_typos.stderr index f41e2f65556..86d778c6ec0 100644 --- a/tests/ui/diagnostic_namespace/suggest_typos.stderr +++ b/tests/ui/diagnostic_namespace/suggest_typos.stderr @@ -11,9 +11,8 @@ LL | #![deny(unknown_or_malformed_diagnostic_attributes)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: an attribute with a similar name exists | -LL - #[diagnostic::onunimplemented] -LL + #[diagnostic::on_unimplemented] - | +LL | #[diagnostic::on_unimplemented] + | + error: unknown diagnostic attribute --> $DIR/suggest_typos.rs:9:15 @@ -35,9 +34,8 @@ LL | #[diagnostic::on_implemented] | help: an attribute with a similar name exists | -LL - #[diagnostic::on_implemented] -LL + #[diagnostic::on_unimplemented] - | +LL | #[diagnostic::on_unimplemented] + | ++ error: aborting due to 3 previous errors |
