Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I don't quite understand how this is building/passing-CI.
Without this change, I get the following with rustc 1.92. I got this with previous versions of rustc.
(rustc 1.94-nightly also shows this problem, as did 1.93-nightly and 1.90)
[noting that: "feature[stmt_expr_attributes]" in src/lib.rs is not allowed without -nightly]
``
error: unused import:
impl_mu_aliases> ] 73/74: tss-esapi--> tss-esapi/src/traits.rs:182:16
|
182 | pub(crate) use impl_mu_aliases;
| ^^^^^^^^^^^^^^^
|
note: the lint level is defined here
--> tss-esapi/src/lib.rs:15:5
|
15 | unused,
| ^^^^^^
= note: `#[deny(unused_imports)]` implied by `#[deny(unused)]`
error: value assigned to
ffi_data_handleris never read--> tss-esapi/src/context/tpm_commands/object_commands/create_command_output.rs:85:9
|
85 | ffi_data_handler.ffi_creation_ticket_ptr = null_mut();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: maybe it is overwritten before being read?
= note:
#[deny(unused_assignments)]implied by#[deny(unused)]``