Changed lints #220
clippy
69 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 69 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.83.0 (90b35a623 2024-11-26)
- cargo 1.83.0 (5ffbef321 2024-10-29)
- clippy 0.1.83 (90b35a6 2024-11-26)
Annotations
Check failure on line 1656 in src/value_converter.rs
github-actions / clippy
used underscore-prefixed item
error: used underscore-prefixed item
--> src/value_converter.rs:1656:22
|
1656 | let vector = _composite_field_postgres_to_py::<Option<PgVector>>(type_, buf, is_simple)?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: item is defined here
--> src/value_converter.rs:1172:1
|
1172 | / fn _composite_field_postgres_to_py<'a, T: FromSql<'a>>(
1173 | | type_: &Type,
1174 | | buf: &mut &'a [u8],
1175 | | is_simple: bool,
1176 | | ) -> RustPSQLDriverPyResult<T> {
| |______________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items
Check failure on line 1637 in src/value_converter.rs
github-actions / clippy
used underscore-prefixed item
error: used underscore-prefixed item
--> src/value_converter.rs:1635:35
|
1635 | let interval_array_ = _composite_field_postgres_to_py::<Option<Array<InnerInterval>>>(
| ___________________________________^
1636 | | type_, buf, is_simple,
1637 | | )?;
| |_____________^
|
note: item is defined here
--> src/value_converter.rs:1172:1
|
1172 | / fn _composite_field_postgres_to_py<'a, T: FromSql<'a>>(
1173 | | type_: &Type,
1174 | | buf: &mut &'a [u8],
1175 | | is_simple: bool,
1176 | | ) -> RustPSQLDriverPyResult<T> {
| |______________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items
Check failure on line 1630 in src/value_converter.rs
github-actions / clippy
used underscore-prefixed item
error: used underscore-prefixed item
--> src/value_converter.rs:1630:17
|
1630 | _composite_field_postgres_to_py::<Option<Array<Circle>>>(type_, buf, is_simple)?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: item is defined here
--> src/value_converter.rs:1172:1
|
1172 | / fn _composite_field_postgres_to_py<'a, T: FromSql<'a>>(
1173 | | type_: &Type,
1174 | | buf: &mut &'a [u8],
1175 | | is_simple: bool,
1176 | | ) -> RustPSQLDriverPyResult<T> {
| |______________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items
Check failure on line 1624 in src/value_converter.rs
github-actions / clippy
used underscore-prefixed item
error: used underscore-prefixed item
--> src/value_converter.rs:1622:31
|
1622 | let lseg_array_ = _composite_field_postgres_to_py::<Option<Array<RustLineSegment>>>(
| _______________________________^
1623 | | type_, buf, is_simple,
1624 | | )?;
| |_____________^
|
note: item is defined here
--> src/value_converter.rs:1172:1
|
1172 | / fn _composite_field_postgres_to_py<'a, T: FromSql<'a>>(
1173 | | type_: &Type,
1174 | | buf: &mut &'a [u8],
1175 | | is_simple: bool,
1176 | | ) -> RustPSQLDriverPyResult<T> {
| |______________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items
Check failure on line 1617 in src/value_converter.rs
github-actions / clippy
used underscore-prefixed item
error: used underscore-prefixed item
--> src/value_converter.rs:1617:17
|
1617 | _composite_field_postgres_to_py::<Option<Array<Line>>>(type_, buf, is_simple)?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: item is defined here
--> src/value_converter.rs:1172:1
|
1172 | / fn _composite_field_postgres_to_py<'a, T: FromSql<'a>>(
1173 | | type_: &Type,
1174 | | buf: &mut &'a [u8],
1175 | | is_simple: bool,
1176 | | ) -> RustPSQLDriverPyResult<T> {
| |______________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items
Check failure on line 1611 in src/value_converter.rs
github-actions / clippy
used underscore-prefixed item
error: used underscore-prefixed item
--> src/value_converter.rs:1609:31
|
1609 | let path_array_ = _composite_field_postgres_to_py::<Option<Array<RustLineString>>>(
| _______________________________^
1610 | | type_, buf, is_simple,
1611 | | )?;
| |_____________^
|
note: item is defined here
--> src/value_converter.rs:1172:1
|
1172 | / fn _composite_field_postgres_to_py<'a, T: FromSql<'a>>(
1173 | | type_: &Type,
1174 | | buf: &mut &'a [u8],
1175 | | is_simple: bool,
1176 | | ) -> RustPSQLDriverPyResult<T> {
| |______________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items
Check failure on line 1604 in src/value_converter.rs
github-actions / clippy
used underscore-prefixed item
error: used underscore-prefixed item
--> src/value_converter.rs:1604:17
|
1604 | _composite_field_postgres_to_py::<Option<Array<RustRect>>>(type_, buf, is_simple)?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: item is defined here
--> src/value_converter.rs:1172:1
|
1172 | / fn _composite_field_postgres_to_py<'a, T: FromSql<'a>>(
1173 | | type_: &Type,
1174 | | buf: &mut &'a [u8],
1175 | | is_simple: bool,
1176 | | ) -> RustPSQLDriverPyResult<T> {
| |______________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items
Check failure on line 1598 in src/value_converter.rs
github-actions / clippy
used underscore-prefixed item
error: used underscore-prefixed item
--> src/value_converter.rs:1598:17
|
1598 | _composite_field_postgres_to_py::<Option<Array<RustPoint>>>(type_, buf, is_simple)?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: item is defined here
--> src/value_converter.rs:1172:1
|
1172 | / fn _composite_field_postgres_to_py<'a, T: FromSql<'a>>(
1173 | | type_: &Type,
1174 | | buf: &mut &'a [u8],
1175 | | is_simple: bool,
1176 | | ) -> RustPSQLDriverPyResult<T> {
| |______________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items
Check failure on line 1592 in src/value_converter.rs
github-actions / clippy
used underscore-prefixed item
error: used underscore-prefixed item
--> src/value_converter.rs:1592:13
|
1592 | _composite_field_postgres_to_py::<Option<Array<InnerDecimal>>>(type_, buf, is_simple)?,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: item is defined here
--> src/value_converter.rs:1172:1
|
1172 | / fn _composite_field_postgres_to_py<'a, T: FromSql<'a>>(
1173 | | type_: &Type,
1174 | | buf: &mut &'a [u8],
1175 | | is_simple: bool,
1176 | | ) -> RustPSQLDriverPyResult<T> {
| |______________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items
Check failure on line 1587 in src/value_converter.rs
github-actions / clippy
used underscore-prefixed item
error: used underscore-prefixed item
--> src/value_converter.rs:1585:33
|
1585 | let db_json_array = _composite_field_postgres_to_py::<Option<Array<InternalSerdeValue>>>(
| _________________________________^
1586 | | type_, buf, is_simple,
1587 | | )?;
| |_____________^
|
note: item is defined here
--> src/value_converter.rs:1172:1
|
1172 | / fn _composite_field_postgres_to_py<'a, T: FromSql<'a>>(
1173 | | type_: &Type,
1174 | | buf: &mut &'a [u8],
1175 | | is_simple: bool,
1176 | | ) -> RustPSQLDriverPyResult<T> {
| |______________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items
Check failure on line 1581 in src/value_converter.rs
github-actions / clippy
used underscore-prefixed item
error: used underscore-prefixed item
--> src/value_converter.rs:1581:13
|
1581 | _composite_field_postgres_to_py::<Option<Array<IpAddr>>>(type_, buf, is_simple)?,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: item is defined here
--> src/value_converter.rs:1172:1
|
1172 | / fn _composite_field_postgres_to_py<'a, T: FromSql<'a>>(
1173 | | type_: &Type,
1174 | | buf: &mut &'a [u8],
1175 | | is_simple: bool,
1176 | | ) -> RustPSQLDriverPyResult<T> {
| |______________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items
Check failure on line 1575 in src/value_converter.rs
github-actions / clippy
used underscore-prefixed item
error: used underscore-prefixed item
--> src/value_converter.rs:1573:30
|
1573 | let uuid_array = _composite_field_postgres_to_py::<Option<Array<InternalUuid>>>(
| ______________________________^
1574 | | type_, buf, is_simple,
1575 | | )?;
| |_____________^
|
note: item is defined here
--> src/value_converter.rs:1172:1
|
1172 | / fn _composite_field_postgres_to_py<'a, T: FromSql<'a>>(
1173 | | type_: &Type,
1174 | | buf: &mut &'a [u8],
1175 | | is_simple: bool,
1176 | | ) -> RustPSQLDriverPyResult<T> {
| |______________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items
Check failure on line 1568 in src/value_converter.rs
github-actions / clippy
used underscore-prefixed item
error: used underscore-prefixed item
--> src/value_converter.rs:1566:13
|
1566 | / _composite_field_postgres_to_py::<Option<Array<DateTime<FixedOffset>>>>(
1567 | | type_, buf, is_simple,
1568 | | )?,
| |_____________^
|
note: item is defined here
--> src/value_converter.rs:1172:1
|
1172 | / fn _composite_field_postgres_to_py<'a, T: FromSql<'a>>(
1173 | | type_: &Type,
1174 | | buf: &mut &'a [u8],
1175 | | is_simple: bool,
1176 | | ) -> RustPSQLDriverPyResult<T> {
| |______________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items
Check failure on line 1560 in src/value_converter.rs
github-actions / clippy
used underscore-prefixed item
error: used underscore-prefixed item
--> src/value_converter.rs:1560:13
|
1560 | _composite_field_postgres_to_py::<Option<Array<NaiveDateTime>>>(type_, buf, is_simple)?,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: item is defined here
--> src/value_converter.rs:1172:1
|
1172 | / fn _composite_field_postgres_to_py<'a, T: FromSql<'a>>(
1173 | | type_: &Type,
1174 | | buf: &mut &'a [u8],
1175 | | is_simple: bool,
1176 | | ) -> RustPSQLDriverPyResult<T> {
| |______________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items
Check failure on line 1554 in src/value_converter.rs
github-actions / clippy
used underscore-prefixed item
error: used underscore-prefixed item
--> src/value_converter.rs:1554:13
|
1554 | _composite_field_postgres_to_py::<Option<Array<NaiveTime>>>(type_, buf, is_simple)?,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: item is defined here
--> src/value_converter.rs:1172:1
|
1172 | / fn _composite_field_postgres_to_py<'a, T: FromSql<'a>>(
1173 | | type_: &Type,
1174 | | buf: &mut &'a [u8],
1175 | | is_simple: bool,
1176 | | ) -> RustPSQLDriverPyResult<T> {
| |______________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items
Check failure on line 1548 in src/value_converter.rs
github-actions / clippy
used underscore-prefixed item
error: used underscore-prefixed item
--> src/value_converter.rs:1548:13
|
1548 | _composite_field_postgres_to_py::<Option<Array<NaiveDate>>>(type_, buf, is_simple)?,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: item is defined here
--> src/value_converter.rs:1172:1
|
1172 | / fn _composite_field_postgres_to_py<'a, T: FromSql<'a>>(
1173 | | type_: &Type,
1174 | | buf: &mut &'a [u8],
1175 | | is_simple: bool,
1176 | | ) -> RustPSQLDriverPyResult<T> {
| |______________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items
Check failure on line 1542 in src/value_converter.rs
github-actions / clippy
used underscore-prefixed item
error: used underscore-prefixed item
--> src/value_converter.rs:1542:13
|
1542 | _composite_field_postgres_to_py::<Option<Array<f64>>>(type_, buf, is_simple)?,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: item is defined here
--> src/value_converter.rs:1172:1
|
1172 | / fn _composite_field_postgres_to_py<'a, T: FromSql<'a>>(
1173 | | type_: &Type,
1174 | | buf: &mut &'a [u8],
1175 | | is_simple: bool,
1176 | | ) -> RustPSQLDriverPyResult<T> {
| |______________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items
Check failure on line 1536 in src/value_converter.rs
github-actions / clippy
used underscore-prefixed item
error: used underscore-prefixed item
--> src/value_converter.rs:1536:13
|
1536 | _composite_field_postgres_to_py::<Option<Array<f32>>>(type_, buf, is_simple)?,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: item is defined here
--> src/value_converter.rs:1172:1
|
1172 | / fn _composite_field_postgres_to_py<'a, T: FromSql<'a>>(
1173 | | type_: &Type,
1174 | | buf: &mut &'a [u8],
1175 | | is_simple: bool,
1176 | | ) -> RustPSQLDriverPyResult<T> {
| |______________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items
Check failure on line 1530 in src/value_converter.rs
github-actions / clippy
used underscore-prefixed item
error: used underscore-prefixed item
--> src/value_converter.rs:1530:13
|
1530 | _composite_field_postgres_to_py::<Option<Array<i64>>>(type_, buf, is_simple)?,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: item is defined here
--> src/value_converter.rs:1172:1
|
1172 | / fn _composite_field_postgres_to_py<'a, T: FromSql<'a>>(
1173 | | type_: &Type,
1174 | | buf: &mut &'a [u8],
1175 | | is_simple: bool,
1176 | | ) -> RustPSQLDriverPyResult<T> {
| |______________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items
Check failure on line 1524 in src/value_converter.rs
github-actions / clippy
used underscore-prefixed item
error: used underscore-prefixed item
--> src/value_converter.rs:1524:13
|
1524 | _composite_field_postgres_to_py::<Option<Array<i32>>>(type_, buf, is_simple)?,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: item is defined here
--> src/value_converter.rs:1172:1
|
1172 | / fn _composite_field_postgres_to_py<'a, T: FromSql<'a>>(
1173 | | type_: &Type,
1174 | | buf: &mut &'a [u8],
1175 | | is_simple: bool,
1176 | | ) -> RustPSQLDriverPyResult<T> {
| |______________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items
Check failure on line 1518 in src/value_converter.rs
github-actions / clippy
used underscore-prefixed item
error: used underscore-prefixed item
--> src/value_converter.rs:1518:13
|
1518 | _composite_field_postgres_to_py::<Option<Array<i16>>>(type_, buf, is_simple)?,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: item is defined here
--> src/value_converter.rs:1172:1
|
1172 | / fn _composite_field_postgres_to_py<'a, T: FromSql<'a>>(
1173 | | type_: &Type,
1174 | | buf: &mut &'a [u8],
1175 | | is_simple: bool,
1176 | | ) -> RustPSQLDriverPyResult<T> {
| |______________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items
Check failure on line 1511 in src/value_converter.rs
github-actions / clippy
used underscore-prefixed item
error: used underscore-prefixed item
--> src/value_converter.rs:1511:13
|
1511 | _composite_field_postgres_to_py::<Option<Array<String>>>(type_, buf, is_simple)?,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: item is defined here
--> src/value_converter.rs:1172:1
|
1172 | / fn _composite_field_postgres_to_py<'a, T: FromSql<'a>>(
1173 | | type_: &Type,
1174 | | buf: &mut &'a [u8],
1175 | | is_simple: bool,
1176 | | ) -> RustPSQLDriverPyResult<T> {
| |______________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items
Check failure on line 1505 in src/value_converter.rs
github-actions / clippy
used underscore-prefixed item
error: used underscore-prefixed item
--> src/value_converter.rs:1505:13
|
1505 | _composite_field_postgres_to_py::<Option<Array<bool>>>(type_, buf, is_simple)?,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: item is defined here
--> src/value_converter.rs:1172:1
|
1172 | / fn _composite_field_postgres_to_py<'a, T: FromSql<'a>>(
1173 | | type_: &Type,
1174 | | buf: &mut &'a [u8],
1175 | | is_simple: bool,
1176 | | ) -> RustPSQLDriverPyResult<T> {
| |______________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items
Check failure on line 1496 in src/value_converter.rs
github-actions / clippy
used underscore-prefixed item
error: used underscore-prefixed item
--> src/value_converter.rs:1496:17
|
1496 | _composite_field_postgres_to_py::<Option<Interval>>(type_, buf, is_simple)?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: item is defined here
--> src/value_converter.rs:1172:1
|
1172 | / fn _composite_field_postgres_to_py<'a, T: FromSql<'a>>(
1173 | | type_: &Type,
1174 | | buf: &mut &'a [u8],
1175 | | is_simple: bool,
1176 | | ) -> RustPSQLDriverPyResult<T> {
| |______________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items
Check failure on line 1487 in src/value_converter.rs
github-actions / clippy
used underscore-prefixed item
error: used underscore-prefixed item
--> src/value_converter.rs:1487:27
|
1487 | let circle_ = _composite_field_postgres_to_py::<Option<Circle>>(type_, buf, is_simple)?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: item is defined here
--> src/value_converter.rs:1172:1
|
1172 | / fn _composite_field_postgres_to_py<'a, T: FromSql<'a>>(
1173 | | type_: &Type,
1174 | | buf: &mut &'a [u8],
1175 | | is_simple: bool,
1176 | | ) -> RustPSQLDriverPyResult<T> {
| |______________________________^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items