diff options
| author | Michael Goulet <michael@errs.io> | 2024-12-25 02:43:27 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-01-06 17:58:30 +0000 |
| commit | 5a566005c1c0ef62c9af88e645d86ab28971af04 (patch) | |
| tree | 3fc2b7c25a6a6a78e922c187ac49a0154fc2cddd /tests/ui/proc-macro | |
| parent | 243d2ca4db6f96d2d18aaf3a2381251d38eb6b0b (diff) | |
| download | rust-5a566005c1c0ef62c9af88e645d86ab28971af04.tar.gz rust-5a566005c1c0ef62c9af88e645d86ab28971af04.zip | |
Normalize each signature input/output in typeck_with_fallback with its own span
Diffstat (limited to 'tests/ui/proc-macro')
| -rw-r--r-- | tests/ui/proc-macro/bad-projection.stderr | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/ui/proc-macro/bad-projection.stderr b/tests/ui/proc-macro/bad-projection.stderr index 2e8668f60de..aa6b3da6da9 100644 --- a/tests/ui/proc-macro/bad-projection.stderr +++ b/tests/ui/proc-macro/bad-projection.stderr @@ -48,16 +48,17 @@ LL | trait Project { | ^^^^^^^^^^^^^ error[E0277]: the trait bound `(): Project` is not satisfied - --> $DIR/bad-projection.rs:14:40 + --> $DIR/bad-projection.rs:14:17 | LL | pub fn uwu() -> <() as Project>::Assoc {} - | ^^ the trait `Project` is not implemented for `()` + | ^^^^^^^^^^^^^^^^^^^^^^ the trait `Project` is not implemented for `()` | help: this trait has no implementations, consider adding one --> $DIR/bad-projection.rs:9:1 | LL | trait Project { | ^^^^^^^^^^^^^ + = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no` error: aborting due to 5 previous errors |
