Skip to content

ondisk: Add compat deserializer for FchConsoleOutMode. #144

ondisk: Add compat deserializer for FchConsoleOutMode.

ondisk: Add compat deserializer for FchConsoleOutMode. #144

GitHub Actions / clippy failed May 6, 2024 in 0s

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 (98aa3624b 2024-02-08)
  • cargo 1.78.0-nightly (ccc84ccec 2024-02-07)
  • clippy 0.1.77 (98aa362 2024-02-08)

Annotations

Check failure on line 7231 in src/ondisk.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing lifetime specifier

error[E0106]: missing lifetime specifier
    --> src/ondisk.rs:7231:95
     |
7231 |     fn deserialize<D>(deserializer: D) -> std::result::Result<Self, <D as serde::Deserializer<'_>>::Error>
     |                                                                                               ^^ expected named lifetime parameter
     |
     = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
help: consider using the `'de` lifetime
     |
7231 |     fn deserialize<D>(deserializer: D) -> std::result::Result<Self, <D as serde::Deserializer<'de>>::Error>
     |                                                                                               ~~~