witness: store local consensus state during initialization for witness feature #1793
GitHub Actions / clippy
failed
Oct 16, 2024 in 1s
clippy
1 error
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 1 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.78.0-nightly (268dbbbc4 2024-02-04)
- cargo 1.78.0-nightly (7bb7b5395 2024-01-20)
- clippy 0.1.77 (268dbbb 2024-02-04)
Annotations
Check failure on line 126 in solana/solana-ibc/programs/solana-ibc/src/lib.rs
github-actions / clippy
the `?` operator can only be applied to values that implement `std::ops::Try`
error[E0277]: the `?` operator can only be applied to values that implement `std::ops::Try`
--> solana/solana-ibc/programs/solana-ibc/src/lib.rs:126:29
|
126 | let timestamp = clock?.unix_timestamp as u64;
| ^^^^^^ the `?` operator cannot be applied to type `anchor_lang::prelude::Clock`
|
= help: the trait `std::ops::Try` is not implemented for `anchor_lang::prelude::Clock`
Loading