GitHub Actions / clippy
failed
Jul 23, 2024 in 1s
clippy
4 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 4 |
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 363 in src/parser/link_url/parse_link.rs
github-actions / clippy
used `unwrap()` on a `Result` value
error: used `unwrap()` on a `Result` value
--> src/parser/link_url/parse_link.rs:363:9
|
363 | parse_ipath_absolute("/foo//bar").unwrap(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: if this value is an `Err`, it will panic
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
Check failure on line 361 in src/parser/link_url/parse_link.rs
github-actions / clippy
used `unwrap()` on a `Result` value
error: used `unwrap()` on a `Result` value
--> src/parser/link_url/parse_link.rs:361:16
|
361 | assert_eq!(parse_ipath_absolute("/foo/bar").unwrap(), ("", "/foo/bar"));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: if this value is an `Err`, it will panic
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
Check failure on line 360 in src/parser/link_url/parse_link.rs
github-actions / clippy
used `unwrap()` on a `Result` value
error: used `unwrap()` on a `Result` value
--> src/parser/link_url/parse_link.rs:360:16
|
360 | assert_eq!(parse_ipath_absolute("/foo").unwrap(), ("", "/foo"));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: if this value is an `Err`, it will panic
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
Check failure on line 343 in src/parser/link_url/parse_link.rs
github-actions / clippy
used `unwrap()` on a `Result` value
error: used `unwrap()` on a `Result` value
--> src/parser/link_url/parse_link.rs:343:9
|
343 | parse_ipath_abempty("///foo/bar").unwrap(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: if this value is an `Err`, it will panic
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used
note: the lint level is defined here
--> src/lib.rs:19:5
|
19 | clippy::unwrap_used,
| ^^^^^^^^^^^^^^^^^^^
Loading