GitHub Actions / clippy
failed
Nov 10, 2023 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.73.0 (cc66ad468 2023-10-03)
- cargo 1.73.0 (9c4383fb5 2023-08-26)
- clippy 0.1.73 (cc66ad4 2023-10-03)
Annotations
Check failure on line 85 in src/client.rs
github-actions / clippy
mismatched types
error[E0308]: mismatched types
--> src/client.rs:85:9
|
84 | pub fn client_secret(&self) -> &str {
| ---- expected `&str` because of return type
85 | &self.client_secret
| ^^^^^^^^^^^^^^^^^^^ expected `&str`, found `&Secret<String>`
|
= note: expected reference `&str`
found reference `&secrecy::Secret<std::string::String>`
Loading