Skip to content

refactor: remove unused error #340

refactor: remove unused error

refactor: remove unused error #340

Triggered via push November 2, 2023 19:59
Status Success
Total duration 3m 57s
Artifacts

test.yml

on: push
rustfmt
7s
rustfmt
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

22 warnings
unnecessary hashes around raw string literal: pomsky-lib/src/exprs/literal.rs#L54
warning: unnecessary hashes around raw string literal --> pomsky-lib/src/exprs/literal.rs:54:29 | 54 | '$' => buf.push_str(r#"\$"#), | ^^^^^^^ help: try: `r"\$"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
unnecessary hashes around raw string literal: pomsky-lib/src/exprs/literal.rs#L53
warning: unnecessary hashes around raw string literal --> pomsky-lib/src/exprs/literal.rs:53:29 | 53 | '^' => buf.push_str(r#"\^"#), | ^^^^^^^ help: try: `r"\^"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
unnecessary hashes around raw string literal: pomsky-lib/src/exprs/literal.rs#L52
warning: unnecessary hashes around raw string literal --> pomsky-lib/src/exprs/literal.rs:52:29 | 52 | '|' => buf.push_str(r#"\|"#), | ^^^^^^^ help: try: `r"\|"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
unnecessary hashes around raw string literal: pomsky-lib/src/exprs/literal.rs#L51
warning: unnecessary hashes around raw string literal --> pomsky-lib/src/exprs/literal.rs:51:29 | 51 | '?' => buf.push_str(r#"\?"#), | ^^^^^^^ help: try: `r"\?"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
unnecessary hashes around raw string literal: pomsky-lib/src/exprs/literal.rs#L50
warning: unnecessary hashes around raw string literal --> pomsky-lib/src/exprs/literal.rs:50:29 | 50 | '*' => buf.push_str(r#"\*"#), | ^^^^^^^ help: try: `r"\*"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
unnecessary hashes around raw string literal: pomsky-lib/src/exprs/literal.rs#L49
warning: unnecessary hashes around raw string literal --> pomsky-lib/src/exprs/literal.rs:49:29 | 49 | '+' => buf.push_str(r#"\+"#), | ^^^^^^^ help: try: `r"\+"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
unnecessary hashes around raw string literal: pomsky-lib/src/exprs/literal.rs#L48
warning: unnecessary hashes around raw string literal --> pomsky-lib/src/exprs/literal.rs:48:29 | 48 | '.' => buf.push_str(r#"\."#), | ^^^^^^^ help: try: `r"\."` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
unnecessary hashes around raw string literal: pomsky-lib/src/exprs/literal.rs#L47
warning: unnecessary hashes around raw string literal --> pomsky-lib/src/exprs/literal.rs:47:29 | 47 | ')' => buf.push_str(r#"\)"#), | ^^^^^^^ help: try: `r"\)"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
unnecessary hashes around raw string literal: pomsky-lib/src/exprs/literal.rs#L46
warning: unnecessary hashes around raw string literal --> pomsky-lib/src/exprs/literal.rs:46:29 | 46 | '(' => buf.push_str(r#"\("#), | ^^^^^^^ help: try: `r"\("` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
unnecessary hashes around raw string literal: pomsky-lib/src/exprs/literal.rs#L45
warning: unnecessary hashes around raw string literal --> pomsky-lib/src/exprs/literal.rs:45:29 | 45 | '}' => buf.push_str(r#"\}"#), | ^^^^^^^ help: try: `r"\}"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
unnecessary hashes around raw string literal: pomsky-lib/src/exprs/literal.rs#L44
warning: unnecessary hashes around raw string literal --> pomsky-lib/src/exprs/literal.rs:44:29 | 44 | '{' => buf.push_str(r#"\{"#), | ^^^^^^^ help: try: `r"\{"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
unnecessary hashes around raw string literal: pomsky-lib/src/exprs/literal.rs#L43
warning: unnecessary hashes around raw string literal --> pomsky-lib/src/exprs/literal.rs:43:29 | 43 | ']' => buf.push_str(r#"\]"#), | ^^^^^^^ help: try: `r"\]"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
unnecessary hashes around raw string literal: pomsky-lib/src/exprs/literal.rs#L42
warning: unnecessary hashes around raw string literal --> pomsky-lib/src/exprs/literal.rs:42:29 | 42 | '[' => buf.push_str(r#"\["#), | ^^^^^^^ help: try: `r"\["` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
unnecessary hashes around raw string literal: pomsky-lib/src/exprs/literal.rs#L41
warning: unnecessary hashes around raw string literal --> pomsky-lib/src/exprs/literal.rs:41:30 | 41 | '\\' => buf.push_str(r#"\\"#), | ^^^^^^^ help: try: `r"\\"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
unnecessary hashes around raw string literal: pomsky-lib/src/exprs/literal.rs#L32
warning: unnecessary hashes around raw string literal --> pomsky-lib/src/exprs/literal.rs:32:66 | 32 | '|' if flavor != RegexFlavor::JavaScript => buf.push_str(r#"\|"#), | ^^^^^^^ help: try: `r"\|"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
unnecessary hashes around raw string literal: pomsky-lib/src/exprs/literal.rs#L31
warning: unnecessary hashes around raw string literal --> pomsky-lib/src/exprs/literal.rs:31:66 | 31 | '&' if flavor != RegexFlavor::JavaScript => buf.push_str(r#"\&"#), | ^^^^^^^ help: try: `r"\&"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
unnecessary hashes around raw string literal: pomsky-lib/src/exprs/literal.rs#L30
warning: unnecessary hashes around raw string literal --> pomsky-lib/src/exprs/literal.rs:30:41 | 30 | '^' if is_first => buf.push_str(r#"\^"#), | ^^^^^^^ help: try: `r"\^"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
unnecessary hashes around raw string literal: pomsky-lib/src/exprs/literal.rs#L29
warning: unnecessary hashes around raw string literal --> pomsky-lib/src/exprs/literal.rs:29:29 | 29 | ']' => buf.push_str(r#"\]"#), | ^^^^^^^ help: try: `r"\]"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
unnecessary hashes around raw string literal: pomsky-lib/src/exprs/literal.rs#L28
warning: unnecessary hashes around raw string literal --> pomsky-lib/src/exprs/literal.rs:28:29 | 28 | '[' => buf.push_str(r#"\["#), | ^^^^^^^ help: try: `r"\["` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
unnecessary hashes around raw string literal: pomsky-lib/src/exprs/literal.rs#L27
warning: unnecessary hashes around raw string literal --> pomsky-lib/src/exprs/literal.rs:27:29 | 27 | '-' => buf.push_str(r#"\-"#), | ^^^^^^^ help: try: `r"\-"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes
unnecessary hashes around raw string literal: pomsky-lib/src/exprs/literal.rs#L26
warning: unnecessary hashes around raw string literal --> pomsky-lib/src/exprs/literal.rs:26:30 | 26 | '\\' => buf.push_str(r#"\\"#), | ^^^^^^^ help: try: `r"\\"` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_raw_string_hashes = note: `#[warn(clippy::needless_raw_string_hashes)]` on by default
clippy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/