Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore needless_pass_by_value pedantic clippy lint in test
warning: this argument is passed by value, but not consumed in the function body --> tests/test.rs:101:24 | 101 | fn assert(literal: Literal, expected: &str) { | ^^^^^^^ help: consider taking a reference instead: `&Literal` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value = note: `-W clippy::needless-pass-by-value` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::needless_pass_by_value)]` warning: this argument is passed by value, but not consumed in the function body --> tests/test.rs:149:24 | 149 | fn assert(literal: Literal, expected: &str) { | ^^^^^^^ help: consider taking a reference instead: `&Literal` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value warning: this argument is passed by value, but not consumed in the function body --> tests/test.rs:167:24 | 167 | fn assert(literal: Literal, expected: &str) { | ^^^^^^^ help: consider taking a reference instead: `&Literal` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value warning: this argument is passed by value, but not consumed in the function body --> tests/test.rs:194:24 | 194 | fn assert(literal: Literal, expected: &str) { | ^^^^^^^ help: consider taking a reference instead: `&Literal` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value warning: this argument is passed by value, but not consumed in the function body --> tests/test.rs:265:24 | 265 | fn assert(literal: Literal, expected: &str) { | ^^^^^^^ help: consider taking a reference instead: `&Literal` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value warning: this argument is passed by value, but not consumed in the function body --> tests/test.rs:281:24 | 281 | fn assert(literal: Literal, expected: &str) { | ^^^^^^^ help: consider taking a reference instead: `&Literal` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value warning: this argument is passed by value, but not consumed in the function body --> tests/test.rs:320:24 | 320 | fn assert(literal: Literal, expected: &str) { | ^^^^^^^ help: consider taking a reference instead: `&Literal` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
- Loading branch information