Skip to content

fix tabledata.list return type (#67)

Sign in for the full log view
GitHub Actions / clippy failed Oct 12, 2023 in 0s

clippy

2 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 2
Warning 0
Note 0
Help 0

Versions

  • rustc 1.73.0 (cc66ad468 2023-10-03)
  • cargo 1.73.0 (9c4383fb5 2023-08-26)
  • clippy 0.1.73 (cc66ad4 2023-10-03)

Annotations

Check failure on line 103 in src/tabledata.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

type inside `async fn` body must be known in this context

error[E0698]: type inside `async fn` body must be known in this context
   --> src/tabledata.rs:103:9
    |
103 |         process_response(resp).await
    |         ^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the function `process_response`
    |
note: the type is part of the `async fn` body because of this `await`
   --> src/tabledata.rs:103:32
    |
103 |         process_response(resp).await
    |                                ^^^^^

Check failure on line 9 in src/tabledata.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unresolved import `crate::model::table_data_list_response`

error[E0432]: unresolved import `crate::model::table_data_list_response`
 --> src/tabledata.rs:9:19
  |
9 | use crate::model::table_data_list_response::TableDataListResponse;
  |                   ^^^^^^^^^^^^^^^^^^^^^^^^ could not find `table_data_list_response` in `model`