clippy
5 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 5 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.77.2 (25ef9e3d8 2024-04-09)
- cargo 1.77.2 (e52e36006 2024-03-26)
- clippy 0.1.77 (25ef9e3 2024-04-09)
Annotations
Check failure on line 265 in src/parser/parse_from_text/text_elements.rs
github-actions / clippy
mismatched types
error[E0308]: mismatched types
--> src/parser/parse_from_text/text_elements.rs:265:17
|
265 | tag
| ^^^ expected `&str`, found `(&str, Element<'_>)`
|
= note: expected reference `&str`
found tuple `(&str, parser::Element<'_>)`
Check failure on line 259 in src/parser/parse_from_text/text_elements.rs
github-actions / clippy
cannot find function `is_not` in this scope
error[E0425]: cannot find function `is_not` in this scope
--> src/parser/parse_from_text/text_elements.rs:259:45
|
259 | let (input, tag) = delimited(char('('), is_not("("), char(')'))(input)?;
| ^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use nom::bytes::complete::is_not;
|
1 + use nom::bytes::streaming::is_not;
|
Check failure on line 259 in src/parser/parse_from_text/text_elements.rs
github-actions / clippy
cannot find function `delimited` in this scope
error[E0425]: cannot find function `delimited` in this scope
--> src/parser/parse_from_text/text_elements.rs:259:24
|
259 | let (input, tag) = delimited(char('('), is_not("("), char(')'))(input)?;
| ^^^^^^^^^ not found in this scope
|
help: consider importing this function
|
1 + use nom::sequence::delimited;
|
Check failure on line 257 in src/parser/parse_from_text/text_elements.rs
github-actions / clippy
cannot find function `is_not` in this scope
error[E0425]: cannot find function `is_not` in this scope
--> src/parser/parse_from_text/text_elements.rs:257:47
|
257 | let (input, label) = delimited(char('['), is_not("["), char(']'))(input)?;
| ^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use nom::bytes::complete::is_not;
|
1 + use nom::bytes::streaming::is_not;
|
Check failure on line 257 in src/parser/parse_from_text/text_elements.rs
github-actions / clippy
cannot find function `delimited` in this scope
error[E0425]: cannot find function `delimited` in this scope
--> src/parser/parse_from_text/text_elements.rs:257:26
|
257 | let (input, label) = delimited(char('['), is_not("["), char(']'))(input)?;
| ^^^^^^^^^ not found in this scope
|
help: consider importing this function
|
1 + use nom::sequence::delimited;
|