os-rust/tests/ui/impl-trait/diagnostics
Esteban Küber 092ecca5b9 Point at tail expression on rpit E0277
```
error[E0277]: the trait bound `{gen block@$DIR/gen_block_is_coro.rs:7:5: 7:8}: Coroutine` is not satisfied
  --> $DIR/gen_block_is_coro.rs:6:13
   |
LL | fn foo() -> impl Coroutine<Yield = u32, Return = ()> {
   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Coroutine` is not implemented for `{gen block@$DIR/gen_block_is_coro.rs:7:5: 7:8}`
LL |     gen { yield 42 }
   |     ---------------- return type was inferred to be `{gen block@$DIR/gen_block_is_coro.rs:7:5: 7:8}` here
```

The secondary span label is new.
2024-11-02 03:08:04 +00:00
..
fully-qualified-path-impl-trait.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
fully-qualified-path-impl-trait.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00
highlight-difference-between-expected-trait-and-found-trait.rs Add test for #132013 2024-10-25 18:06:36 +00:00
highlight-difference-between-expected-trait-and-found-trait.svg Point at tail expression on rpit E0277 2024-11-02 03:08:04 +00:00