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 Bless tests. 2023-09-23 13:47:30 +00:00
issue-65419 Rename lots of files that had generator in their name 2023-10-20 21:14:02 +00:00
issue-51719.rs s/generator/coroutine/ 2023-10-20 21:14:01 +00:00
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 s/generator/coroutine/ 2023-10-20 21:14:01 +00:00
issue-60518.rs
issue-60655-latebound-regions.rs s/generator/coroutine/ 2023-10-20 21:14:01 +00:00
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 diagnostics: update test cases to refer to assoc fn with self as method 2023-02-22 08:40:47 -07:00
issue-62097.stderr diagnostics: update test cases to refer to assoc fn with self as method 2023-02-22 08:40:47 -07:00
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 s/generator/coroutine/ 2023-10-20 21:14:01 +00:00
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 Bless tests. 2023-09-23 13:47:30 +00:00
issue-66695-static-refs.rs Add more if let guard tests 2023-09-19 12:48:40 +00:00
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 Revert duplication of tests. 2023-09-23 13:34:07 +00:00
issue-67893.rs Bless tests. 2023-09-23 13:47:30 +00:00
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 Stabilize impl_trait_projections 2023-09-08 03:45:36 +00:00
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 Stabilize AFIT and RPITIT 2023-10-13 21:01:36 +00:00
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 Bless tests. 2023-09-23 13:47:30 +00:00
issue-107280.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
issue-112225-1.rs Fix type-inference regression in #112225 2023-06-04 10:56:00 +02:00
issue-112225-2.rs Fix type-inference regression in #112225 2023-06-04 10:56:00 +02:00
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