doc comment #1140
GitHub Actions / clippy
failed
Dec 11, 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.83.0 (90b35a623 2024-11-26)
- cargo 1.83.0 (5ffbef321 2024-10-29)
- clippy 0.1.83 (90b35a6 2024-11-26)
Annotations
Check failure on line 95 in src/lazy/expanded/struct.rs
github-actions / clippy
useless conversion to the same type: `symbol_ref::SymbolRef<'_>`
error: useless conversion to the same type: `symbol_ref::SymbolRef<'_>`
--> src/lazy/expanded/struct.rs:95:60
|
95 | LazyExpandedFieldName::MakeField(symbol) => Ok((*symbol).into()),
| ^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `(*symbol)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `-D clippy::useless-conversion` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::useless_conversion)]`
Check failure on line 1191 in src/lazy/expanded/macro_evaluator.rs
github-actions / clippy
redundant closure
error: redundant closure
--> src/lazy/expanded/macro_evaluator.rs:1191:18
|
1191 | .map(|text| SymbolRef::with_text(text))?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `SymbolRef::with_text`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure
= note: `-D clippy::redundant-closure` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::redundant_closure)]`
Loading