Bump tucanos version, libOL is no longer needed #71
clippy
11 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 11 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.76.0 (07dca489a 2024-02-04)
- cargo 1.76.0 (c84b36747 2024-01-18)
- clippy 0.1.76 (07dca48 2024-02-04)
Annotations
Check warning on line 531 in src/lib.rs
github-actions / clippy
unused `std::result::Result` that must be used
warning: unused `std::result::Result` that must be used
--> src/lib.rs:531:25
|
531 | dict.set_item(k, to_numpy_1d(py, v.to_vec()));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
544 | create_mesh!(Mesh21, 2, Edge);
| ----------------------------- in this macro invocation
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: this warning originates in the macro `create_mesh` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
531 | let _ = dict.set_item(k, to_numpy_1d(py, v.to_vec()));
| +++++++
Check warning on line 517 in src/lib.rs
github-actions / clippy
unused `std::result::Result` that must be used
warning: unused `std::result::Result` that must be used
--> src/lib.rs:517:25
|
517 | dict.set_item(k, to_numpy_1d(py, v.to_vec()));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
544 | create_mesh!(Mesh21, 2, Edge);
| ----------------------------- in this macro invocation
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: this warning originates in the macro `create_mesh` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
517 | let _ = dict.set_item(k, to_numpy_1d(py, v.to_vec()));
| +++++++
Check warning on line 531 in src/lib.rs
github-actions / clippy
unused `std::result::Result` that must be used
warning: unused `std::result::Result` that must be used
--> src/lib.rs:531:25
|
531 | dict.set_item(k, to_numpy_1d(py, v.to_vec()));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
543 | create_mesh!(Mesh22, 2, Triangle);
| --------------------------------- in this macro invocation
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: this warning originates in the macro `create_mesh` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
531 | let _ = dict.set_item(k, to_numpy_1d(py, v.to_vec()));
| +++++++
Check warning on line 517 in src/lib.rs
github-actions / clippy
unused `std::result::Result` that must be used
warning: unused `std::result::Result` that must be used
--> src/lib.rs:517:25
|
517 | dict.set_item(k, to_numpy_1d(py, v.to_vec()));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
543 | create_mesh!(Mesh22, 2, Triangle);
| --------------------------------- in this macro invocation
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: this warning originates in the macro `create_mesh` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
517 | let _ = dict.set_item(k, to_numpy_1d(py, v.to_vec()));
| +++++++
Check warning on line 531 in src/lib.rs
github-actions / clippy
unused `std::result::Result` that must be used
warning: unused `std::result::Result` that must be used
--> src/lib.rs:531:25
|
531 | dict.set_item(k, to_numpy_1d(py, v.to_vec()));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
542 | create_mesh!(Mesh31, 3, Edge);
| ----------------------------- in this macro invocation
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: this warning originates in the macro `create_mesh` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
531 | let _ = dict.set_item(k, to_numpy_1d(py, v.to_vec()));
| +++++++
Check warning on line 517 in src/lib.rs
github-actions / clippy
unused `std::result::Result` that must be used
warning: unused `std::result::Result` that must be used
--> src/lib.rs:517:25
|
517 | dict.set_item(k, to_numpy_1d(py, v.to_vec()));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
542 | create_mesh!(Mesh31, 3, Edge);
| ----------------------------- in this macro invocation
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: this warning originates in the macro `create_mesh` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
517 | let _ = dict.set_item(k, to_numpy_1d(py, v.to_vec()));
| +++++++
Check warning on line 531 in src/lib.rs
github-actions / clippy
unused `std::result::Result` that must be used
warning: unused `std::result::Result` that must be used
--> src/lib.rs:531:25
|
531 | dict.set_item(k, to_numpy_1d(py, v.to_vec()));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
541 | create_mesh!(Mesh32, 3, Triangle);
| --------------------------------- in this macro invocation
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: this warning originates in the macro `create_mesh` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
531 | let _ = dict.set_item(k, to_numpy_1d(py, v.to_vec()));
| +++++++
Check warning on line 517 in src/lib.rs
github-actions / clippy
unused `std::result::Result` that must be used
warning: unused `std::result::Result` that must be used
--> src/lib.rs:517:25
|
517 | dict.set_item(k, to_numpy_1d(py, v.to_vec()));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
541 | create_mesh!(Mesh32, 3, Triangle);
| --------------------------------- in this macro invocation
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: this warning originates in the macro `create_mesh` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
517 | let _ = dict.set_item(k, to_numpy_1d(py, v.to_vec()));
| +++++++
Check warning on line 531 in src/lib.rs
github-actions / clippy
unused `std::result::Result` that must be used
warning: unused `std::result::Result` that must be used
--> src/lib.rs:531:25
|
531 | dict.set_item(k, to_numpy_1d(py, v.to_vec()));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
540 | create_mesh!(Mesh33, 3, Tetrahedron);
| ------------------------------------ in this macro invocation
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: this warning originates in the macro `create_mesh` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
531 | let _ = dict.set_item(k, to_numpy_1d(py, v.to_vec()));
| +++++++
Check warning on line 517 in src/lib.rs
github-actions / clippy
unused `std::result::Result` that must be used
warning: unused `std::result::Result` that must be used
--> src/lib.rs:517:25
|
517 | dict.set_item(k, to_numpy_1d(py, v.to_vec()));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
540 | create_mesh!(Mesh33, 3, Tetrahedron);
| ------------------------------------ in this macro invocation
|
= note: this `Result` may be an `Err` variant, which should be handled
= note: `#[warn(unused_must_use)]` on by default
= note: this warning originates in the macro `create_mesh` (in Nightly builds, run with -Z macro-backtrace for more info)
help: use `let _ = ...` to ignore the resulting value
|
517 | let _ = dict.set_item(k, to_numpy_1d(py, v.to_vec()));
| +++++++
Check warning on line 5 in src/lib.rs
github-actions / clippy
unused imports: `pyfunction`, `wrap_pyfunction`
warning: unused imports: `pyfunction`, `wrap_pyfunction`
--> src/lib.rs:5:14
|
5 | pyclass, pyfunction, pymethods, pymodule,
| ^^^^^^^^^^
6 | types::{PyDict, PyModule, PyType},
7 | wrap_pyfunction, PyResult, Python,
| ^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default