Feature/version bumps #47
GitHub Actions / clippy
failed
Jun 13, 2024 in 0s
clippy
2 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 2 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.79.0 (129f3b996 2024-06-10)
- cargo 1.79.0 (ffa9cf99a 2024-06-03)
- clippy 0.1.79 (129f3b9 2024-06-10)
Annotations
Check failure on line 452 in src/lib.rs
github-actions / clippy
mismatched types
error[E0308]: mismatched types
--> src/lib.rs:452:80
|
452 | let mut topic: String<{ 2 * MAX_TOPIC_LENGTH + 1 }> = String::from(prefix.as_str());
| ------------ ^^^^^^^^^^^^^^^ expected `String<257>`, found `&str`
| |
| arguments to this function are incorrect
|
= note: expected struct `heapless::String<257>`
found reference `&str`
note: associated function defined here
--> /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/convert/mod.rs:585:8
Check failure on line 401 in src/lib.rs
github-actions / clippy
mismatched types
error[E0308]: mismatched types
--> src/lib.rs:401:73
|
401 | let mut prefix: String<{ MAX_TOPIC_LENGTH + 2 }> = String::from(self.prefix.as_str());
| ------------ ^^^^^^^^^^^^^^^^^^^^ expected `String<130>`, found `&str`
| |
| arguments to this function are incorrect
|
= note: expected struct `heapless::String<130>`
found reference `&str`
note: associated function defined here
--> /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/convert/mod.rs:585:8
Loading