rust/tests/ui/async-await/issues
Matthias Krüger 480c4a18d5
Rollup merge of #107201 - compiler-errors:confusing-async-fn-note, r=estebank
Remove confusing 'while checking' note from opaque future type mismatches

Maybe I'm just misinterpreting the wording of the note. The only value I can see in this note is that it points out where the async's opaque future is coming from, but the way it's doing it is misleading IMO.

For example:

```rust
note: while checking the return type of the `async fn`
  --> $DIR/dont-suggest-missing-await.rs:7:24
   |
LL | async fn make_u32() -> u32 {
   |                        ^^^ checked the `Output` of this `async fn`, found opaque type
```

We point at the type `u32` in the HIR, but then say "found opaque type". We also say "while checking"... but we're typechecking a totally different function when we get this type mismatch!

r? ``@estebank`` but feel free to reassign and/or take your time reviewing this. I'd be inclined to also discuss reworking the presentation of this type mismatch to restore some of these labels in a way that makes it more clear what it's trying to point out.
2023-02-02 06:52:13 +01:00
..
auxiliary Test the 3 generator handling versions for generator/async tests. 2023-01-27 18:58:13 +00:00
issue-65419
issue-51719.rs
issue-51719.stderr
issue-51751.rs
issue-51751.stderr
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
issue-61187.rs
issue-61187.stderr
issue-61986.rs
issue-62009-1.rs
issue-62009-1.stderr
issue-62009-2.rs
issue-62009-2.stderr
issue-62097.rs
issue-62097.stderr
issue-62517-1.rs
issue-62517-2.rs
issue-63388-1.rs
issue-63388-1.stderr
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
issue-65159.stderr
issue-65436-raw-ptr-not-send.no_drop_tracking.stderr Bless tests. 2023-01-27 20:10:17 +00:00
issue-65436-raw-ptr-not-send.rs Bless tests. 2023-01-27 20:10:17 +00:00
issue-66695-static-refs.rs
issue-66958-non-copy-infered-type-arg.rs
issue-66958-non-copy-infered-type-arg.stderr
issue-67611-static-mut-refs.rs Test the 3 generator handling versions for generator/async tests. 2023-01-27 18:58:13 +00:00
issue-67893.rs
issue-67893.stderr Test the 3 generator handling versions for generator/async tests. 2023-01-27 18:58:13 +00:00
issue-69307-nested.rs
issue-69307.rs
issue-72312.rs
issue-72312.stderr
issue-78600.rs
issue-78600.stderr
issue-78654.full.stderr
issue-78654.min.stderr
issue-78654.rs
issue-78938-async-block.rs
issue-78938-async-block.stderr
issue-95307.rs
issue-95307.stderr
issue-102206.rs
issue-102206.stderr Rollup merge of #107201 - compiler-errors:confusing-async-fn-note, r=estebank 2023-02-02 06:52:13 +01:00
non-async-enclosing-span.rs
non-async-enclosing-span.stderr