taking slices from input #76
Annotations
1 error and 11 warnings
test
Process completed with exit code 101.
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
redundant field names in struct initialization:
src/parser/parse_from_text/link_element.rs#L302
warning: redundant field names in struct initialization
--> src/parser/parse_from_text/link_element.rs:302:17
|
302 | scheme: scheme,
| ^^^^^^^^^^^^^^ help: replace it with: `scheme`
|
= note: `#[warn(clippy::redundant_field_names)]` on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names
|
unused import: `super::base_parsers::*`:
src/parser/parse_from_text/text_elements.rs#L5
warning: unused import: `super::base_parsers::*`
--> src/parser/parse_from_text/text_elements.rs:5:5
|
5 | use super::base_parsers::*;
| ^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::parser::link_url::LinkDestination`:
src/parser/parse_from_text/text_elements.rs#L2
warning: unused import: `crate::parser::link_url::LinkDestination`
--> src/parser/parse_from_text/text_elements.rs:2:5
|
2 | use crate::parser::link_url::LinkDestination;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `peek`, `take_while1`, `take`, `verify`:
src/parser/parse_from_text/link_element.rs#L8
warning: unused imports: `peek`, `take_while1`, `take`, `verify`
--> src/parser/parse_from_text/link_element.rs:8:28
|
8 | bytes::complete::{tag, take, take_while, take_while1, take_while_m_n},
| ^^^^ ^^^^^^^^^^^
9 | character::complete::{char, u8},
10 | combinator::{opt, peek, recognize, verify},
| ^^^^ ^^^^^^
|
unused imports: `Offset`, `Slice`:
src/parser/parse_from_text/link_element.rs#L4
warning: unused imports: `Offset`, `Slice`
--> src/parser/parse_from_text/link_element.rs:4:18
|
4 | use crate::nom::{Offset, Slice};
| ^^^^^^ ^^^^^
|
unused import: `super::base_parsers::*`:
src/parser/parse_from_text/link_element.rs#L1
warning: unused import: `super::base_parsers::*`
--> src/parser/parse_from_text/link_element.rs:1:5
|
1 | use super::base_parsers::*;
| ^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `direct_delimited`, `is_white_space_but_not_linebreak`, `is_white_space`:
src/parser/parse_from_text/desktop_subset.rs#L6
warning: unused imports: `direct_delimited`, `is_white_space_but_not_linebreak`, `is_white_space`
--> src/parser/parse_from_text/desktop_subset.rs:6:5
|
6 | direct_delimited, is_white_space, is_white_space_but_not_linebreak, CustomError,
| ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `super::base_parsers::*`:
src/parser/parse_from_text/desktop_subset.rs#L4
warning: unused import: `super::base_parsers::*`
--> src/parser/parse_from_text/desktop_subset.rs:4:5
|
4 | use super::base_parsers::*;
| ^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `Error`:
src/parser/parse_from_text/base_parsers.rs#L6
warning: unused import: `Error`
--> src/parser/parse_from_text/base_parsers.rs:6:13
|
6 | error::{Error, ErrorKind, ParseError},
| ^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|