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/associated-item | |
| parent | 28b83ee59698ae069f5355b8e03f976406f410f5 (diff) | |
| download | rust-0a7ab1d6df4a2cfac819b0bada85b9142ac8ba26.tar.gz rust-0a7ab1d6df4a2cfac819b0bada85b9142ac8ba26.zip | |
More sophisticated span trimming
Diffstat (limited to 'tests/ui/associated-item')
| -rw-r--r-- | tests/ui/associated-item/associated-item-enum.stderr | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/tests/ui/associated-item/associated-item-enum.stderr b/tests/ui/associated-item/associated-item-enum.stderr index 49f168b8544..c3ce7c34d05 100644 --- a/tests/ui/associated-item/associated-item-enum.stderr +++ b/tests/ui/associated-item/associated-item-enum.stderr @@ -9,9 +9,8 @@ LL | Enum::mispellable(); | help: there is an associated function `misspellable` with a similar name | -LL - Enum::mispellable(); -LL + Enum::misspellable(); - | +LL | Enum::misspellable(); + | + error[E0599]: no variant or associated item named `mispellable_trait` found for enum `Enum` in the current scope --> $DIR/associated-item-enum.rs:18:11 @@ -24,9 +23,8 @@ LL | Enum::mispellable_trait(); | help: there is an associated function `misspellable_trait` with a similar name | -LL - Enum::mispellable_trait(); -LL + Enum::misspellable_trait(); - | +LL | Enum::misspellable_trait(); + | + error[E0599]: no variant or associated item named `MISPELLABLE` found for enum `Enum` in the current scope --> $DIR/associated-item-enum.rs:19:11 @@ -39,9 +37,8 @@ LL | Enum::MISPELLABLE; | help: there is an associated constant `MISSPELLABLE` with a similar name | -LL - Enum::MISPELLABLE; -LL + Enum::MISSPELLABLE; - | +LL | Enum::MISSPELLABLE; + | + error: aborting due to 3 previous errors |
