]> git.proxmox.com Git - rustc.git/blame - tests/ui/impl-trait/in-trait/default-body-with-rpit.current.stderr
Merge 1.70 into proxmox/bookworm
[rustc.git] / tests / ui / impl-trait / in-trait / default-body-with-rpit.current.stderr
CommitLineData
353b0b11
FG
1error: concrete type differs from previous defining opaque type use
2 --> $DIR/default-body-with-rpit.rs:13:9
3 |
4LL | ""
5 | ^^ expected `impl Debug`, got `&'static str`
6 |
7note: previous use here
8 --> $DIR/default-body-with-rpit.rs:12:39
9 |
10LL | async fn baz(&self) -> impl Debug {
11 | _______________________________________^
12LL | | ""
13LL | | }
14 | |_____^
15
16error[E0720]: cannot resolve opaque type
17 --> $DIR/default-body-with-rpit.rs:12:28
18 |
19LL | async fn baz(&self) -> impl Debug {
20 | ^^^^^^^^^^ cannot resolve opaque type
21
22error: aborting due to 2 previous errors
23
24For more information about this error, try `rustc --explain E0720`.