Skip to content

Update packages

Update packages #10

GitHub Actions / clippy failed Nov 28, 2023 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.73.0 (cc66ad468 2023-10-03)
  • cargo 1.73.0 (9c4383fb5 2023-08-26)
  • clippy 0.1.73 (cc66ad4 2023-10-03)

Annotations

Check failure on line 22 in src/main.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unnecessary hashes around raw string literal

error: unnecessary hashes around raw string literal
  --> src/main.rs:22:42
   |
22 |         NormalizePattern::new(Regex::new(r#"(\\')"#).expect("fail regex compile: single quote"), ""),
   |                                          ^^^^^^^^^^ help: try: `r"(\\')"`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes

Check failure on line 22 in src/main.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unnecessary hashes around raw string literal

error: unnecessary hashes around raw string literal
  --> src/main.rs:22:42
   |
22 |         NormalizePattern::new(Regex::new(r#"(\\')"#).expect("fail regex compile: single quote"), ""),
   |                                          ^^^^^^^^^^ help: try: `r"(\\')"`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes

Check failure on line 20 in src/main.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unnecessary hashes around raw string literal

error: unnecessary hashes around raw string literal
  --> src/main.rs:20:42
   |
20 |         NormalizePattern::new(Regex::new(r#"[+-]{0,1}\b\d+\b"#).expect("fail regex compile: digit"), "N"),
   |                                          ^^^^^^^^^^^^^^^^^^^^^ help: try: `r"[+-]{0,1}\b\d+\b"`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
   = note: `-D clippy::needless-raw-string-hashes` implied by `-D warnings`

Check failure on line 20 in src/main.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unnecessary hashes around raw string literal

error: unnecessary hashes around raw string literal
  --> src/main.rs:20:42
   |
20 |         NormalizePattern::new(Regex::new(r#"[+-]{0,1}\b\d+\b"#).expect("fail regex compile: digit"), "N"),
   |                                          ^^^^^^^^^^^^^^^^^^^^^ help: try: `r"[+-]{0,1}\b\d+\b"`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
   = note: `-D clippy::needless-raw-string-hashes` implied by `-D warnings`