rust/tests/ui/async-await/issues
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
issue-65419
issue-51719.rs
issue-51719.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-51751.rs
issue-51751.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-53249.rs
issue-54752-async-block.rs
issue-54752-async-block.stderr
issue-54974.rs
issue-55324.rs
issue-55809.rs
issue-58885.rs
issue-59001.rs
issue-59972.rs
issue-60518.rs
issue-60655-latebound-regions.rs
issue-60674.rs
issue-60674.stdout Add spacing information to delimiters. 2023-12-11 09:36:40 +11:00
issue-61187.rs
issue-61187.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-61986.rs
issue-62009-1.rs Eagerly return ExprKind::Err on yield/await in wrong coroutine context 2023-11-28 19:29:56 +00:00
issue-62009-1.stderr Fix spans for bad await in inline const 2023-11-28 19:29:56 +00:00
issue-62009-2.rs
issue-62009-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-62097.rs
issue-62097.stderr
issue-62517-1.rs
issue-62517-2.rs
issue-63388-1.rs
issue-63388-1.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-63388-2.rs
issue-63388-2.stderr
issue-63388-3.rs
issue-63388-4.rs
issue-64391-2.rs
issue-64433.rs
issue-64477-2.rs
issue-64477.rs
issue-64964.rs
issue-65159.rs Keep error types around, even in obligations. 2024-01-11 09:52:25 +00:00
issue-65159.stderr Keep error types around, even in obligations. 2024-01-11 09:52:25 +00:00
issue-65436-raw-ptr-not-send.rs
issue-66695-static-refs.rs
issue-66958-non-copy-infered-type-arg.rs
issue-66958-non-copy-infered-type-arg.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-67611-static-mut-refs.rs
issue-67893.rs
issue-67893.stderr Provide more context on derived obligation error primary label 2024-01-30 21:28:18 +00:00
issue-69307-nested.rs
issue-69307.rs
issue-72312.rs
issue-72312.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-78600.rs
issue-78654.full.stderr
issue-78654.min.stderr
issue-78654.rs
issue-78938-async-block.rs
issue-78938-async-block.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-95307.rs
issue-95307.stderr Bless tests 2024-01-13 12:46:58 -05:00
issue-102206.rs
issue-102206.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-107280.rs
issue-107280.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-112225-1.rs
issue-112225-2.rs
issue-112225-2.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
non-async-enclosing-span.rs
non-async-enclosing-span.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00