[INFO] cloning repository https://github.com/JustinEnlow/edit_core [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JustinEnlow/edit_core" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJustinEnlow%2Fedit_core", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJustinEnlow%2Fedit_core'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 751fcb489cc09c9f7ef877eb29c3a09b99538634 [INFO] linting JustinEnlow/edit_core against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJustinEnlow%2Fedit_core" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JustinEnlow/edit_core [INFO] finished tweaking git repo https://github.com/JustinEnlow/edit_core [INFO] tweaked toml for git repo https://github.com/JustinEnlow/edit_core written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JustinEnlow/edit_core on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JustinEnlow/edit_core already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded str_indices v0.4.3 [INFO] [stderr] Downloaded ropey v1.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2091a06652f421c4394753d1fbe18e1a03673f9678ff0715d4bcc067e402b3e [INFO] running `Command { std: "docker" "start" "-a" "f2091a06652f421c4394753d1fbe18e1a03673f9678ff0715d4bcc067e402b3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2091a06652f421c4394753d1fbe18e1a03673f9678ff0715d4bcc067e402b3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2091a06652f421c4394753d1fbe18e1a03673f9678ff0715d4bcc067e402b3e", kill_on_drop: false }` [INFO] [stdout] f2091a06652f421c4394753d1fbe18e1a03673f9678ff0715d4bcc067e402b3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60272ae65d31cdac4683c30db144f6e1c076147c9ba4b4f1f37306224b5c109f [INFO] running `Command { std: "docker" "start" "-a" "60272ae65d31cdac4683c30db144f6e1c076147c9ba4b4f1f37306224b5c109f", kill_on_drop: false }` [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking str_indices v0.4.3 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking ropey v1.6.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking edit_core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | //! as well as operations for cursor movement. The `Selections` structure provides an API to handle [INFO] [stdout] | ^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] = note: `#[warn(clippy::doc_overindented_list_items)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | //! these operations, with support for handling multiple selections simultaneously. [INFO] [stdout] | ^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | //! The `Document` structure provides an API to handle these operations, with support for handling [INFO] [stdout] | ^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | //! multiple edits simultaneously. [INFO] [stdout] | ^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | //! tabs should be hard tabs (`\t`) or soft tabs (spaces) and set the width of soft tabs using the [INFO] [stdout] | ^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | //! `TAB_WIDTH` constant, or whether to use Bar or Block cursor semantics. [INFO] [stdout] | ^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `.is_multiple_of()` [INFO] [stdout] --> src/utilities/backspace.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | && offset_from_line_start % tab_width == 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `offset_from_line_start.is_multiple_of(tab_width)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of [INFO] [stdout] = note: `#[warn(clippy::manual_is_multiple_of)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | //! as well as operations for cursor movement. The `Selections` structure provides an API to handle [INFO] [stdout] | ^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] = note: `#[warn(clippy::doc_overindented_list_items)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | //! these operations, with support for handling multiple selections simultaneously. [INFO] [stdout] | ^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | //! The `Document` structure provides an API to handle these operations, with support for handling [INFO] [stdout] | ^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | //! multiple edits simultaneously. [INFO] [stdout] | ^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | //! tabs should be hard tabs (`\t`) or soft tabs (spaces) and set the width of soft tabs using the [INFO] [stdout] | ^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | //! `TAB_WIDTH` constant, or whether to use Bar or Block cursor semantics. [INFO] [stdout] | ^^^^ help: try using ` ` (2 spaces) [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_overindented_list_items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/range_tests/overlaps.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(Range::new(0, 3).overlaps(&Range::new(3, 6)), false); //[idk]<\nso>me\nshit\n [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] = note: `#[warn(clippy::bool_assert_comparison)]` on by default [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 5 - assert_eq!(Range::new(0, 3).overlaps(&Range::new(3, 6)), false); //[idk]<\nso>me\nshit\n [INFO] [stdout] 5 + assert!(!Range::new(0, 3).overlaps(&Range::new(3, 6))); //[idk]<\nso>me\nshit\n [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/range_tests/overlaps.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(Range::new(3, 6).overlaps(&Range::new(0, 3)), false); //[\nso]me\nshit\n [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 6 - assert_eq!(Range::new(3, 6).overlaps(&Range::new(0, 3)), false); //[\nso]me\nshit\n [INFO] [stdout] 6 + assert!(!Range::new(3, 6).overlaps(&Range::new(0, 3))); //[\nso]me\nshit\n [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/range_tests/overlaps.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(Range::new(0, 4).overlaps(&Range::new(3, 6)), true); //[idk<\n]so>me\nshit\n [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 9 - assert_eq!(Range::new(0, 4).overlaps(&Range::new(3, 6)), true); //[idk<\n]so>me\nshit\n [INFO] [stdout] 9 + assert!(Range::new(0, 4).overlaps(&Range::new(3, 6))); //[idk<\n]so>me\nshit\n [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/range_tests/overlaps.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(Range::new(3, 6).overlaps(&Range::new(0, 4)), true); //so]me\nshit\n [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 10 - assert_eq!(Range::new(3, 6).overlaps(&Range::new(0, 4)), true); //so]me\nshit\n [INFO] [stdout] 10 + assert!(Range::new(3, 6).overlaps(&Range::new(0, 4))); //so]me\nshit\n [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/range_tests/overlaps.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(Range::new(0, 3).overlaps(&Range::new(3, 3)), true); //[idk<>]\nsome\nshit\n [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 15 - assert_eq!(Range::new(0, 3).overlaps(&Range::new(3, 3)), true); //[idk<>]\nsome\nshit\n [INFO] [stdout] 15 + assert!(Range::new(0, 3).overlaps(&Range::new(3, 3))); //[idk<>]\nsome\nshit\n [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/range_tests/overlaps.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(Range::new(3, 3).overlaps(&Range::new(0, 3)), true); //\nsome\nshit\n [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 16 - assert_eq!(Range::new(3, 3).overlaps(&Range::new(0, 3)), true); //\nsome\nshit\n [INFO] [stdout] 16 + assert!(Range::new(3, 3).overlaps(&Range::new(0, 3))); //\nsome\nshit\n [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/range_tests/overlaps.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | assert_eq!(Range::new(1, 4).overlaps(&Range::new(1, 1)), true); //i[<>dk\n]some\nshit\n [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 19 - assert_eq!(Range::new(1, 4).overlaps(&Range::new(1, 1)), true); //i[<>dk\n]some\nshit\n [INFO] [stdout] 19 + assert!(Range::new(1, 4).overlaps(&Range::new(1, 1))); //i[<>dk\n]some\nshit\n [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/range_tests/overlaps.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | assert_eq!(Range::new(1, 1).overlaps(&Range::new(1, 4)), true); //i[<]dk\n>some\nshit\n [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 20 - assert_eq!(Range::new(1, 1).overlaps(&Range::new(1, 4)), true); //i[<]dk\n>some\nshit\n [INFO] [stdout] 20 + assert!(Range::new(1, 1).overlaps(&Range::new(1, 4))); //i[<]dk\n>some\nshit\n [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/range_tests/overlaps.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(Range::new(1, 4).overlaps(&Range::new(3, 3)), true); //i[dk<>\n]some\nshit\n [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 21 - assert_eq!(Range::new(1, 4).overlaps(&Range::new(3, 3)), true); //i[dk<>\n]some\nshit\n [INFO] [stdout] 21 + assert!(Range::new(1, 4).overlaps(&Range::new(3, 3))); //i[dk<>\n]some\nshit\n [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/range_tests/overlaps.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(Range::new(3, 3).overlaps(&Range::new(1, 4)), true); //isome\nshit\n [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 22 - assert_eq!(Range::new(3, 3).overlaps(&Range::new(1, 4)), true); //isome\nshit\n [INFO] [stdout] 22 + assert!(Range::new(3, 3).overlaps(&Range::new(1, 4))); //isome\nshit\n [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/range_tests/overlaps.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | assert_eq!(Range::new(0, 0).overlaps(&Range::new(1, 1)), false); //[]i<>dk\nsome\nshit\n [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 27 - assert_eq!(Range::new(0, 0).overlaps(&Range::new(1, 1)), false); //[]i<>dk\nsome\nshit\n [INFO] [stdout] 27 + assert!(!Range::new(0, 0).overlaps(&Range::new(1, 1))); //[]i<>dk\nsome\nshit\n [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/range_tests/overlaps.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | assert_eq!(Range::new(1, 1).overlaps(&Range::new(0, 0)), false); //<>i[]dk\nsome\nshit\n [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 28 - assert_eq!(Range::new(1, 1).overlaps(&Range::new(0, 0)), false); //<>i[]dk\nsome\nshit\n [INFO] [stdout] 28 + assert!(!Range::new(1, 1).overlaps(&Range::new(0, 0))); //<>i[]dk\nsome\nshit\n [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/range_tests/overlaps.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | assert_eq!(Range::new(1, 1).overlaps(&Range::new(1, 1)), true); //i[<>]dk\nsome\nshit\n [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 31 - assert_eq!(Range::new(1, 1).overlaps(&Range::new(1, 1)), true); //i[<>]dk\nsome\nshit\n [INFO] [stdout] 31 + assert!(Range::new(1, 1).overlaps(&Range::new(1, 1))); //i[<>]dk\nsome\nshit\n [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (8/7) [INFO] [stdout] --> src/selection_tests/new.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / fn test_from_components( [INFO] [stdout] 9 | | semantics: CursorSemantics, [INFO] [stdout] 10 | | text: &str, [INFO] [stdout] 11 | | selection: (usize, usize, Option), [INFO] [stdout] ... | [INFO] [stdout] 16 | | expected_direction: Direction [INFO] [stdout] 17 | | ){ [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] = note: `#[warn(clippy::too_many_arguments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/selection_tests/is_extended.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(Selection::new(Range::new(0, 0), Direction::Forward).is_extended(CursorSemantics::Bar), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 5 - assert_eq!(Selection::new(Range::new(0, 0), Direction::Forward).is_extended(CursorSemantics::Bar), false); [INFO] [stdout] 5 + assert!(!Selection::new(Range::new(0, 0), Direction::Forward).is_extended(CursorSemantics::Bar)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/selection_tests/is_extended.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(Selection::new(Range::new(0, 1), Direction::Forward).is_extended(CursorSemantics::Bar), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(Selection::new(Range::new(0, 1), Direction::Forward).is_extended(CursorSemantics::Bar), true); [INFO] [stdout] 8 + assert!(Selection::new(Range::new(0, 1), Direction::Forward).is_extended(CursorSemantics::Bar)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/selection_tests/is_extended.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(Selection::new(Range::new(0, 1), Direction::Backward).is_extended(CursorSemantics::Bar), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 11 - assert_eq!(Selection::new(Range::new(0, 1), Direction::Backward).is_extended(CursorSemantics::Bar), true); [INFO] [stdout] 11 + assert!(Selection::new(Range::new(0, 1), Direction::Backward).is_extended(CursorSemantics::Bar)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/selection_tests/is_extended.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(Selection::new(Range::new(0, 0), Direction::Forward).is_extended(CursorSemantics::Block), false); //though this sh... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 15 - assert_eq!(Selection::new(Range::new(0, 0), Direction::Forward).is_extended(CursorSemantics::Block), false); //though this shouldn't be possible using block semantics [INFO] [stdout] 15 + assert!(!Selection::new(Range::new(0, 0), Direction::Forward).is_extended(CursorSemantics::Block)); //though this shouldn't be possible using block semantics [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/selection_tests/is_extended.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | assert_eq!(Selection::new(Range::new(0, 1), Direction::Forward).is_extended(CursorSemantics::Block), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 18 - assert_eq!(Selection::new(Range::new(0, 1), Direction::Forward).is_extended(CursorSemantics::Block), false); [INFO] [stdout] 18 + assert!(!Selection::new(Range::new(0, 1), Direction::Forward).is_extended(CursorSemantics::Block)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/selection_tests/is_extended.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | assert_eq!(Selection::new(Range::new(0, 2), Direction::Forward).is_extended(CursorSemantics::Block), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 19 - assert_eq!(Selection::new(Range::new(0, 2), Direction::Forward).is_extended(CursorSemantics::Block), true); [INFO] [stdout] 19 + assert!(Selection::new(Range::new(0, 2), Direction::Forward).is_extended(CursorSemantics::Block)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/selection_tests/is_extended.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(Selection::new(Range::new(0, 1), Direction::Backward).is_extended(CursorSemantics::Block), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 22 - assert_eq!(Selection::new(Range::new(0, 1), Direction::Backward).is_extended(CursorSemantics::Block), false); [INFO] [stdout] 22 + assert!(!Selection::new(Range::new(0, 1), Direction::Backward).is_extended(CursorSemantics::Block)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/selection_tests/is_extended.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(Selection::new(Range::new(0, 2), Direction::Backward).is_extended(CursorSemantics::Block), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 23 - assert_eq!(Selection::new(Range::new(0, 2), Direction::Backward).is_extended(CursorSemantics::Block), true); [INFO] [stdout] 23 + assert!(Selection::new(Range::new(0, 2), Direction::Backward).is_extended(CursorSemantics::Block)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/selection_tests/spans_multiple_lines.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(false, Selection::new(Range::new(14, 14), Direction::Forward).spans_multiple_lines(&text, CursorSemantics::Bar)); /... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 8 - assert_eq!(false, Selection::new(Range::new(14, 14), Direction::Forward).spans_multiple_lines(&text, CursorSemantics::Bar)); // i d k \n s o m e \n s h i t \n|> [INFO] [stdout] 8 + assert!(!Selection::new(Range::new(14, 14), Direction::Forward).spans_multiple_lines(&text, CursorSemantics::Bar)); // i d k \n s o m e \n s h i t \n|> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/selection_tests/spans_multiple_lines.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(false, Selection::new(Range::new(13, 14), Direction::Forward).spans_multiple_lines(&text, CursorSemantics::Block)); ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 12 - assert_eq!(false, Selection::new(Range::new(13, 14), Direction::Forward).spans_multiple_lines(&text, CursorSemantics::Block)); // i d k \n s o m e \n s h i t|\n> [INFO] [stdout] 12 + assert!(!Selection::new(Range::new(13, 14), Direction::Forward).spans_multiple_lines(&text, CursorSemantics::Block)); // i d k \n s o m e \n s h i t|\n> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/selection_tests/spans_multiple_lines.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(false, Selection::new(Range::new(13, 14), Direction::Backward).spans_multiple_lines(&text, CursorSemantics::Block)); ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 13 - assert_eq!(false, Selection::new(Range::new(13, 14), Direction::Backward).spans_multiple_lines(&text, CursorSemantics::Block)); // i d k \n s o m e \n s h i t<\n| [INFO] [stdout] 13 + assert!(!Selection::new(Range::new(13, 14), Direction::Backward).spans_multiple_lines(&text, CursorSemantics::Block)); // i d k \n s o m e \n s h i t<\n| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/selection_tests/spans_multiple_lines.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | assert_eq!(false, Selection::new(Range::new(0, 3), Direction::Forward).spans_multiple_lines(&text, CursorSemantics::Bar)); ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 19 - assert_eq!(false, Selection::new(Range::new(0, 3), Direction::Forward).spans_multiple_lines(&text, CursorSemantics::Bar)); //|i d k>\n s o m e \n s h i t \n [INFO] [stdout] 19 + assert!(!Selection::new(Range::new(0, 3), Direction::Forward).spans_multiple_lines(&text, CursorSemantics::Bar)); //|i d k>\n s o m e \n s h i t \n [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/selection_tests/spans_multiple_lines.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | assert_eq!(false, Selection::new(Range::new(0, 3), Direction::Backward).spans_multiple_lines(&text, CursorSemantics::Bar)); ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 20 - assert_eq!(false, Selection::new(Range::new(0, 3), Direction::Backward).spans_multiple_lines(&text, CursorSemantics::Bar)); // src/selection_tests/spans_multiple_lines.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | assert_eq!(false, Selection::new(Range::new(0, 3), Direction::Forward).spans_multiple_lines(&text, CursorSemantics::Block)); ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 24 - assert_eq!(false, Selection::new(Range::new(0, 3), Direction::Forward).spans_multiple_lines(&text, CursorSemantics::Block)); //|i d:k>\n s o m e \n s h i t \n [INFO] [stdout] 24 + assert!(!Selection::new(Range::new(0, 3), Direction::Forward).spans_multiple_lines(&text, CursorSemantics::Block)); //|i d:k>\n s o m e \n s h i t \n [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/selection_tests/spans_multiple_lines.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | assert_eq!(false, Selection::new(Range::new(0, 3), Direction::Backward).spans_multiple_lines(&text, CursorSemantics::Block)); ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 25 - assert_eq!(false, Selection::new(Range::new(0, 3), Direction::Backward).spans_multiple_lines(&text, CursorSemantics::Block)); // src/selection_tests/spans_multiple_lines.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | assert_eq!(false, Selection::new(Range::new(0, 4), Direction::Forward).spans_multiple_lines(&text, CursorSemantics::Bar)); ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 31 - assert_eq!(false, Selection::new(Range::new(0, 4), Direction::Forward).spans_multiple_lines(&text, CursorSemantics::Bar)); //|i d k \n>s o m e \n s h i t \n [INFO] [stdout] 31 + assert!(!Selection::new(Range::new(0, 4), Direction::Forward).spans_multiple_lines(&text, CursorSemantics::Bar)); //|i d k \n>s o m e \n s h i t \n [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/selection_tests/spans_multiple_lines.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | assert_eq!(false, Selection::new(Range::new(0, 4), Direction::Backward).spans_multiple_lines(&text, CursorSemantics::Bar)); ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 32 - assert_eq!(false, Selection::new(Range::new(0, 4), Direction::Backward).spans_multiple_lines(&text, CursorSemantics::Bar)); // src/selection_tests/spans_multiple_lines.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(false, Selection::new(Range::new(0, 4), Direction::Forward).spans_multiple_lines(&text, CursorSemantics::Block)); ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 36 - assert_eq!(false, Selection::new(Range::new(0, 4), Direction::Forward).spans_multiple_lines(&text, CursorSemantics::Block)); //|i d k:\n>s o m e \n s h i t \n [INFO] [stdout] 36 + assert!(!Selection::new(Range::new(0, 4), Direction::Forward).spans_multiple_lines(&text, CursorSemantics::Block)); //|i d k:\n>s o m e \n s h i t \n [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/selection_tests/spans_multiple_lines.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | assert_eq!(false, Selection::new(Range::new(0, 4), Direction::Backward).spans_multiple_lines(&text, CursorSemantics::Block)); ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 37 - assert_eq!(false, Selection::new(Range::new(0, 4), Direction::Backward).spans_multiple_lines(&text, CursorSemantics::Block)); // src/selection_tests/spans_multiple_lines.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | assert_eq!(true, Selection::new(Range::new(0, 5), Direction::Forward).spans_multiple_lines(&text, CursorSemantics::Bar)); ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 43 - assert_eq!(true, Selection::new(Range::new(0, 5), Direction::Forward).spans_multiple_lines(&text, CursorSemantics::Bar)); //|i d k \n s>o m e \n s h i t \n [INFO] [stdout] 43 + assert!(Selection::new(Range::new(0, 5), Direction::Forward).spans_multiple_lines(&text, CursorSemantics::Bar)); //|i d k \n s>o m e \n s h i t \n [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/selection_tests/spans_multiple_lines.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | assert_eq!(true, Selection::new(Range::new(0, 5), Direction::Backward).spans_multiple_lines(&text, CursorSemantics::Bar)); ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 44 - assert_eq!(true, Selection::new(Range::new(0, 5), Direction::Backward).spans_multiple_lines(&text, CursorSemantics::Bar)); //|i d k \n s>o m e \n s h i t \n [INFO] [stdout] 44 + assert!(Selection::new(Range::new(0, 5), Direction::Backward).spans_multiple_lines(&text, CursorSemantics::Bar)); //|i d k \n s>o m e \n s h i t \n [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/selection_tests/spans_multiple_lines.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | assert_eq!(true, Selection::new(Range::new(0, 5), Direction::Forward).spans_multiple_lines(&text, CursorSemantics::Block)); ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 48 - assert_eq!(true, Selection::new(Range::new(0, 5), Direction::Forward).spans_multiple_lines(&text, CursorSemantics::Block)); //|i d k \n:s>o m e \n s h i t \n [INFO] [stdout] 48 + assert!(Selection::new(Range::new(0, 5), Direction::Forward).spans_multiple_lines(&text, CursorSemantics::Block)); //|i d k \n:s>o m e \n s h i t \n [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/selection_tests/spans_multiple_lines.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | assert_eq!(true, Selection::new(Range::new(0, 5), Direction::Backward).spans_multiple_lines(&text, CursorSemantics::Block)); ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 49 - assert_eq!(true, Selection::new(Range::new(0, 5), Direction::Backward).spans_multiple_lines(&text, CursorSemantics::Block)); //|i d k \n:s>o m e \n s h i t \n [INFO] [stdout] 49 + assert!(Selection::new(Range::new(0, 5), Direction::Backward).spans_multiple_lines(&text, CursorSemantics::Block)); //|i d k \n:s>o m e \n s h i t \n [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/selection_tests/spans_multiple_lines.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | assert_eq!(false, Selection::new(Range::new(14, 15), Direction::Forward).spans_multiple_lines(&text, CursorSemantics::Block)); /... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 55 - assert_eq!(false, Selection::new(Range::new(14, 15), Direction::Forward).spans_multiple_lines(&text, CursorSemantics::Block)); // i d k \n s o m e \n s h i t \n|: > [INFO] [stdout] 55 + assert!(!Selection::new(Range::new(14, 15), Direction::Forward).spans_multiple_lines(&text, CursorSemantics::Block)); // i d k \n s o m e \n s h i t \n|: > [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/selection_tests/spans_multiple_lines.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | assert_eq!(false, Selection::new(Range::new(14, 15), Direction::Backward).spans_multiple_lines(&text, CursorSemantics::Block)); /... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 56 - assert_eq!(false, Selection::new(Range::new(14, 15), Direction::Backward).spans_multiple_lines(&text, CursorSemantics::Block)); // i d k \n s o m e \n s h i t \n< | [INFO] [stdout] 56 + assert!(!Selection::new(Range::new(14, 15), Direction::Backward).spans_multiple_lines(&text, CursorSemantics::Block)); // i d k \n s o m e \n s h i t \n< | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/view_tests/should_scroll.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(false, view.should_scroll(&selection, &text, CursorSemantics::Bar)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 13 - assert_eq!(false, view.should_scroll(&selection, &text, CursorSemantics::Bar)); [INFO] [stdout] 13 + assert!(!view.should_scroll(&selection, &text, CursorSemantics::Bar)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/view_tests/should_scroll.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(false, view.should_scroll(&selection, &text, CursorSemantics::Block)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 15 - assert_eq!(false, view.should_scroll(&selection, &text, CursorSemantics::Block)); [INFO] [stdout] 15 + assert!(!view.should_scroll(&selection, &text, CursorSemantics::Block)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/view_tests/should_scroll.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | assert_eq!(true, view.should_scroll(&selection, &text, CursorSemantics::Bar)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 19 - assert_eq!(true, view.should_scroll(&selection, &text, CursorSemantics::Bar)); [INFO] [stdout] 19 + assert!(view.should_scroll(&selection, &text, CursorSemantics::Bar)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/view_tests/should_scroll.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | assert_eq!(true, view.should_scroll(&selection, &text, CursorSemantics::Block)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 21 - assert_eq!(true, view.should_scroll(&selection, &text, CursorSemantics::Block)); [INFO] [stdout] 21 + assert!(view.should_scroll(&selection, &text, CursorSemantics::Block)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/view_tests/should_scroll.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | assert_eq!(true, view.should_scroll(&selection, &text, CursorSemantics::Bar)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 25 - assert_eq!(true, view.should_scroll(&selection, &text, CursorSemantics::Bar)); [INFO] [stdout] 25 + assert!(view.should_scroll(&selection, &text, CursorSemantics::Bar)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/view_tests/should_scroll.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | assert_eq!(true, view.should_scroll(&selection, &text, CursorSemantics::Block)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 27 - assert_eq!(true, view.should_scroll(&selection, &text, CursorSemantics::Block)); [INFO] [stdout] 27 + assert!(view.should_scroll(&selection, &text, CursorSemantics::Block)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/view_tests/should_scroll.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | assert_eq!(true, view.should_scroll(&selection, &text, CursorSemantics::Block)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 36 - assert_eq!(true, view.should_scroll(&selection, &text, CursorSemantics::Block)); [INFO] [stdout] 36 + assert!(view.should_scroll(&selection, &text, CursorSemantics::Block)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/view_tests/should_scroll.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | assert_eq!(true, view.should_scroll(&selection, &text, CursorSemantics::Block)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 38 - assert_eq!(true, view.should_scroll(&selection, &text, CursorSemantics::Block)); [INFO] [stdout] 38 + assert!(view.should_scroll(&selection, &text, CursorSemantics::Block)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/view_tests/cursor_positions.rs:13:62 [INFO] [stdout] | [INFO] [stdout] 13 | .with_selections(Selections::new(vec![selection], 0, &text, semantics)) [INFO] [stdout] | ^^^^^ help: change this to: `text` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/view_tests/cursor_positions.rs:15:90 [INFO] [stdout] | [INFO] [stdout] 15 | println!("expected: {:#?}\ngot: {:#?}\n", expected, doc.client_view.cursor_positions(&text, &doc.selections, semantics)); [INFO] [stdout] | ^^^^^ help: change this to: `text` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/view_tests/cursor_positions.rs:16:38 [INFO] [stdout] | [INFO] [stdout] 16 | doc.client_view.cursor_positions(&text, &doc.selections, semantics) == expected [INFO] [stdout] | ^^^^^ help: change this to: `text` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/move_to_line_number.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/move_cursor_up.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/move_cursor_down.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/move_cursor_left.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/move_cursor_right.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/move_cursor_word_boundary_forward.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/move_cursor_word_boundary_backward.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/move_cursor_line_end.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/move_cursor_line_start.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/move_cursor_line_text_start.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/move_cursor_home.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/move_cursor_document_start.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/move_cursor_document_end.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/extend_selection_up.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/extend_selection_down.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/extend_selection_left.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/extend_selection_right.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/extend_selection_word_boundary_backward.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/extend_selection_word_boundary_forward.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/extend_selection_line_end.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/extend_selection_line_start.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/extend_selection_line_text_start.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/extend_selection_home.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/select_line.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/select_all.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/flip_direction.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/surround.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/nearest_surrounding_pair.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this item has comments with 4 forward slashes (`////`). These look like doc comments, but they aren't [INFO] [stdout] --> src/utilities/nearest_surrounding_pair.rs:258:1 [INFO] [stdout] | [INFO] [stdout] 258 | / ////|i>d k ( s o m e [ ] _ t h i n g _ { } e l s e ) _ i d k //no surrounding pair with cursor at this location [INFO] [stdout] 259 | | #[test] fn at_start_with_no_surrounding_pair(){ [INFO] [stdout] | |____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#four_forward_slashes [INFO] [stdout] = note: `#[warn(clippy::four_forward_slashes)]` on by default [INFO] [stdout] help: make this a doc comment by removing one `/` [INFO] [stdout] | [INFO] [stdout] 258 - ////|i>d k ( s o m e [ ] _ t h i n g _ { } e l s e ) _ i d k //no surrounding pair with cursor at this location [INFO] [stdout] 259 - #[test] fn at_start_with_no_surrounding_pair(){ [INFO] [stdout] 258 + ///|i>d k ( s o m e [ ] _ t h i n g _ { } e l s e ) _ i d k //no surrounding pair with cursor at this location [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this item has comments with 4 forward slashes (`////`). These look like doc comments, but they aren't [INFO] [stdout] --> src/utilities/nearest_surrounding_pair.rs:274:1 [INFO] [stdout] | [INFO] [stdout] 274 | / //// i d k ( s|o>m e [ ] _ t h i n g _ { } e l s e ) _ i d k //paren surrounding pair with cursor at this location [INFO] [stdout] 275 | | #[test] fn normal_case(){ [INFO] [stdout] | |____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#four_forward_slashes [INFO] [stdout] help: make this a doc comment by removing one `/` [INFO] [stdout] | [INFO] [stdout] 274 - //// i d k ( s|o>m e [ ] _ t h i n g _ { } e l s e ) _ i d k //paren surrounding pair with cursor at this location [INFO] [stdout] 275 - #[test] fn normal_case(){ [INFO] [stdout] 274 + /// i d k ( s|o>m e [ ] _ t h i n g _ { } e l s e ) _ i d k //paren surrounding pair with cursor at this location [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this item has comments with 4 forward slashes (`////`). These look like doc comments, but they aren't [INFO] [stdout] --> src/utilities/nearest_surrounding_pair.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | / //// i d k ( s o m e|[>] _ t h i n g _ { } e l s e ) _ i d k //square bracket surrounding pair with cursor at this location [INFO] [stdout] 299 | | #[test] fn with_cursor_over_surrounding_pair_opening(){ [INFO] [stdout] | |____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#four_forward_slashes [INFO] [stdout] help: make this a doc comment by removing one `/` [INFO] [stdout] | [INFO] [stdout] 298 - //// i d k ( s o m e|[>] _ t h i n g _ { } e l s e ) _ i d k //square bracket surrounding pair with cursor at this location [INFO] [stdout] 299 - #[test] fn with_cursor_over_surrounding_pair_opening(){ [INFO] [stdout] 298 + /// i d k ( s o m e|[>] _ t h i n g _ { } e l s e ) _ i d k //square bracket surrounding pair with cursor at this location [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this item has comments with 4 forward slashes (`////`). These look like doc comments, but they aren't [INFO] [stdout] --> src/utilities/nearest_surrounding_pair.rs:322:1 [INFO] [stdout] | [INFO] [stdout] 322 | / //// i d k ( s o m e [ ] _ t h|i>n g _ { } e l s e ) _ i d k //paren surrounding pair with cursor at this location [INFO] [stdout] 323 | | #[test] fn with_other_pairs_inside_surrounding_pair(){ [INFO] [stdout] | |____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#four_forward_slashes [INFO] [stdout] help: make this a doc comment by removing one `/` [INFO] [stdout] | [INFO] [stdout] 322 - //// i d k ( s o m e [ ] _ t h|i>n g _ { } e l s e ) _ i d k //paren surrounding pair with cursor at this location [INFO] [stdout] 323 - #[test] fn with_other_pairs_inside_surrounding_pair(){ [INFO] [stdout] 322 + /// i d k ( s o m e [ ] _ t h|i>n g _ { } e l s e ) _ i d k //paren surrounding pair with cursor at this location [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this item has comments with 4 forward slashes (`////`). These look like doc comments, but they aren't [INFO] [stdout] --> src/utilities/nearest_surrounding_pair.rs:346:1 [INFO] [stdout] | [INFO] [stdout] 346 | / //// i d k ( s o m e [ ] _ t h i n g _ {|}>e l s e ) _ i d k //curly bracket surrounding pair with cursor at this location [INFO] [stdout] 347 | | #[test] fn with_cursor_over_surrounding_pair_closing(){ [INFO] [stdout] | |____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#four_forward_slashes [INFO] [stdout] help: make this a doc comment by removing one `/` [INFO] [stdout] | [INFO] [stdout] 346 - //// i d k ( s o m e [ ] _ t h i n g _ {|}>e l s e ) _ i d k //curly bracket surrounding pair with cursor at this location [INFO] [stdout] 347 - #[test] fn with_cursor_over_surrounding_pair_closing(){ [INFO] [stdout] 346 + /// i d k ( s o m e [ ] _ t h i n g _ {|}>e l s e ) _ i d k //curly bracket surrounding pair with cursor at this location [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this item has comments with 4 forward slashes (`////`). These look like doc comments, but they aren't [INFO] [stdout] --> src/utilities/nearest_surrounding_pair.rs:370:1 [INFO] [stdout] | [INFO] [stdout] 370 | / //// i d k ( s o m e [ ] _ t h i n g _ { } e l s e ) _ i|d>k //no surrounding pair with cursor at this location [INFO] [stdout] 371 | | #[test] fn at_end_with_no_surrounding_pair(){ [INFO] [stdout] | |____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#four_forward_slashes [INFO] [stdout] help: make this a doc comment by removing one `/` [INFO] [stdout] | [INFO] [stdout] 370 - //// i d k ( s o m e [ ] _ t h i n g _ { } e l s e ) _ i|d>k //no surrounding pair with cursor at this location [INFO] [stdout] 371 - #[test] fn at_end_with_no_surrounding_pair(){ [INFO] [stdout] 370 + /// i d k ( s o m e [ ] _ t h i n g _ { } e l s e ) _ i|d>k //no surrounding pair with cursor at this location [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this item has comments with 4 forward slashes (`////`). These look like doc comments, but they aren't [INFO] [stdout] --> src/utilities/nearest_surrounding_pair.rs:416:1 [INFO] [stdout] | [INFO] [stdout] 416 | / ////idk(some()t(h(i)n)g()else) //test from multiple levels of same surrounding pair [INFO] [stdout] 417 | | #[test] fn with_multiple_levels_of_same_surrounding_pair(){ [INFO] [stdout] | |____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#four_forward_slashes [INFO] [stdout] help: make this a doc comment by removing one `/` [INFO] [stdout] | [INFO] [stdout] 416 - ////idk(some()t(h(i)n)g()else) //test from multiple levels of same surrounding pair [INFO] [stdout] 417 - #[test] fn with_multiple_levels_of_same_surrounding_pair(){ [INFO] [stdout] 416 + ///idk(some()t(h(i)n)g()else) //test from multiple levels of same surrounding pair [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/incremental_search_in_selection.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/incremental_split_in_selection.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/collapse_selections_to_cursor.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/clear_non_primary_selections.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/add_selection_above.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/add_selection_below.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/remove_primary_selection.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/increment_primary_selection.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/decrement_primary_selection.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/center_view_vertically_around_cursor.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/delete.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `.is_multiple_of()` [INFO] [stdout] --> src/utilities/backspace.rs:40:20 [INFO] [stdout] | [INFO] [stdout] 40 | && offset_from_line_start % tab_width == 0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace with: `offset_from_line_start.is_multiple_of(tab_width)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of [INFO] [stdout] = note: `#[warn(clippy::manual_is_multiple_of)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/backspace.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/cut.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (8/7) [INFO] [stdout] --> src/utilities/cut.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | fn test(semantics: CursorSemantics, text: &str, tuple_selections: Vec<(usize, usize, Option)>, primary: usize, expected_text: &str, tuple_expected_selections: Vec<(usize, usize, Option)>, expected_primary: usize, expected_clipboard: &str){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/paste.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (8/7) [INFO] [stdout] --> src/utilities/paste.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | fn test(semantics: CursorSemantics, text: &str, tuple_selections: Vec<(usize, usize, Option)>, primary: usize, clipboard: &str, expected_text: &str, tuple_expected_selections: Vec<(usize, usize, Option)>, expected_primary: usize){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/insert_string.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (8/7) [INFO] [stdout] --> src/utilities/insert_string.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | fn test(semantics: CursorSemantics, text: &str, tuple_selections: Vec<(usize, usize, Option)>, primary: usize, insert_string: &str, expected_text: &str, tuple_expected_selections: Vec<(usize, usize, Option)>, expected_primary: usize){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/add_surrounding_pair.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (9/7) [INFO] [stdout] --> src/utilities/add_surrounding_pair.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | fn test(semantics: CursorSemantics, text: &str, tuple_selections: Vec<(usize, usize, Option)>, primary: usize, leading_char: char, trailing_char: char, expected_text: &str, tuple_expected_selections: Vec<(usize, usize, Option)>, expected_primary: usize){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/undo.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (9/7) [INFO] [stdout] --> src/utilities/undo.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | fn test(semantics: CursorSemantics, text..., usize, Option)>, expected_primary: usize){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utilities/copy.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | assert!(!result.is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `result.is_ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.76s [INFO] running `Command { std: "docker" "inspect" "60272ae65d31cdac4683c30db144f6e1c076147c9ba4b4f1f37306224b5c109f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60272ae65d31cdac4683c30db144f6e1c076147c9ba4b4f1f37306224b5c109f", kill_on_drop: false }` [INFO] [stdout] 60272ae65d31cdac4683c30db144f6e1c076147c9ba4b4f1f37306224b5c109f