| error: Cannot determine the SQL type of foo |
| --> $DIR/queryable_by_name_requires_table_name_or_sql_type_annotation.rs:5:5 |
| | |
| 5 | foo: i32, |
| | ^^^^^^^^ |
| | |
| = help: Your struct must either be annotated with `#[table_name = "foo"]` or have all of its fields annotated with `#[sql_type = "Integer"]` |
| |
| error: Cannot determine the SQL type of bar |
| --> $DIR/queryable_by_name_requires_table_name_or_sql_type_annotation.rs:6:5 |
| | |
| 6 | bar: String, |
| | ^^^^^^^^^^^ |
| | |
| = help: Your struct must either be annotated with `#[table_name = "foo"]` or have all of its fields annotated with `#[sql_type = "Integer"]` |
| |
| error: All fields of tuple structs must be annotated with `#[column_name]` |
| --> $DIR/queryable_by_name_requires_table_name_or_sql_type_annotation.rs:10:12 |
| | |
| 10 | struct Bar(i32, String); |
| | ^^^ |
| |
| error: Cannot determine the SQL type of field |
| --> $DIR/queryable_by_name_requires_table_name_or_sql_type_annotation.rs:10:12 |
| | |
| 10 | struct Bar(i32, String); |
| | ^^^ |
| | |
| = help: Your struct must either be annotated with `#[table_name = "foo"]` or have all of its fields annotated with `#[sql_type = "Integer"]` |
| |
| error: All fields of tuple structs must be annotated with `#[column_name]` |
| --> $DIR/queryable_by_name_requires_table_name_or_sql_type_annotation.rs:10:17 |
| | |
| 10 | struct Bar(i32, String); |
| | ^^^^^^ |
| |
| error: Cannot determine the SQL type of field |
| --> $DIR/queryable_by_name_requires_table_name_or_sql_type_annotation.rs:10:17 |
| | |
| 10 | struct Bar(i32, String); |
| | ^^^^^^ |
| | |
| = help: Your struct must either be annotated with `#[table_name = "foo"]` or have all of its fields annotated with `#[sql_type = "Integer"]` |
| |
| error: aborting due to 6 previous errors |
| |