rust/tests/ui/recursion
Esteban Küber 6efddac288 Provide more context on derived obligation error primary label
Expand the primary span of E0277 when the immediate unmet bound is not what the user wrote:

```
error[E0277]: the trait bound `i32: Bar` is not satisfied
 --> f100.rs:6:6
  |
6 |     <i32 as Foo>::foo();
  |      ^^^ the trait `Bar` is not implemented for `i32`, which is required by `i32: Foo`
  |
help: this trait has no implementations, consider adding one
 --> f100.rs:2:1
  |
2 | trait Bar {}
  | ^^^^^^^^^
note: required for `i32` to implement `Foo`
 --> f100.rs:3:14
  |
3 | impl<T: Bar> Foo for T {}
  |         ---  ^^^     ^
  |         |
  |         unsatisfied trait bound introduced here
```

Fix #40120.
2024-01-30 21:28:18 +00:00
..
auxiliary Move /src/test to /tests 2023-01-11 09:32:08 +00:00
instantiable.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-26548-recursion-via-normalize.rs Revert "Auto merge of #113166 - moulins:ref-niches-initial, r=oli-obk" 2023-07-21 22:35:57 -07:00
issue-26548-recursion-via-normalize.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-38591-non-regular-dropck-recursion.polonius.stderr Manual find replace updates 2023-11-24 21:04:51 +01:00
issue-38591-non-regular-dropck-recursion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-38591-non-regular-dropck-recursion.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-83150.rs write-long-types-to-disk: update tests 2023-07-25 12:08:44 +01:00
issue-83150.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-86784.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-95134.rs Adjust the ignore-compare-mode-next-solver for hangs 2023-12-18 23:55:47 +00:00
recursion.polonius.stderr Manual find replace updates 2023-11-24 21:04:51 +01:00
recursion.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recursion.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
recursive-enum.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recursive-enum.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
recursive-reexports.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recursive-reexports.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
recursive-requirements.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recursive-requirements.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
recursive-static-definition.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recursive-static-definition.stderr Always use RevealAll for const eval queries 2024-01-19 11:32:34 +00:00
recursive-types-are-not-uninhabited.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
recursive-types-are-not-uninhabited.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00