11error[E0277]: the trait bound `i32: Type<MariaDB>` is not satisfied
2- --> tests/ui/unknown_database.rs:6 :10
2+ --> tests/ui/unknown_database.rs:4 :10
33 |
4- 6 | #[derive(SQLInsert, Clone, Debug)]
4+ 4 | #[derive(SQLInsert, Clone, Debug)]
55 | ^^^^^^^^^ the trait `Type<MariaDB>` is not implemented for `i32`
66 |
77 = help: the following other types implement trait `Type<DB>`:
@@ -12,9 +12,9 @@ error[E0277]: the trait bound `i32: Type<MariaDB>` is not satisfied
1212 = note: this error originates in the derive macro `SQLInsert` (in Nightly builds, run with -Z macro-backtrace for more info)
1313
1414error[E0277]: the trait bound `std::string::String: Type<MariaDB>` is not satisfied
15- --> tests/ui/unknown_database.rs:6 :10
15+ --> tests/ui/unknown_database.rs:4 :10
1616 |
17- 6 | #[derive(SQLInsert, Clone, Debug)]
17+ 4 | #[derive(SQLInsert, Clone, Debug)]
1818 | ^^^^^^^^^ the trait `Type<MariaDB>` is not implemented for `std::string::String`
1919 |
2020 = help: the following other types implement trait `Type<DB>`:
@@ -25,9 +25,9 @@ error[E0277]: the trait bound `std::string::String: Type<MariaDB>` is not satisf
2525 = note: this error originates in the derive macro `SQLInsert` (in Nightly builds, run with -Z macro-backtrace for more info)
2626
2727error[E0277]: the trait bound `MariaDB: sqlx::Database` is not satisfied
28- --> tests/ui/unknown_database.rs:6 :10
28+ --> tests/ui/unknown_database.rs:4 :10
2929 |
30- 6 | #[derive(SQLInsert, Clone, Debug)]
30+ 4 | #[derive(SQLInsert, Clone, Debug)]
3131 | ^^^^^^^^^ the trait `sqlx::Database` is not implemented for `MariaDB`
3232 |
3333 = help: the following other types implement trait `sqlx::Database`:
@@ -42,9 +42,9 @@ note: required by a bound in `SQLInsert`
4242 = note: this error originates in the derive macro `SQLInsert` (in Nightly builds, run with -Z macro-backtrace for more info)
4343
4444error[E0277]: the trait bound `MariaDB: sqlx::Database` is not satisfied
45- --> tests/ui/unknown_database.rs:6 :10
45+ --> tests/ui/unknown_database.rs:4 :10
4646 |
47- 6 | #[derive(SQLInsert, Clone, Debug)]
47+ 4 | #[derive(SQLInsert, Clone, Debug)]
4848 | ^^^^^^^^^ the trait `sqlx::Database` is not implemented for `MariaDB`
4949 |
5050 = help: the following other types implement trait `sqlx::Database`:
0 commit comments