2022-11-24 10:58:32 -06:00
|
|
|
error: concrete type differs from previous defining opaque type use
|
2023-03-16 14:29:01 -05:00
|
|
|
--> $DIR/default-body-with-rpit.rs:13:9
|
2022-11-24 10:58:32 -06:00
|
|
|
|
|
|
|
|
LL | ""
|
|
|
|
| ^^ expected `impl Debug`, got `&'static str`
|
|
|
|
|
|
|
|
|
note: previous use here
|
2023-03-16 14:29:01 -05:00
|
|
|
--> $DIR/default-body-with-rpit.rs:12:39
|
2022-11-24 10:58:32 -06:00
|
|
|
|
|
|
|
|
LL | async fn baz(&self) -> impl Debug {
|
|
|
|
| _______________________________________^
|
|
|
|
LL | | ""
|
|
|
|
LL | | }
|
|
|
|
| |_____^
|
|
|
|
|
|
|
|
error[E0720]: cannot resolve opaque type
|
2023-03-16 14:29:01 -05:00
|
|
|
--> $DIR/default-body-with-rpit.rs:12:28
|
2022-11-24 10:58:32 -06:00
|
|
|
|
|
|
|
|
LL | async fn baz(&self) -> impl Debug {
|
|
|
|
| ^^^^^^^^^^ cannot resolve opaque type
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0720`.
|