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