[INFO] fetching crate conrod_core 0.76.1... [INFO] linting conrod_core-0.76.1 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate conrod_core 0.76.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate conrod_core 0.76.1 [INFO] finished tweaking crates.io crate conrod_core 0.76.1 [INFO] tweaked toml for crates.io crate conrod_core 0.76.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate conrod_core 0.76.1 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 112 packages to latest compatible versions [INFO] [stderr] Adding copypasta v0.6.3 (available: v0.10.2) [INFO] [stderr] Adding daggy v0.5.0 (available: v0.9.0) [INFO] [stderr] Adding num v0.3.1 (available: v0.4.3) [INFO] [stderr] Adding rusttype v0.8.3 (available: v0.9.3) [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] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num v0.3.1 [INFO] [stderr] Downloaded fixedbitset v0.1.9 [INFO] [stderr] Downloaded conrod_derive v0.76.1 [INFO] [stderr] Downloaded daggy v0.5.0 [INFO] [stderr] Downloaded petgraph v0.4.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 759557463d6ab0724d3f73f2368ed80e0b4693c0e719e9cc59cffd333f14d125 [INFO] running `Command { std: "docker" "start" "-a" "759557463d6ab0724d3f73f2368ed80e0b4693c0e719e9cc59cffd333f14d125", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "759557463d6ab0724d3f73f2368ed80e0b4693c0e719e9cc59cffd333f14d125", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "759557463d6ab0724d3f73f2368ed80e0b4693c0e719e9cc59cffd333f14d125", kill_on_drop: false }` [INFO] [stdout] 759557463d6ab0724d3f73f2368ed80e0b4693c0e719e9cc59cffd333f14d125 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] a4a6b71c1d12922e681e5ed3bac9332a5a84df8aca7af0fa4180d07e07d98933 [INFO] running `Command { std: "docker" "start" "-a" "a4a6b71c1d12922e681e5ed3bac9332a5a84df8aca7af0fa4180d07e07d98933", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling xml-rs v0.8.28 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Compiling quick-xml v0.22.0 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Checking xdg v2.5.2 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking fixedbitset v0.1.9 [INFO] [stderr] Checking piston-float v1.0.1 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Compiling conrod_derive v0.76.1 [INFO] [stderr] Checking petgraph v0.4.13 [INFO] [stderr] Checking piston-viewport v1.0.2 [INFO] [stderr] Checking pistoncore-input v1.0.1 [INFO] [stderr] Checking daggy v0.5.0 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling xcb v0.10.1 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking x11-clipboard v0.5.3 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking smithay-clipboard v0.4.0 [INFO] [stderr] Checking copypasta v0.6.3 [INFO] [stderr] Checking conrod_core v0.76.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/color.rs:425:1 [INFO] [stdout] | [INFO] [stdout] 425 | / /// version. [INFO] [stdout] 426 | | [INFO] [stdout] | |_^ [INFO] [stdout] 427 | macro_rules! make_color { [INFO] [stdout] | ----------------------- the comment documents this macro definition [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/event.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | motion: motion, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `motion` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] = note: `#[warn(clippy::redundant_field_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/event.rs:363:17 [INFO] [stdout] | [INFO] [stdout] 363 | button: button, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `button` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/event.rs:364:17 [INFO] [stdout] | [INFO] [stdout] 364 | xy: xy, [INFO] [stdout] | ^^^^^^ help: replace it with: `xy` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/event.rs:375:17 [INFO] [stdout] | [INFO] [stdout] 375 | key: key, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `key` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/event.rs:396:17 [INFO] [stdout] | [INFO] [stdout] 396 | button: button, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `button` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/event.rs:397:17 [INFO] [stdout] | [INFO] [stdout] 397 | xy: xy, [INFO] [stdout] | ^^^^^^ help: replace it with: `xy` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/event.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 408 | key: key, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `key` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/graph/algo.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | xy: xy, [INFO] [stdout] | ^^^^^^ help: replace it with: `xy` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/graph/mod.rs:682:13 [INFO] [stdout] | [INFO] [stdout] 682 | type_id: type_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `type_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/graph/mod.rs:683:13 [INFO] [stdout] | [INFO] [stdout] 683 | rect: rect, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `rect` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/graph/mod.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 684 | depth: depth, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `depth` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/graph/mod.rs:685:13 [INFO] [stdout] | [INFO] [stdout] 685 | kid_area: kid_area, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `kid_area` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/graph/mod.rs:686:13 [INFO] [stdout] | [INFO] [stdout] 686 | maybe_dragged_from: maybe_dragged_from, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_dragged_from` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/graph/mod.rs:687:13 [INFO] [stdout] | [INFO] [stdout] 687 | maybe_floating: maybe_floating, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_floating` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/graph/mod.rs:688:13 [INFO] [stdout] | [INFO] [stdout] 688 | crop_kids: crop_kids, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `crop_kids` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/graph/mod.rs:689:13 [INFO] [stdout] | [INFO] [stdout] 689 | maybe_x_scroll_state: maybe_x_scroll_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_x_scroll_state` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/graph/mod.rs:690:13 [INFO] [stdout] | [INFO] [stdout] 690 | maybe_y_scroll_state: maybe_y_scroll_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_y_scroll_state` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/graph/mod.rs:691:13 [INFO] [stdout] | [INFO] [stdout] 691 | instantiation_order_idx: instantiation_order_idx, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `instantiation_order_idx` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/graph/mod.rs:810:17 [INFO] [stdout] | [INFO] [stdout] 810 | state: state, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `state` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/graph/mod.rs:811:17 [INFO] [stdout] | [INFO] [stdout] 811 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/input/widget.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | global: global, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `global` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/input/widget.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | rect: rect, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `rect` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/input/widget.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | idx: idx, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `idx` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/input/widget.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | button: button, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `button` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/input/widget.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | button: button, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `button` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/input/widget.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | button: button, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `button` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/input/widget.rs:392:13 [INFO] [stdout] | [INFO] [stdout] 392 | button: button, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `button` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/position/range.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | start: start, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `start` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/position/range.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | end: end, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `end` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/position/range.rs:440:21 [INFO] [stdout] | [INFO] [stdout] 440 | end: end, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `end` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/position/range.rs:444:21 [INFO] [stdout] | [INFO] [stdout] 444 | start: start, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `start` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/position/range.rs:453:21 [INFO] [stdout] | [INFO] [stdout] 453 | start: start, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `start` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/position/range.rs:459:21 [INFO] [stdout] | [INFO] [stdout] 459 | end: end, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `end` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/position/rect.rs:66:66 [INFO] [stdout] | [INFO] [stdout] 66 | .and_then(|x| self.y.overlap(other.y).map(|y| Rect { x: x, y: y })) [INFO] [stdout] | ^^^^ help: replace it with: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/position/rect.rs:66:72 [INFO] [stdout] | [INFO] [stdout] 66 | .and_then(|x| self.y.overlap(other.y).map(|y| Rect { x: x, y: y })) [INFO] [stdout] | ^^^^ help: replace it with: `y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:268:43 [INFO] [stdout] | [INFO] [stdout] 268 | let point = text::rt::Point { x: x, y: y }; [INFO] [stdout] | ^^^^ help: replace it with: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:268:49 [INFO] [stdout] | [INFO] [stdout] 268 | let point = text::rt::Point { x: x, y: y }; [INFO] [stdout] | ^^^^ help: replace it with: `y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | graph: graph, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `graph` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | theme: theme, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `theme` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | fonts: fonts, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `fonts` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:333:67 [INFO] [stdout] | [INFO] [stdout] 333 | ... let kind = PrimitiveKind::Rectangle { color: color }; [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `color` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:368:25 [INFO] [stdout] | [INFO] [stdout] 368 | color: color, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `color` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:541:25 [INFO] [stdout] | [INFO] [stdout] 541 | triangles: triangles, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `triangles` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:567:25 [INFO] [stdout] | [INFO] [stdout] 567 | triangles: triangles, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `triangles` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:597:25 [INFO] [stdout] | [INFO] [stdout] 597 | font: font, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `font` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:598:25 [INFO] [stdout] | [INFO] [stdout] 598 | font_size: font_size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `font_size` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:599:25 [INFO] [stdout] | [INFO] [stdout] 599 | rect: rect, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `rect` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:600:25 [INFO] [stdout] | [INFO] [stdout] 600 | justify: justify, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `justify` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:601:25 [INFO] [stdout] | [INFO] [stdout] 601 | y_align: y_align, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `y_align` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:602:25 [INFO] [stdout] | [INFO] [stdout] 602 | line_spacing: line_spacing, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `line_spacing` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:606:25 [INFO] [stdout] | [INFO] [stdout] 606 | color: color, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `color` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:607:25 [INFO] [stdout] | [INFO] [stdout] 607 | text: text, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `text` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:608:25 [INFO] [stdout] | [INFO] [stdout] 608 | font_id: font_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `font_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:621:25 [INFO] [stdout] | [INFO] [stdout] 621 | color: color, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `color` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:656:17 [INFO] [stdout] | [INFO] [stdout] 656 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:657:17 [INFO] [stdout] | [INFO] [stdout] 657 | rect: rect, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `rect` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:658:17 [INFO] [stdout] | [INFO] [stdout] 658 | scizzor: scizzor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `scizzor` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:659:17 [INFO] [stdout] | [INFO] [stdout] 659 | kind: kind, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `kind` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:664:64 [INFO] [stdout] | [INFO] [stdout] 664 | let kind = OwnedPrimitiveKind::Rectangle { color: color }; [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `color` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:673:25 [INFO] [stdout] | [INFO] [stdout] 673 | color: color, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `color` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:695:25 [INFO] [stdout] | [INFO] [stdout] 695 | image_id: image_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `image_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:696:25 [INFO] [stdout] | [INFO] [stdout] 696 | color: color, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `color` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:697:25 [INFO] [stdout] | [INFO] [stdout] 697 | source_rect: source_rect, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `source_rect` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:733:25 [INFO] [stdout] | [INFO] [stdout] 733 | window_dim: window_dim, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `window_dim` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:735:25 [INFO] [stdout] | [INFO] [stdout] 735 | font_size: font_size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `font_size` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:736:25 [INFO] [stdout] | [INFO] [stdout] 736 | rect: rect, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `rect` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:737:25 [INFO] [stdout] | [INFO] [stdout] 737 | justify: justify, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `justify` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:738:25 [INFO] [stdout] | [INFO] [stdout] 738 | y_align: y_align, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `y_align` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:739:25 [INFO] [stdout] | [INFO] [stdout] 739 | line_spacing: line_spacing, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `line_spacing` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:743:25 [INFO] [stdout] | [INFO] [stdout] 743 | color: color, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `color` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:744:25 [INFO] [stdout] | [INFO] [stdout] 744 | font_id: font_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `font_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:756:13 [INFO] [stdout] | [INFO] [stdout] 756 | primitives: primitives, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `primitives` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:760:13 [INFO] [stdout] | [INFO] [stdout] 760 | texts_string: texts_string, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `texts_string` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:777:13 [INFO] [stdout] | [INFO] [stdout] 777 | triangles_single_color: triangles_single_color, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `triangles_single_color` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:778:13 [INFO] [stdout] | [INFO] [stdout] 778 | triangles_multi_color: triangles_multi_color, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `triangles_multi_color` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:779:13 [INFO] [stdout] | [INFO] [stdout] 779 | line_infos: line_infos, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `line_infos` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:804:21 [INFO] [stdout] | [INFO] [stdout] 804 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:805:21 [INFO] [stdout] | [INFO] [stdout] 805 | rect: rect, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `rect` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:806:21 [INFO] [stdout] | [INFO] [stdout] 806 | scizzor: scizzor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `scizzor` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:807:21 [INFO] [stdout] | [INFO] [stdout] 807 | kind: kind, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `kind` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:812:63 [INFO] [stdout] | [INFO] [stdout] 812 | let kind = PrimitiveKind::Rectangle { color: color }; [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `color` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:821:29 [INFO] [stdout] | [INFO] [stdout] 821 | ... color: color, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `color` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:855:29 [INFO] [stdout] | [INFO] [stdout] 855 | ... window_dim: window_dim, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `window_dim` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:857:29 [INFO] [stdout] | [INFO] [stdout] 857 | ... line_infos: line_infos, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `line_infos` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:858:29 [INFO] [stdout] | [INFO] [stdout] 858 | ... font: font, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `font` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:859:29 [INFO] [stdout] | [INFO] [stdout] 859 | ... font_size: font_size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `font_size` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:860:29 [INFO] [stdout] | [INFO] [stdout] 860 | ... rect: rect, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `rect` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:861:29 [INFO] [stdout] | [INFO] [stdout] 861 | ... justify: justify, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `justify` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:862:29 [INFO] [stdout] | [INFO] [stdout] 862 | ... y_align: y_align, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `y_align` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:863:29 [INFO] [stdout] | [INFO] [stdout] 863 | ... line_spacing: line_spacing, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `line_spacing` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:867:29 [INFO] [stdout] | [INFO] [stdout] 867 | ... color: color, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `color` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:868:29 [INFO] [stdout] | [INFO] [stdout] 868 | ... font_id: font_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `font_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:869:29 [INFO] [stdout] | [INFO] [stdout] 869 | ... text: text, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `text` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:880:29 [INFO] [stdout] | [INFO] [stdout] 880 | ... image_id: image_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `image_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:881:29 [INFO] [stdout] | [INFO] [stdout] 881 | ... color: color, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `color` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:882:29 [INFO] [stdout] | [INFO] [stdout] 882 | ... source_rect: source_rect, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `source_rect` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:895:9 [INFO] [stdout] | [INFO] [stdout] 895 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:896:9 [INFO] [stdout] | [INFO] [stdout] 896 | kind: kind, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `kind` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:897:9 [INFO] [stdout] | [INFO] [stdout] 897 | scizzor: scizzor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `scizzor` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:898:9 [INFO] [stdout] | [INFO] [stdout] 898 | rect: rect, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `rect` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | text: text, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `text` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | ranges: ranges, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `ranges` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | lines_with_rects: lines_with_rects, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `lines_with_rects` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | font: font, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `font` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:340:13 [INFO] [stdout] | [INFO] [stdout] 340 | font_size: font_size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `font_size` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:383:48 [INFO] [stdout] | [INFO] [stdout] 383 | let point = super::rt::Point { x: x, y: y }; [INFO] [stdout] | ^^^^ help: replace it with: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:383:54 [INFO] [stdout] | [INFO] [stdout] 383 | let point = super::rt::Point { x: x, y: y }; [INFO] [stdout] | ^^^^ help: replace it with: `y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:428:21 [INFO] [stdout] | [INFO] [stdout] 428 | enumerated_rects: enumerated_rects, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `enumerated_rects` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:429:21 [INFO] [stdout] | [INFO] [stdout] 429 | end_char_idx: end_char_idx, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `end_char_idx` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:451:24 [INFO] [stdout] | [INFO] [stdout] 451 | Rect { x: x, y: y } [INFO] [stdout] | ^^^^ help: replace it with: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:451:30 [INFO] [stdout] | [INFO] [stdout] 451 | Rect { x: x, y: y } [INFO] [stdout] | ^^^^ help: replace it with: `y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:569:25 [INFO] [stdout] | [INFO] [stdout] 569 | line: line, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `line` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:614:25 [INFO] [stdout] | [INFO] [stdout] 614 | line: line, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `line` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:645:29 [INFO] [stdout] | [INFO] [stdout] 645 | ... line: line, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `line` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:688:25 [INFO] [stdout] | [INFO] [stdout] 688 | line: line, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `line` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:712:25 [INFO] [stdout] | [INFO] [stdout] 712 | char: char, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `char` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:738:13 [INFO] [stdout] | [INFO] [stdout] 738 | lines_with_rects: lines_with_rects, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `lines_with_rects` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:739:13 [INFO] [stdout] | [INFO] [stdout] 739 | font: font, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `font` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:740:13 [INFO] [stdout] | [INFO] [stdout] 740 | text: text, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `text` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:741:13 [INFO] [stdout] | [INFO] [stdout] 741 | font_size: font_size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `font_size` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:907:48 [INFO] [stdout] | [INFO] [stdout] 907 | let point = super::rt::Point { x: x, y: y }; [INFO] [stdout] | ^^^^ help: replace it with: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:907:54 [INFO] [stdout] | [INFO] [stdout] 907 | let point = super::rt::Point { x: x, y: y }; [INFO] [stdout] | ^^^^ help: replace it with: `y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:912:21 [INFO] [stdout] | [INFO] [stdout] 912 | layout: layout, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `layout` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1306:29 [INFO] [stdout] | [INFO] [stdout] 1306 | ... byte: byte, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `byte` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1307:29 [INFO] [stdout] | [INFO] [stdout] 1307 | ... char: char, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `char` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1374:13 [INFO] [stdout] | [INFO] [stdout] 1374 | text: text, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `text` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1375:13 [INFO] [stdout] | [INFO] [stdout] 1375 | font: font, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `font` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1376:13 [INFO] [stdout] | [INFO] [stdout] 1376 | font_size: font_size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `font_size` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1377:13 [INFO] [stdout] | [INFO] [stdout] 1377 | max_width: max_width, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `max_width` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1378:13 [INFO] [stdout] | [INFO] [stdout] 1378 | next_break_fn: next_break_fn, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `next_break_fn` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1442:20 [INFO] [stdout] | [INFO] [stdout] 1442 | Rect { x: x, y: y } [INFO] [stdout] | ^^^^ help: replace it with: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1442:26 [INFO] [stdout] | [INFO] [stdout] 1442 | Rect { x: x, y: y } [INFO] [stdout] | ^^^^ help: replace it with: `y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1446:13 [INFO] [stdout] | [INFO] [stdout] 1446 | infos: infos, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `infos` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1448:13 [INFO] [stdout] | [INFO] [stdout] 1448 | x_align: x_align, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `x_align` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1449:13 [INFO] [stdout] | [INFO] [stdout] 1449 | line_spacing: line_spacing, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `line_spacing` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1507:29 [INFO] [stdout] | [INFO] [stdout] 1507 | ... len_bytes: len_bytes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `len_bytes` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1516:29 [INFO] [stdout] | [INFO] [stdout] 1516 | ... len_bytes: len_bytes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `len_bytes` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1525:25 [INFO] [stdout] | [INFO] [stdout] 1525 | width: width, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `width` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1569:29 [INFO] [stdout] | [INFO] [stdout] 1569 | ... end_break: end_break, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `end_break` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1570:29 [INFO] [stdout] | [INFO] [stdout] 1570 | ... width: width, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `width` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1613:28 [INFO] [stdout] | [INFO] [stdout] 1613 | Rect { x: x, y: y } [INFO] [stdout] | ^^^^ help: replace it with: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1613:34 [INFO] [stdout] | [INFO] [stdout] 1613 | Rect { x: x, y: y } [INFO] [stdout] | ^^^^ help: replace it with: `y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/theme.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/theme.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 123 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/theme.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | common: common, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `common` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | window_dimensions: window_dimensions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `window_dimensions` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | widget_graph: widget_graph, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `widget_graph` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | window: window, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `window` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | depth_order: depth_order, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `depth_order` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | updated_widgets: updated_widgets, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `updated_widgets` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | prev_updated_widgets: prev_updated_widgets, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `prev_updated_widgets` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:316:21 [INFO] [stdout] | [INFO] [stdout] 316 | x: x, [INFO] [stdout] | ^^^^ help: replace it with: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:317:21 [INFO] [stdout] | [INFO] [stdout] 317 | y: y, [INFO] [stdout] | ^^^^ help: replace it with: `y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:640:21 [INFO] [stdout] | [INFO] [stdout] 640 | motion: motion, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `motion` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:666:41 [INFO] [stdout] | [INFO] [stdout] 666 | ... delta_xy: delta_xy, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `delta_xy` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:667:41 [INFO] [stdout] | [INFO] [stdout] 667 | ... total_delta_xy: total_delta_xy, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `total_delta_xy` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:778:41 [INFO] [stdout] | [INFO] [stdout] 778 | ... x: x, [INFO] [stdout] | ^^^^ help: replace it with: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:779:41 [INFO] [stdout] | [INFO] [stdout] 779 | ... y: y, [INFO] [stdout] | ^^^^ help: replace it with: `y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:805:45 [INFO] [stdout] | [INFO] [stdout] 805 | ... x: x, [INFO] [stdout] | ^^^^ help: replace it with: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:806:45 [INFO] [stdout] | [INFO] [stdout] 806 | ... y: y, [INFO] [stdout] | ^^^^ help: replace it with: `y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:828:21 [INFO] [stdout] | [INFO] [stdout] 828 | string: string, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `string` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:855:25 [INFO] [stdout] | [INFO] [stdout] 855 | start: start, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `start` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:1337:21 [INFO] [stdout] | [INFO] [stdout] 1337 | x: x, [INFO] [stdout] | ^^^^ help: replace it with: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:1338:21 [INFO] [stdout] | [INFO] [stdout] 1338 | y: y, [INFO] [stdout] | ^^^^ help: replace it with: `y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/id.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | widget_graph: widget_graph, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `widget_graph` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/scroll.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | offset_bounds: offset_bounds, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `offset_bounds` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/image.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | image_id: image_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `image_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/line.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | start: start, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `start` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/line.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | end: end, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `end` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/line.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/point_path.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | points: points, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `points` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/point_path.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/point_path.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | points: points, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `points` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/point_path.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | cap: cap, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `cap` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/shape/oval.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/shape/oval.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | num_points: num_points, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `num_points` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/shape/oval.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | rad_step: rad_step, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `rad_step` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/shape/polygon.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | points: points, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `points` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/shape/polygon.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/shape/polygon.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | first: first, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `first` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/shape/polygon.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | prev: prev, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `prev` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/shape/polygon.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | points: points, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `points` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/shape/rectangle.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/shape/triangles.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/shape/triangles.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | triangles: triangles, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `triangles` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/shape/triangles.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | triangles: triangles, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `triangles` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/text.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | text: text, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `text` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/color.rs:425:1 [INFO] [stdout] | [INFO] [stdout] 425 | / /// version. [INFO] [stdout] 426 | | [INFO] [stdout] | |_^ [INFO] [stdout] 427 | macro_rules! make_color { [INFO] [stdout] | ----------------------- the comment documents this macro definition [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/button.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | image_id: image_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `image_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/button.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | show: show, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `show` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/event.rs:334:13 [INFO] [stdout] | [INFO] [stdout] 334 | motion: motion, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `motion` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] = note: `#[warn(clippy::redundant_field_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/event.rs:363:17 [INFO] [stdout] | [INFO] [stdout] 363 | button: button, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `button` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/event.rs:364:17 [INFO] [stdout] | [INFO] [stdout] 364 | xy: xy, [INFO] [stdout] | ^^^^^^ help: replace it with: `xy` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/event.rs:375:17 [INFO] [stdout] | [INFO] [stdout] 375 | key: key, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `key` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/event.rs:396:17 [INFO] [stdout] | [INFO] [stdout] 396 | button: button, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `button` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/canvas.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | rect: rect, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `rect` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/event.rs:397:17 [INFO] [stdout] | [INFO] [stdout] 397 | xy: xy, [INFO] [stdout] | ^^^^^^ help: replace it with: `xy` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/event.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 408 | key: key, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `key` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/collapsible_area.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | is_open: is_open, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `is_open` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/graph/algo.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | xy: xy, [INFO] [stdout] | ^^^^^^ help: replace it with: `xy` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/collapsible_area.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | text: text, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `text` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/graph/mod.rs:682:13 [INFO] [stdout] | [INFO] [stdout] 682 | type_id: type_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `type_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/drop_down_list.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | items: items, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `items` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/graph/mod.rs:683:13 [INFO] [stdout] | [INFO] [stdout] 683 | rect: rect, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `rect` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/drop_down_list.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | selected: selected, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `selected` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/graph/mod.rs:684:13 [INFO] [stdout] | [INFO] [stdout] 684 | depth: depth, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `depth` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/graph/mod.rs:685:13 [INFO] [stdout] | [INFO] [stdout] 685 | kid_area: kid_area, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `kid_area` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/graph/mod.rs:686:13 [INFO] [stdout] | [INFO] [stdout] 686 | maybe_dragged_from: maybe_dragged_from, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_dragged_from` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/graph/mod.rs:687:13 [INFO] [stdout] | [INFO] [stdout] 687 | maybe_floating: maybe_floating, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_floating` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/graph/mod.rs:688:13 [INFO] [stdout] | [INFO] [stdout] 688 | crop_kids: crop_kids, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `crop_kids` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/graph/mod.rs:689:13 [INFO] [stdout] | [INFO] [stdout] 689 | maybe_x_scroll_state: maybe_x_scroll_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_x_scroll_state` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/graph/mod.rs:690:13 [INFO] [stdout] | [INFO] [stdout] 690 | maybe_y_scroll_state: maybe_y_scroll_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_y_scroll_state` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/graph/mod.rs:691:13 [INFO] [stdout] | [INFO] [stdout] 691 | instantiation_order_idx: instantiation_order_idx, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `instantiation_order_idx` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/graph/mod.rs:810:17 [INFO] [stdout] | [INFO] [stdout] 810 | state: state, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `state` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/graph/mod.rs:811:17 [INFO] [stdout] | [INFO] [stdout] 811 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/envelope_editor.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | env: env, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `env` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/envelope_editor.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | min_x: min_x, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `min_x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/envelope_editor.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | max_x: max_x, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `max_x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/envelope_editor.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | min_y: min_y, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `min_y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/envelope_editor.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | max_y: max_y, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `max_y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `windows_metadataext` [INFO] [stdout] --> src/widget/file_navigator/directory_view.rs:89:38 [INFO] [stdout] | [INFO] [stdout] 89 | #[cfg(all(target_os = "windows", not(feature = "windows_metadataext")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `stdweb` and `wasm-bindgen` [INFO] [stdout] = help: consider adding `windows_metadataext` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `windows_metadataext` [INFO] [stdout] --> src/widget/file_navigator/directory_view.rs:93:34 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg(all(target_os = "windows", feature = "windows_metadataext"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `stdweb` and `wasm-bindgen` [INFO] [stdout] = help: consider adding `windows_metadataext` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/file_navigator/directory_view.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | directory: directory, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `directory` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/file_navigator/directory_view.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | types: types, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `types` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/input/widget.rs:168:13 [INFO] [stdout] | [INFO] [stdout] 168 | global: global, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `global` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/input/widget.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | rect: rect, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `rect` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/input/widget.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | idx: idx, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `idx` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/input/widget.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | button: button, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `button` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/input/widget.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | button: button, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `button` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/input/widget.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | button: button, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `button` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/input/widget.rs:392:13 [INFO] [stdout] | [INFO] [stdout] 392 | button: button, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `button` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/file_navigator/mod.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | starting_directory: starting_directory, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `starting_directory` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/file_navigator/mod.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | types: types, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `types` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/file_navigator/mod.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | path: path, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `path` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/file_navigator/mod.rs:387:29 [INFO] [stdout] | [INFO] [stdout] 387 | ... column_width: column_width, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `column_width` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/position/range.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | start: start, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `start` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/position/range.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | end: end, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `end` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/position/range.rs:440:21 [INFO] [stdout] | [INFO] [stdout] 440 | end: end, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `end` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/position/range.rs:444:21 [INFO] [stdout] | [INFO] [stdout] 444 | start: start, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `start` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/position/range.rs:453:21 [INFO] [stdout] | [INFO] [stdout] 453 | start: start, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `start` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/position/range.rs:459:21 [INFO] [stdout] | [INFO] [stdout] 459 | end: end, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `end` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/position/rect.rs:66:66 [INFO] [stdout] | [INFO] [stdout] 66 | .and_then(|x| self.y.overlap(other.y).map(|y| Rect { x: x, y: y })) [INFO] [stdout] | ^^^^ help: replace it with: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/position/rect.rs:66:72 [INFO] [stdout] | [INFO] [stdout] 66 | .and_then(|x| self.y.overlap(other.y).map(|y| Rect { x: x, y: y })) [INFO] [stdout] | ^^^^ help: replace it with: `y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/graph/mod.rs:596:17 [INFO] [stdout] | [INFO] [stdout] 596 | start: start, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `start` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/graph/mod.rs:597:17 [INFO] [stdout] | [INFO] [stdout] 597 | end: end, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `end` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/graph/mod.rs:845:13 [INFO] [stdout] | [INFO] [stdout] 845 | layout: layout, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `layout` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/grid.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | step: step, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `step` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/grid.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | min_x: min_x, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `min_x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/grid.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | max_x: max_x, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `max_x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/grid.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | min_y: min_y, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `min_y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/grid.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | max_y: max_y, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `max_y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:268:43 [INFO] [stdout] | [INFO] [stdout] 268 | let point = text::rt::Point { x: x, y: y }; [INFO] [stdout] | ^^^^ help: replace it with: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:268:49 [INFO] [stdout] | [INFO] [stdout] 268 | let point = text::rt::Point { x: x, y: y }; [INFO] [stdout] | ^^^^ help: replace it with: `y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | graph: graph, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `graph` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | theme: theme, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `theme` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | fonts: fonts, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `fonts` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:333:67 [INFO] [stdout] | [INFO] [stdout] 333 | ... let kind = PrimitiveKind::Rectangle { color: color }; [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `color` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:368:25 [INFO] [stdout] | [INFO] [stdout] 368 | color: color, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `color` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | num_items: num_items, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `num_items` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | item_size: item_size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `item_size` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | common: common, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `common` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | num_items: num_items, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `num_items` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list.rs:276:32 [INFO] [stdout] | [INFO] [stdout] 276 | item_size: Fixed { length: length }, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `length` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list.rs:405:21 [INFO] [stdout] | [INFO] [stdout] 405 | i: i, [INFO] [stdout] | ^^^^ help: replace it with: `i` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list.rs:408:21 [INFO] [stdout] | [INFO] [stdout] 408 | scroll_trigger_id: scroll_trigger_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `scroll_trigger_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list.rs:411:21 [INFO] [stdout] | [INFO] [stdout] 411 | first_item_margin: first_item_margin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `first_item_margin` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:541:25 [INFO] [stdout] | [INFO] [stdout] 541 | triangles: triangles, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `triangles` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:567:25 [INFO] [stdout] | [INFO] [stdout] 567 | triangles: triangles, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `triangles` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:597:25 [INFO] [stdout] | [INFO] [stdout] 597 | font: font, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `font` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:598:25 [INFO] [stdout] | [INFO] [stdout] 598 | font_size: font_size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `font_size` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:599:25 [INFO] [stdout] | [INFO] [stdout] 599 | rect: rect, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `rect` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:600:25 [INFO] [stdout] | [INFO] [stdout] 600 | justify: justify, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `justify` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:601:25 [INFO] [stdout] | [INFO] [stdout] 601 | y_align: y_align, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `y_align` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:602:25 [INFO] [stdout] | [INFO] [stdout] 602 | line_spacing: line_spacing, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `line_spacing` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:606:25 [INFO] [stdout] | [INFO] [stdout] 606 | color: color, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `color` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:607:25 [INFO] [stdout] | [INFO] [stdout] 607 | text: text, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `text` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:608:25 [INFO] [stdout] | [INFO] [stdout] 608 | font_id: font_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `font_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:621:25 [INFO] [stdout] | [INFO] [stdout] 621 | color: color, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `color` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:656:17 [INFO] [stdout] | [INFO] [stdout] 656 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:657:17 [INFO] [stdout] | [INFO] [stdout] 657 | rect: rect, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `rect` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:658:17 [INFO] [stdout] | [INFO] [stdout] 658 | scizzor: scizzor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `scizzor` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:659:17 [INFO] [stdout] | [INFO] [stdout] 659 | kind: kind, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `kind` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:664:64 [INFO] [stdout] | [INFO] [stdout] 664 | let kind = OwnedPrimitiveKind::Rectangle { color: color }; [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `color` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:673:25 [INFO] [stdout] | [INFO] [stdout] 673 | color: color, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `color` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:695:25 [INFO] [stdout] | [INFO] [stdout] 695 | image_id: image_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `image_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:696:25 [INFO] [stdout] | [INFO] [stdout] 696 | color: color, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `color` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:697:25 [INFO] [stdout] | [INFO] [stdout] 697 | source_rect: source_rect, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `source_rect` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:733:25 [INFO] [stdout] | [INFO] [stdout] 733 | window_dim: window_dim, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `window_dim` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:735:25 [INFO] [stdout] | [INFO] [stdout] 735 | font_size: font_size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `font_size` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:736:25 [INFO] [stdout] | [INFO] [stdout] 736 | rect: rect, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `rect` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:737:25 [INFO] [stdout] | [INFO] [stdout] 737 | justify: justify, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `justify` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:738:25 [INFO] [stdout] | [INFO] [stdout] 738 | y_align: y_align, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `y_align` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:739:25 [INFO] [stdout] | [INFO] [stdout] 739 | line_spacing: line_spacing, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `line_spacing` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:743:25 [INFO] [stdout] | [INFO] [stdout] 743 | color: color, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `color` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:744:25 [INFO] [stdout] | [INFO] [stdout] 744 | font_id: font_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `font_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:756:13 [INFO] [stdout] | [INFO] [stdout] 756 | primitives: primitives, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `primitives` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:760:13 [INFO] [stdout] | [INFO] [stdout] 760 | texts_string: texts_string, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `texts_string` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:777:13 [INFO] [stdout] | [INFO] [stdout] 777 | triangles_single_color: triangles_single_color, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `triangles_single_color` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:778:13 [INFO] [stdout] | [INFO] [stdout] 778 | triangles_multi_color: triangles_multi_color, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `triangles_multi_color` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:779:13 [INFO] [stdout] | [INFO] [stdout] 779 | line_infos: line_infos, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `line_infos` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:804:21 [INFO] [stdout] | [INFO] [stdout] 804 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:805:21 [INFO] [stdout] | [INFO] [stdout] 805 | rect: rect, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `rect` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:806:21 [INFO] [stdout] | [INFO] [stdout] 806 | scizzor: scizzor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `scizzor` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:807:21 [INFO] [stdout] | [INFO] [stdout] 807 | kind: kind, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `kind` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:812:63 [INFO] [stdout] | [INFO] [stdout] 812 | let kind = PrimitiveKind::Rectangle { color: color }; [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `color` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:821:29 [INFO] [stdout] | [INFO] [stdout] 821 | ... color: color, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `color` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:855:29 [INFO] [stdout] | [INFO] [stdout] 855 | ... window_dim: window_dim, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `window_dim` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:857:29 [INFO] [stdout] | [INFO] [stdout] 857 | ... line_infos: line_infos, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `line_infos` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:858:29 [INFO] [stdout] | [INFO] [stdout] 858 | ... font: font, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `font` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:859:29 [INFO] [stdout] | [INFO] [stdout] 859 | ... font_size: font_size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `font_size` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:860:29 [INFO] [stdout] | [INFO] [stdout] 860 | ... rect: rect, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `rect` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:861:29 [INFO] [stdout] | [INFO] [stdout] 861 | ... justify: justify, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `justify` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:862:29 [INFO] [stdout] | [INFO] [stdout] 862 | ... y_align: y_align, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `y_align` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:863:29 [INFO] [stdout] | [INFO] [stdout] 863 | ... line_spacing: line_spacing, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `line_spacing` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list.rs:636:13 [INFO] [stdout] | [INFO] [stdout] 636 | item_breadth: item_breadth, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `item_breadth` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list.rs:638:13 [INFO] [stdout] | [INFO] [stdout] 638 | first_item_margin: first_item_margin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `first_item_margin` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list.rs:639:13 [INFO] [stdout] | [INFO] [stdout] 639 | item_size: item_size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `item_size` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:867:29 [INFO] [stdout] | [INFO] [stdout] 867 | ... color: color, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `color` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:868:29 [INFO] [stdout] | [INFO] [stdout] 868 | ... font_id: font_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `font_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:869:29 [INFO] [stdout] | [INFO] [stdout] 869 | ... text: text, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `text` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:880:29 [INFO] [stdout] | [INFO] [stdout] 880 | ... image_id: image_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `image_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:881:29 [INFO] [stdout] | [INFO] [stdout] 881 | ... color: color, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `color` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:882:29 [INFO] [stdout] | [INFO] [stdout] 882 | ... source_rect: source_rect, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `source_rect` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:895:9 [INFO] [stdout] | [INFO] [stdout] 895 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:896:9 [INFO] [stdout] | [INFO] [stdout] 896 | kind: kind, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `kind` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:897:9 [INFO] [stdout] | [INFO] [stdout] 897 | scizzor: scizzor, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `scizzor` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/render.rs:898:9 [INFO] [stdout] | [INFO] [stdout] 898 | rect: rect, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `rect` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | text: text, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `text` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | ranges: ranges, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `ranges` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | lines_with_rects: lines_with_rects, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `lines_with_rects` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | font: font, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `font` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:340:13 [INFO] [stdout] | [INFO] [stdout] 340 | font_size: font_size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `font_size` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:383:48 [INFO] [stdout] | [INFO] [stdout] 383 | let point = super::rt::Point { x: x, y: y }; [INFO] [stdout] | ^^^^ help: replace it with: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:383:54 [INFO] [stdout] | [INFO] [stdout] 383 | let point = super::rt::Point { x: x, y: y }; [INFO] [stdout] | ^^^^ help: replace it with: `y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:428:21 [INFO] [stdout] | [INFO] [stdout] 428 | enumerated_rects: enumerated_rects, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `enumerated_rects` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:429:21 [INFO] [stdout] | [INFO] [stdout] 429 | end_char_idx: end_char_idx, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `end_char_idx` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:451:24 [INFO] [stdout] | [INFO] [stdout] 451 | Rect { x: x, y: y } [INFO] [stdout] | ^^^^ help: replace it with: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:451:30 [INFO] [stdout] | [INFO] [stdout] 451 | Rect { x: x, y: y } [INFO] [stdout] | ^^^^ help: replace it with: `y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:569:25 [INFO] [stdout] | [INFO] [stdout] 569 | line: line, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `line` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:614:25 [INFO] [stdout] | [INFO] [stdout] 614 | line: line, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `line` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:645:29 [INFO] [stdout] | [INFO] [stdout] 645 | ... line: line, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `line` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:688:25 [INFO] [stdout] | [INFO] [stdout] 688 | line: line, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `line` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:712:25 [INFO] [stdout] | [INFO] [stdout] 712 | char: char, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `char` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:738:13 [INFO] [stdout] | [INFO] [stdout] 738 | lines_with_rects: lines_with_rects, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `lines_with_rects` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:739:13 [INFO] [stdout] | [INFO] [stdout] 739 | font: font, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `font` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:740:13 [INFO] [stdout] | [INFO] [stdout] 740 | text: text, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `text` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:741:13 [INFO] [stdout] | [INFO] [stdout] 741 | font_size: font_size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `font_size` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:907:48 [INFO] [stdout] | [INFO] [stdout] 907 | let point = super::rt::Point { x: x, y: y }; [INFO] [stdout] | ^^^^ help: replace it with: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:907:54 [INFO] [stdout] | [INFO] [stdout] 907 | let point = super::rt::Point { x: x, y: y }; [INFO] [stdout] | ^^^^ help: replace it with: `y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:912:21 [INFO] [stdout] | [INFO] [stdout] 912 | layout: layout, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `layout` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list.rs:728:13 [INFO] [stdout] | [INFO] [stdout] 728 | item_breadth: item_breadth, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `item_breadth` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list.rs:730:13 [INFO] [stdout] | [INFO] [stdout] 730 | first_item_margin: first_item_margin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `first_item_margin` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list.rs:731:13 [INFO] [stdout] | [INFO] [stdout] 731 | item_size: item_size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `item_size` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | common: common, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `common` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | num_items: num_items, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `num_items` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | mode: mode, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `mode` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | item_size: item_size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `item_size` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | item_instantiation: item_instantiation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `item_instantiation` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | common: common, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `common` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | num_items: num_items, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `num_items` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | mode: mode, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `mode` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | item_size: item_size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `item_size` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | item_instantiation: item_instantiation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `item_instantiation` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | common: common, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `common` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | num_items: num_items, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `num_items` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | mode: mode, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `mode` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1306:29 [INFO] [stdout] | [INFO] [stdout] 1306 | ... byte: byte, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `byte` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | item_size: item_size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `item_size` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1307:29 [INFO] [stdout] | [INFO] [stdout] 1307 | ... char: char, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `char` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | item_instantiation: item_instantiation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `item_instantiation` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | common: common, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `common` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1374:13 [INFO] [stdout] | [INFO] [stdout] 1374 | text: text, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `text` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 280 | num_items: num_items, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `num_items` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | mode: mode, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `mode` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1375:13 [INFO] [stdout] | [INFO] [stdout] 1375 | font: font, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `font` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | item_size: item_size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `item_size` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1376:13 [INFO] [stdout] | [INFO] [stdout] 1376 | font_size: font_size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `font_size` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1377:13 [INFO] [stdout] | [INFO] [stdout] 1377 | max_width: max_width, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `max_width` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | item_instantiation: item_instantiation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `item_instantiation` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | common: common, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `common` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | num_items: num_items, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `num_items` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | mode: mode, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `mode` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | direction: direction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `direction` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:306:46 [INFO] [stdout] | [INFO] [stdout] 306 | item_size: widget::list::Fixed { length: length }, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `length` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:325:13 [INFO] [stdout] | [INFO] [stdout] 325 | num_items: num_items, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `num_items` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | mode: mode, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `mode` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1378:13 [INFO] [stdout] | [INFO] [stdout] 1378 | next_break_fn: next_break_fn, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `next_break_fn` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1442:20 [INFO] [stdout] | [INFO] [stdout] 1442 | Rect { x: x, y: y } [INFO] [stdout] | ^^^^ help: replace it with: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1442:26 [INFO] [stdout] | [INFO] [stdout] 1442 | Rect { x: x, y: y } [INFO] [stdout] | ^^^^ help: replace it with: `y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1446:13 [INFO] [stdout] | [INFO] [stdout] 1446 | infos: infos, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `infos` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1448:13 [INFO] [stdout] | [INFO] [stdout] 1448 | x_align: x_align, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `x_align` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1449:13 [INFO] [stdout] | [INFO] [stdout] 1449 | line_spacing: line_spacing, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `line_spacing` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1507:29 [INFO] [stdout] | [INFO] [stdout] 1507 | ... len_bytes: len_bytes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `len_bytes` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1516:29 [INFO] [stdout] | [INFO] [stdout] 1516 | ... len_bytes: len_bytes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `len_bytes` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:449:13 [INFO] [stdout] | [INFO] [stdout] 449 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1525:25 [INFO] [stdout] | [INFO] [stdout] 1525 | width: width, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `width` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:450:13 [INFO] [stdout] | [INFO] [stdout] 450 | items: items, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `items` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:451:13 [INFO] [stdout] | [INFO] [stdout] 451 | num_items: num_items, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `num_items` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:452:13 [INFO] [stdout] | [INFO] [stdout] 452 | mode: mode, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `mode` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1569:29 [INFO] [stdout] | [INFO] [stdout] 1569 | ... end_break: end_break, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `end_break` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1570:29 [INFO] [stdout] | [INFO] [stdout] 1570 | ... width: width, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `width` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1613:28 [INFO] [stdout] | [INFO] [stdout] 1613 | Rect { x: x, y: y } [INFO] [stdout] | ^^^^ help: replace it with: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/text.rs:1613:34 [INFO] [stdout] | [INFO] [stdout] 1613 | Rect { x: x, y: y } [INFO] [stdout] | ^^^^ help: replace it with: `y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/theme.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/theme.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 123 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/matrix.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | cols: cols, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `cols` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/matrix.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | rows: rows, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `rows` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/theme.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | common: common, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `common` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/matrix.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | x_min: x_min, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `x_min` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | window_dimensions: window_dimensions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `window_dimensions` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/matrix.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | x_max: x_max, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `x_max` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/matrix.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | y_min: y_min, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `y_min` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/matrix.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | y_max: y_max, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `y_max` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | widget_graph: widget_graph, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `widget_graph` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/matrix.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | widget_id: widget_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `widget_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/matrix.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | matrix_id: matrix_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `matrix_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/matrix.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | rel_x: rel_x, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `rel_x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | window: window, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `window` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/matrix.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | rel_y: rel_y, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `rel_y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | depth_order: depth_order, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `depth_order` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | updated_widgets: updated_widgets, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `updated_widgets` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | prev_updated_widgets: prev_updated_widgets, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `prev_updated_widgets` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:316:21 [INFO] [stdout] | [INFO] [stdout] 316 | x: x, [INFO] [stdout] | ^^^^ help: replace it with: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:317:21 [INFO] [stdout] | [INFO] [stdout] 317 | y: y, [INFO] [stdout] | ^^^^ help: replace it with: `y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/number_dialer.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | min: min, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `min` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/number_dialer.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | max: max, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `max` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/number_dialer.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | precision: precision, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `precision` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:640:21 [INFO] [stdout] | [INFO] [stdout] 640 | motion: motion, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `motion` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:666:41 [INFO] [stdout] | [INFO] [stdout] 666 | ... delta_xy: delta_xy, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `delta_xy` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:667:41 [INFO] [stdout] | [INFO] [stdout] 667 | ... total_delta_xy: total_delta_xy, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `total_delta_xy` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:778:41 [INFO] [stdout] | [INFO] [stdout] 778 | ... x: x, [INFO] [stdout] | ^^^^ help: replace it with: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:779:41 [INFO] [stdout] | [INFO] [stdout] 779 | ... y: y, [INFO] [stdout] | ^^^^ help: replace it with: `y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:805:45 [INFO] [stdout] | [INFO] [stdout] 805 | ... x: x, [INFO] [stdout] | ^^^^ help: replace it with: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/plot_path.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | min_x: min_x, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `min_x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:806:45 [INFO] [stdout] | [INFO] [stdout] 806 | ... y: y, [INFO] [stdout] | ^^^^ help: replace it with: `y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/plot_path.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | max_x: max_x, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `max_x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/plot_path.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | min_y: min_y, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `min_y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:828:21 [INFO] [stdout] | [INFO] [stdout] 828 | string: string, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `string` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/plot_path.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | max_y: max_y, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `max_y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/plot_path.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | f: f, [INFO] [stdout] | ^^^^ help: replace it with: `f` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:855:25 [INFO] [stdout] | [INFO] [stdout] 855 | start: start, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `start` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/range_slider.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | start: start, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `start` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/range_slider.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | end: end, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `end` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:1337:21 [INFO] [stdout] | [INFO] [stdout] 1337 | x: x, [INFO] [stdout] | ^^^^ help: replace it with: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/ui.rs:1338:21 [INFO] [stdout] | [INFO] [stdout] 1338 | y: y, [INFO] [stdout] | ^^^^ help: replace it with: `y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/range_slider.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | min: min, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `min` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/range_slider.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | max: max, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `max` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/rounded_rectangle.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/rounded_rectangle.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | radius: radius, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `radius` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/scrollbar.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | widget: widget, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `widget` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/id.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | widget_graph: widget_graph, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `widget_graph` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/slider.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | value: value, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/slider.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | min: min, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `min` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/slider.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | max: max, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `max` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/scroll.rs:224:13 [INFO] [stdout] | [INFO] [stdout] 224 | offset_bounds: offset_bounds, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `offset_bounds` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/slider.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | y: y, [INFO] [stdout] | ^^^^ help: replace it with: `y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/slider.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | y: y, [INFO] [stdout] | ^^^^ help: replace it with: `y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/image.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | image_id: image_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `image_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/slider.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | x: x, [INFO] [stdout] | ^^^^ help: replace it with: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/slider.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | x: x, [INFO] [stdout] | ^^^^ help: replace it with: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/line.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | start: start, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `start` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/line.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | end: end, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `end` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/line.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/tabs.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | tabs: tabs, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `tabs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/tabs.rs:283:25 [INFO] [stdout] | [INFO] [stdout] 283 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/tabs.rs:454:13 [INFO] [stdout] | [INFO] [stdout] 454 | tab_dim: tab_dim, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `tab_dim` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/tabs.rs:456:13 [INFO] [stdout] | [INFO] [stdout] 456 | xy_step: xy_step, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `xy_step` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/point_path.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | points: points, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `points` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/point_path.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/point_path.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | points: points, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `points` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/text_box.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | text: text, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `text` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/point_path.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | cap: cap, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `cap` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/text_box.rs:151:20 [INFO] [stdout] | [INFO] [stdout] 151 | Rect { x: x, y: y } [INFO] [stdout] | ^^^^ help: replace it with: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/text_box.rs:151:26 [INFO] [stdout] | [INFO] [stdout] 151 | Rect { x: x, y: y } [INFO] [stdout] | ^^^^ help: replace it with: `y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/text_edit.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | text: text, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `text` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/shape/oval.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/shape/oval.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | num_points: num_points, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `num_points` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/shape/oval.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | rad_step: rad_step, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `rad_step` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/shape/polygon.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | points: points, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `points` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/shape/polygon.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/text_edit.rs:702:37 [INFO] [stdout] | [INFO] [stdout] 702 | ... start: start, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `start` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/text_edit.rs:703:37 [INFO] [stdout] | [INFO] [stdout] 703 | ... end: end, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `end` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/text_edit.rs:758:45 [INFO] [stdout] | [INFO] [stdout] 758 | ... line: line, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `line` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/text_edit.rs:759:45 [INFO] [stdout] | [INFO] [stdout] 759 | ... char: char, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `char` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/shape/polygon.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | first: first, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `first` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/shape/polygon.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | prev: prev, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `prev` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/shape/polygon.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | points: points, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `points` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/shape/rectangle.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/text_edit.rs:805:37 [INFO] [stdout] | [INFO] [stdout] 805 | ... line: line, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `line` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/text_edit.rs:806:37 [INFO] [stdout] | [INFO] [stdout] 806 | ... char: char, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `char` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/text_edit.rs:822:37 [INFO] [stdout] | [INFO] [stdout] 822 | ... line: line, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `line` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/text_edit.rs:823:37 [INFO] [stdout] | [INFO] [stdout] 823 | ... char: char, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `char` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/shape/triangles.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/shape/triangles.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | triangles: triangles, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `triangles` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/title_bar.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | label: label, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `label` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/shape/triangles.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | triangles: triangles, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `triangles` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/toggle.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | value: value, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/primitive/text.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | text: text, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `text` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/xy_pad.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | min_x: min_x, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `min_x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/xy_pad.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | max_x: max_x, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `max_x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/xy_pad.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | min_y: min_y, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `min_y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/xy_pad.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | max_y: max_y, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `max_y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/button.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | image_id: image_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `image_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/button.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | show: show, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `show` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:953:21 [INFO] [stdout] | [INFO] [stdout] 953 | rect: rect, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `rect` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:954:21 [INFO] [stdout] | [INFO] [stdout] 954 | depth: depth, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `depth` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:955:21 [INFO] [stdout] | [INFO] [stdout] 955 | maybe_dragged_from: maybe_dragged_from, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_dragged_from` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:956:21 [INFO] [stdout] | [INFO] [stdout] 956 | maybe_floating: maybe_floating, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_floating` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:957:21 [INFO] [stdout] | [INFO] [stdout] 957 | kid_area: kid_area, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `kid_area` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:958:21 [INFO] [stdout] | [INFO] [stdout] 958 | maybe_x_scroll_state: maybe_x_scroll_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_x_scroll_state` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:959:21 [INFO] [stdout] | [INFO] [stdout] 959 | maybe_y_scroll_state: maybe_y_scroll_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_y_scroll_state` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1076:13 [INFO] [stdout] | [INFO] [stdout] 1076 | rect: rect, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `rect` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1157:17 [INFO] [stdout] | [INFO] [stdout] 1157 | type_id: type_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `type_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1158:17 [INFO] [stdout] | [INFO] [stdout] 1158 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1159:17 [INFO] [stdout] | [INFO] [stdout] 1159 | maybe_parent_id: maybe_parent_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_parent_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1160:17 [INFO] [stdout] | [INFO] [stdout] 1160 | maybe_x_positioned_relatively_id: maybe_x_positioned_relatively_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_x_positioned_relatively_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1161:17 [INFO] [stdout] | [INFO] [stdout] 1161 | maybe_y_positioned_relatively_id: maybe_y_positioned_relatively_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_y_positioned_relatively_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1162:17 [INFO] [stdout] | [INFO] [stdout] 1162 | rect: rect, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `rect` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1163:17 [INFO] [stdout] | [INFO] [stdout] 1163 | depth: depth, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `depth` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1164:17 [INFO] [stdout] | [INFO] [stdout] 1164 | kid_area: kid_area, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `kid_area` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1165:17 [INFO] [stdout] | [INFO] [stdout] 1165 | maybe_dragged_from: maybe_dragged_from, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_dragged_from` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1166:17 [INFO] [stdout] | [INFO] [stdout] 1166 | maybe_floating: maybe_floating, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_floating` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1167:17 [INFO] [stdout] | [INFO] [stdout] 1167 | crop_kids: crop_kids, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `crop_kids` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1168:17 [INFO] [stdout] | [INFO] [stdout] 1168 | maybe_y_scroll_state: maybe_y_scroll_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_y_scroll_state` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1169:17 [INFO] [stdout] | [INFO] [stdout] 1169 | maybe_x_scroll_state: maybe_x_scroll_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_x_scroll_state` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1179:9 [INFO] [stdout] | [INFO] [stdout] 1179 | rect: rect, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `rect` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1180:9 [INFO] [stdout] | [INFO] [stdout] 1180 | depth: depth, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `depth` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1181:9 [INFO] [stdout] | [INFO] [stdout] 1181 | maybe_dragged_from: maybe_dragged_from, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_dragged_from` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1182:9 [INFO] [stdout] | [INFO] [stdout] 1182 | maybe_floating: maybe_floating, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_floating` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1183:9 [INFO] [stdout] | [INFO] [stdout] 1183 | kid_area: kid_area, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `kid_area` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1184:9 [INFO] [stdout] | [INFO] [stdout] 1184 | maybe_x_scroll_state: maybe_x_scroll_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_x_scroll_state` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1185:9 [INFO] [stdout] | [INFO] [stdout] 1185 | maybe_y_scroll_state: maybe_y_scroll_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_y_scroll_state` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1203:17 [INFO] [stdout] | [INFO] [stdout] 1203 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1204:17 [INFO] [stdout] | [INFO] [stdout] 1204 | maybe_parent_id: maybe_parent_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_parent_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1207:17 [INFO] [stdout] | [INFO] [stdout] 1207 | rect: rect, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `rect` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1209:17 [INFO] [stdout] | [INFO] [stdout] 1209 | ui: ui, [INFO] [stdout] | ^^^^^^ help: replace it with: `ui` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/canvas.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | rect: rect, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `rect` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1252:13 [INFO] [stdout] | [INFO] [stdout] 1252 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1253:13 [INFO] [stdout] | [INFO] [stdout] 1253 | maybe_parent_id: maybe_parent_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_parent_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/collapsible_area.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | is_open: is_open, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `is_open` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/collapsible_area.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | text: text, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `text` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/drop_down_list.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | items: items, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `items` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/drop_down_list.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | selected: selected, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `selected` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/envelope_editor.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | env: env, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `env` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/envelope_editor.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | min_x: min_x, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `min_x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/envelope_editor.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | max_x: max_x, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `max_x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/envelope_editor.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | min_y: min_y, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `min_y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/envelope_editor.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | max_y: max_y, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `max_y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `windows_metadataext` [INFO] [stdout] --> src/widget/file_navigator/directory_view.rs:89:38 [INFO] [stdout] | [INFO] [stdout] 89 | #[cfg(all(target_os = "windows", not(feature = "windows_metadataext")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `stdweb` and `wasm-bindgen` [INFO] [stdout] = help: consider adding `windows_metadataext` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `windows_metadataext` [INFO] [stdout] --> src/widget/file_navigator/directory_view.rs:93:34 [INFO] [stdout] | [INFO] [stdout] 93 | #[cfg(all(target_os = "windows", feature = "windows_metadataext"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `stdweb` and `wasm-bindgen` [INFO] [stdout] = help: consider adding `windows_metadataext` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/file_navigator/directory_view.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | directory: directory, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `directory` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/file_navigator/directory_view.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | types: types, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `types` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/file_navigator/mod.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | starting_directory: starting_directory, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `starting_directory` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/file_navigator/mod.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | types: types, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `types` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/file_navigator/mod.rs:220:21 [INFO] [stdout] | [INFO] [stdout] 220 | path: path, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `path` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/file_navigator/mod.rs:387:29 [INFO] [stdout] | [INFO] [stdout] 387 | ... column_width: column_width, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `column_width` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/graph/mod.rs:596:17 [INFO] [stdout] | [INFO] [stdout] 596 | start: start, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `start` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/graph/mod.rs:597:17 [INFO] [stdout] | [INFO] [stdout] 597 | end: end, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `end` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/graph/mod.rs:845:13 [INFO] [stdout] | [INFO] [stdout] 845 | layout: layout, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `layout` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/grid.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | step: step, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `step` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/grid.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | min_x: min_x, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `min_x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/grid.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | max_x: max_x, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `max_x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/grid.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | min_y: min_y, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `min_y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/grid.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | max_y: max_y, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `max_y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list.rs:253:13 [INFO] [stdout] | [INFO] [stdout] 253 | num_items: num_items, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `num_items` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list.rs:255:13 [INFO] [stdout] | [INFO] [stdout] 255 | item_size: item_size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `item_size` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | common: common, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `common` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | num_items: num_items, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `num_items` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list.rs:276:32 [INFO] [stdout] | [INFO] [stdout] 276 | item_size: Fixed { length: length }, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `length` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list.rs:405:21 [INFO] [stdout] | [INFO] [stdout] 405 | i: i, [INFO] [stdout] | ^^^^ help: replace it with: `i` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list.rs:408:21 [INFO] [stdout] | [INFO] [stdout] 408 | scroll_trigger_id: scroll_trigger_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `scroll_trigger_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list.rs:411:21 [INFO] [stdout] | [INFO] [stdout] 411 | first_item_margin: first_item_margin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `first_item_margin` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list.rs:636:13 [INFO] [stdout] | [INFO] [stdout] 636 | item_breadth: item_breadth, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `item_breadth` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list.rs:638:13 [INFO] [stdout] | [INFO] [stdout] 638 | first_item_margin: first_item_margin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `first_item_margin` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list.rs:639:13 [INFO] [stdout] | [INFO] [stdout] 639 | item_size: item_size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `item_size` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list.rs:728:13 [INFO] [stdout] | [INFO] [stdout] 728 | item_breadth: item_breadth, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `item_breadth` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list.rs:730:13 [INFO] [stdout] | [INFO] [stdout] 730 | first_item_margin: first_item_margin, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `first_item_margin` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list.rs:731:13 [INFO] [stdout] | [INFO] [stdout] 731 | item_size: item_size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `item_size` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | common: common, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `common` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | num_items: num_items, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `num_items` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | mode: mode, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `mode` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | item_size: item_size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `item_size` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | item_instantiation: item_instantiation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `item_instantiation` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | common: common, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `common` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:236:13 [INFO] [stdout] | [INFO] [stdout] 236 | num_items: num_items, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `num_items` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | mode: mode, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `mode` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | item_size: item_size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `item_size` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:240:13 [INFO] [stdout] | [INFO] [stdout] 240 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | item_instantiation: item_instantiation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `item_instantiation` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | common: common, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `common` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | num_items: num_items, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `num_items` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:259:13 [INFO] [stdout] | [INFO] [stdout] 259 | mode: mode, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `mode` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | item_size: item_size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `item_size` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | item_instantiation: item_instantiation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `item_instantiation` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | common: common, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `common` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:280:13 [INFO] [stdout] | [INFO] [stdout] 280 | num_items: num_items, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `num_items` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | mode: mode, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `mode` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | item_size: item_size, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `item_size` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | item_instantiation: item_instantiation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `item_instantiation` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:302:13 [INFO] [stdout] | [INFO] [stdout] 302 | common: common, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `common` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | num_items: num_items, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `num_items` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | mode: mode, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `mode` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | direction: direction, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `direction` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:306:46 [INFO] [stdout] | [INFO] [stdout] 306 | item_size: widget::list::Fixed { length: length }, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `length` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:325:13 [INFO] [stdout] | [INFO] [stdout] 325 | num_items: num_items, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `num_items` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | mode: mode, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `mode` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:449:13 [INFO] [stdout] | [INFO] [stdout] 449 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:450:13 [INFO] [stdout] | [INFO] [stdout] 450 | items: items, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `items` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:451:13 [INFO] [stdout] | [INFO] [stdout] 451 | num_items: num_items, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `num_items` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/list_select.rs:452:13 [INFO] [stdout] | [INFO] [stdout] 452 | mode: mode, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `mode` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/matrix.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | cols: cols, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `cols` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/matrix.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | rows: rows, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `rows` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/matrix.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | x_min: x_min, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `x_min` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/matrix.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | x_max: x_max, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `x_max` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/matrix.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | y_min: y_min, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `y_min` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/matrix.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | y_max: y_max, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `y_max` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/matrix.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | widget_id: widget_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `widget_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/matrix.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | matrix_id: matrix_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `matrix_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/matrix.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | rel_x: rel_x, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `rel_x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/matrix.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | rel_y: rel_y, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `rel_y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/number_dialer.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | min: min, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `min` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/number_dialer.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | max: max, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `max` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/number_dialer.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | precision: precision, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `precision` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/plot_path.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | min_x: min_x, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `min_x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/plot_path.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | max_x: max_x, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `max_x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/plot_path.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | min_y: min_y, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `min_y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/plot_path.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | max_y: max_y, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `max_y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/plot_path.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | f: f, [INFO] [stdout] | ^^^^ help: replace it with: `f` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/range_slider.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | start: start, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `start` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/range_slider.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | end: end, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `end` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/range_slider.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | min: min, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `min` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/range_slider.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | max: max, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `max` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/rounded_rectangle.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | style: style, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/rounded_rectangle.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | radius: radius, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `radius` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/scrollbar.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | widget: widget, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: replace it with: `widget` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/slider.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | value: value, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/slider.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | min: min, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `min` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/slider.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | max: max, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `max` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/slider.rs:205:17 [INFO] [stdout] | [INFO] [stdout] 205 | y: y, [INFO] [stdout] | ^^^^ help: replace it with: `y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/slider.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | y: y, [INFO] [stdout] | ^^^^ help: replace it with: `y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/slider.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | x: x, [INFO] [stdout] | ^^^^ help: replace it with: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/slider.rs:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | x: x, [INFO] [stdout] | ^^^^ help: replace it with: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/tabs.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | tabs: tabs, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `tabs` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/tabs.rs:283:25 [INFO] [stdout] | [INFO] [stdout] 283 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/tabs.rs:454:13 [INFO] [stdout] | [INFO] [stdout] 454 | tab_dim: tab_dim, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `tab_dim` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/tabs.rs:456:13 [INFO] [stdout] | [INFO] [stdout] 456 | xy_step: xy_step, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `xy_step` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/text_box.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | text: text, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `text` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/text_box.rs:151:20 [INFO] [stdout] | [INFO] [stdout] 151 | Rect { x: x, y: y } [INFO] [stdout] | ^^^^ help: replace it with: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/text_box.rs:151:26 [INFO] [stdout] | [INFO] [stdout] 151 | Rect { x: x, y: y } [INFO] [stdout] | ^^^^ help: replace it with: `y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/text_edit.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | text: text, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `text` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/text_edit.rs:702:37 [INFO] [stdout] | [INFO] [stdout] 702 | ... start: start, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `start` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/text_edit.rs:703:37 [INFO] [stdout] | [INFO] [stdout] 703 | ... end: end, [INFO] [stdout] | ^^^^^^^^ help: replace it with: `end` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/text_edit.rs:758:45 [INFO] [stdout] | [INFO] [stdout] 758 | ... line: line, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `line` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/text_edit.rs:759:45 [INFO] [stdout] | [INFO] [stdout] 759 | ... char: char, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `char` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/text_edit.rs:805:37 [INFO] [stdout] | [INFO] [stdout] 805 | ... line: line, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `line` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/text_edit.rs:806:37 [INFO] [stdout] | [INFO] [stdout] 806 | ... char: char, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `char` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/text_edit.rs:822:37 [INFO] [stdout] | [INFO] [stdout] 822 | ... line: line, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `line` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/text_edit.rs:823:37 [INFO] [stdout] | [INFO] [stdout] 823 | ... char: char, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `char` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/title_bar.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | label: label, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `label` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/toggle.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | value: value, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/xy_pad.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | min_x: min_x, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `min_x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/xy_pad.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | max_x: max_x, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `max_x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/xy_pad.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | min_y: min_y, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `min_y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/xy_pad.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | max_y: max_y, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `max_y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:953:21 [INFO] [stdout] | [INFO] [stdout] 953 | rect: rect, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `rect` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:954:21 [INFO] [stdout] | [INFO] [stdout] 954 | depth: depth, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `depth` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:955:21 [INFO] [stdout] | [INFO] [stdout] 955 | maybe_dragged_from: maybe_dragged_from, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_dragged_from` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:956:21 [INFO] [stdout] | [INFO] [stdout] 956 | maybe_floating: maybe_floating, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_floating` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:957:21 [INFO] [stdout] | [INFO] [stdout] 957 | kid_area: kid_area, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `kid_area` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:958:21 [INFO] [stdout] | [INFO] [stdout] 958 | maybe_x_scroll_state: maybe_x_scroll_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_x_scroll_state` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:959:21 [INFO] [stdout] | [INFO] [stdout] 959 | maybe_y_scroll_state: maybe_y_scroll_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_y_scroll_state` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1076:13 [INFO] [stdout] | [INFO] [stdout] 1076 | rect: rect, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `rect` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1157:17 [INFO] [stdout] | [INFO] [stdout] 1157 | type_id: type_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: replace it with: `type_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1158:17 [INFO] [stdout] | [INFO] [stdout] 1158 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1159:17 [INFO] [stdout] | [INFO] [stdout] 1159 | maybe_parent_id: maybe_parent_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_parent_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1160:17 [INFO] [stdout] | [INFO] [stdout] 1160 | maybe_x_positioned_relatively_id: maybe_x_positioned_relatively_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_x_positioned_relatively_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1161:17 [INFO] [stdout] | [INFO] [stdout] 1161 | maybe_y_positioned_relatively_id: maybe_y_positioned_relatively_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_y_positioned_relatively_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1162:17 [INFO] [stdout] | [INFO] [stdout] 1162 | rect: rect, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `rect` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1163:17 [INFO] [stdout] | [INFO] [stdout] 1163 | depth: depth, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `depth` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1164:17 [INFO] [stdout] | [INFO] [stdout] 1164 | kid_area: kid_area, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `kid_area` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1165:17 [INFO] [stdout] | [INFO] [stdout] 1165 | maybe_dragged_from: maybe_dragged_from, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_dragged_from` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1166:17 [INFO] [stdout] | [INFO] [stdout] 1166 | maybe_floating: maybe_floating, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_floating` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1167:17 [INFO] [stdout] | [INFO] [stdout] 1167 | crop_kids: crop_kids, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `crop_kids` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1168:17 [INFO] [stdout] | [INFO] [stdout] 1168 | maybe_y_scroll_state: maybe_y_scroll_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_y_scroll_state` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1169:17 [INFO] [stdout] | [INFO] [stdout] 1169 | maybe_x_scroll_state: maybe_x_scroll_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_x_scroll_state` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1179:9 [INFO] [stdout] | [INFO] [stdout] 1179 | rect: rect, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `rect` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1180:9 [INFO] [stdout] | [INFO] [stdout] 1180 | depth: depth, [INFO] [stdout] | ^^^^^^^^^^^^ help: replace it with: `depth` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1181:9 [INFO] [stdout] | [INFO] [stdout] 1181 | maybe_dragged_from: maybe_dragged_from, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_dragged_from` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1182:9 [INFO] [stdout] | [INFO] [stdout] 1182 | maybe_floating: maybe_floating, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_floating` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1183:9 [INFO] [stdout] | [INFO] [stdout] 1183 | kid_area: kid_area, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace it with: `kid_area` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1184:9 [INFO] [stdout] | [INFO] [stdout] 1184 | maybe_x_scroll_state: maybe_x_scroll_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_x_scroll_state` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1185:9 [INFO] [stdout] | [INFO] [stdout] 1185 | maybe_y_scroll_state: maybe_y_scroll_state, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_y_scroll_state` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1203:17 [INFO] [stdout] | [INFO] [stdout] 1203 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1204:17 [INFO] [stdout] | [INFO] [stdout] 1204 | maybe_parent_id: maybe_parent_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_parent_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1207:17 [INFO] [stdout] | [INFO] [stdout] 1207 | rect: rect, [INFO] [stdout] | ^^^^^^^^^^ help: replace it with: `rect` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1209:17 [INFO] [stdout] | [INFO] [stdout] 1209 | ui: ui, [INFO] [stdout] | ^^^^^^ help: replace it with: `ui` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1252:13 [INFO] [stdout] | [INFO] [stdout] 1252 | id: id, [INFO] [stdout] | ^^^^^^ help: replace it with: `id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/widget/mod.rs:1253:13 [INFO] [stdout] | [INFO] [stdout] 1253 | maybe_parent_id: maybe_parent_id, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `maybe_parent_id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/tests/global_input.rs:13:61 [INFO] [stdout] | [INFO] [stdout] 13 | event::Event::Raw(Input::Motion(Motion::MouseRelative { x: x, y: y })) [INFO] [stdout] | ^^^^ help: replace it with: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/tests/global_input.rs:13:67 [INFO] [stdout] | [INFO] [stdout] 13 | event::Event::Raw(Input::Motion(Motion::MouseRelative { x: x, y: y })) [INFO] [stdout] | ^^^^ help: replace it with: `y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/tests/ui.rs:33:57 [INFO] [stdout] | [INFO] [stdout] 33 | ui.handle_event(Input::Motion(Motion::MouseCursor { x: x, y: y })); [INFO] [stdout] | ^^^^ help: replace it with: `x` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> src/tests/ui.rs:33:63 [INFO] [stdout] | [INFO] [stdout] 33 | ui.handle_event(Input::Motion(Motion::MouseCursor { x: x, y: y })); [INFO] [stdout] | ^^^^ help: replace it with: `y` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `capturing_keyboard` is never read [INFO] [stdout] --> src/input/widget.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Events<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 44 | ui_events: input::global::UiEvents<'a>, [INFO] [stdout] 45 | capturing_keyboard: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Events` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `foo` and `bar` are never read [INFO] [stdout] --> src/widget/id.rs:390:30 [INFO] [stdout] | [INFO] [stdout] 390 | widget_ids! { struct A { foo, bar } } [INFO] [stdout] | - ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `widget_ids` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `foo` and `bar` are never read [INFO] [stdout] --> src/widget/id.rs:391:34 [INFO] [stdout] | [INFO] [stdout] 391 | widget_ids! { pub struct B { foo, bar } } [INFO] [stdout] | - ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `widget_ids` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `foo` and `bar` are never read [INFO] [stdout] --> src/widget/id.rs:392:30 [INFO] [stdout] | [INFO] [stdout] 392 | widget_ids! { struct C { foo, bar, } } [INFO] [stdout] | - ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `widget_ids` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `foo` and `bar` are never read [INFO] [stdout] --> src/widget/id.rs:393:34 [INFO] [stdout] | [INFO] [stdout] 393 | widget_ids! { pub struct D { foo, bar, } } [INFO] [stdout] | - ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `widget_ids` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `foo` and `bar` are never read [INFO] [stdout] --> src/widget/id.rs:394:30 [INFO] [stdout] | [INFO] [stdout] 394 | widget_ids! { struct E { foo[], bar } } [INFO] [stdout] | - ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `widget_ids` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `foo` and `bar` are never read [INFO] [stdout] --> src/widget/id.rs:395:34 [INFO] [stdout] | [INFO] [stdout] 395 | widget_ids! { pub struct F { foo, bar[] } } [INFO] [stdout] | - ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `widget_ids` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `foo` and `bar` are never read [INFO] [stdout] --> src/widget/id.rs:396:30 [INFO] [stdout] | [INFO] [stdout] 396 | widget_ids! { struct G { foo[], bar, } } [INFO] [stdout] | - ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `widget_ids` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `foo` and `bar` are never read [INFO] [stdout] --> src/widget/id.rs:397:34 [INFO] [stdout] | [INFO] [stdout] 397 | widget_ids! { pub struct H { foo, bar[], } } [INFO] [stdout] | - ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `widget_ids` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cap` is never read [INFO] [stdout] --> src/widget/primitive/point_path.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Triangles { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | cap: widget::line::Cap, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Triangles` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SocketLayouts` is never constructed [INFO] [stdout] --> src/widget/graph/mod.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | struct SocketLayouts { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: clamp-like pattern without using clamp function [INFO] [stdout] --> src/color.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / if f < 0.0 { [INFO] [stdout] 95 | | 0.0 [INFO] [stdout] 96 | | } else if f > 1.0 { [INFO] [stdout] 97 | | 1.0 [INFO] [stdout] 98 | | } else { [INFO] [stdout] 99 | | f [INFO] [stdout] 100 | | } [INFO] [stdout] | |_____^ help: replace with clamp: `f.clamp(0.0, 1.0)` [INFO] [stdout] | [INFO] [stdout] = note: clamp will panic if max < min, min.is_nan(), or max.is_nan() [INFO] [stdout] = note: clamp returns NaN if the input is NaN [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp [INFO] [stdout] = note: `#[warn(clippy::manual_clamp)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true [INFO] [stdout] --> src/color.rs:329:1 [INFO] [stdout] | [INFO] [stdout] 329 | impl Into<[f32; 4]> for Rgba { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: `impl From for Foreign` is allowed by the orphan rules, for more information see [INFO] [stdout] https://doc.rust-lang.org/reference/items/implementations.html#trait-implementation-coherence [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#from_over_into [INFO] [stdout] = note: `#[warn(clippy::from_over_into)]` on by default [INFO] [stdout] help: replace the `Into` implementation with `From` [INFO] [stdout] | [INFO] [stdout] 329 ~ impl From for [f32; 4] { [INFO] [stdout] 330 ~ fn from(val: Rgba) -> Self { [INFO] [stdout] 331 ~ let Rgba(r, g, b, a) = val; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/event.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | //! `Ui`. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] = note: `#[warn(clippy::doc_lazy_continuation)]` on by default [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 6 | //! `Ui`. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/event.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | //! widgets. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 8 | //! widgets. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/graph/algo.rs:65:45 [INFO] [stdout] | [INFO] [stdout] 65 | match (container.is_over.0)(&container, self.xy, theme) { [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `container` [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 pattern creates a reference to a reference [INFO] [stdout] --> src/graph/algo.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | if let Some(ref container) = graph.widget(idx) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 120 - if let Some(ref container) = graph.widget(idx) { [INFO] [stdout] 120 + if let Some(container) = graph.widget(idx) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/graph/algo.rs:232:34 [INFO] [stdout] | [INFO] [stdout] 232 | let is_not_graphic_kid = !g.graphic_parent(n).is_some(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `g.graphic_parent(n).is_none()` [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: doc list item without indentation [INFO] [stdout] --> src/graph/algo.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | /// `NO_OFFSET` will be returned, as child widgets that are graphical elements of their parents [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 284 | /// `NO_OFFSET` will be returned, as child widgets that are graphical elements of their parents [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/graph/algo.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | /// should not be affected by scrolling. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 285 | /// should not be affected by scrolling. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/graph/algo.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | /// be returned, as we know that our scroll offset has already been applied via the widget to which [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 287 | /// be returned, as we know that our scroll offset has already been applied via the widget to which [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/graph/algo.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | /// we are relatively positioned. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 288 | /// we are relatively positioned. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `DepthOrder` [INFO] [stdout] --> src/graph/depth_order.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / pub fn new() -> DepthOrder { [INFO] [stdout] 22 | | DepthOrder { [INFO] [stdout] 23 | | indices: Vec::new(), [INFO] [stdout] 24 | | floating: Vec::new(), [INFO] [stdout] 25 | | } [INFO] [stdout] 26 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] = note: `#[warn(clippy::new_without_default)]` on by default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 19 + impl Default for DepthOrder { [INFO] [stdout] 20 + fn default() -> Self { [INFO] [stdout] 21 + Self::new() [INFO] [stdout] 22 + } [INFO] [stdout] 23 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a tuple pattern where every element takes a reference [INFO] [stdout] --> src/graph/depth_order.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | (&Node::Widget(ref a), &Node::Widget(ref b)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference [INFO] [stdout] = note: `#[warn(clippy::needless_borrowed_reference)]` on by default [INFO] [stdout] help: try removing the `&` and `ref` parts [INFO] [stdout] | [INFO] [stdout] 75 - (&Node::Widget(ref a), &Node::Widget(ref b)) => { [INFO] [stdout] 75 + (Node::Widget(a), &Node::Widget(ref b)) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a tuple pattern where every element takes a reference [INFO] [stdout] --> src/graph/depth_order.rs:75:36 [INFO] [stdout] | [INFO] [stdout] 75 | (&Node::Widget(ref a), &Node::Widget(ref b)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference [INFO] [stdout] help: try removing the `&` and `ref` parts [INFO] [stdout] | [INFO] [stdout] 75 - (&Node::Widget(ref a), &Node::Widget(ref b)) => { [INFO] [stdout] 75 + (&Node::Widget(ref a), Node::Widget(b)) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/graph/depth_order.rs:113:40 [INFO] [stdout] | [INFO] [stdout] 113 | graph.depth_children(idx).iter(&graph).nodes().collect(); [INFO] [stdout] | ^^^^^^ help: change this to: `graph` [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: dereferencing a tuple pattern where every element takes a reference [INFO] [stdout] --> src/graph/depth_order.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | if let (&Node::Widget(ref a), &Node::Widget(ref b)) = (&graph[a], &graph[b]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference [INFO] [stdout] help: try removing the `&` and `ref` parts [INFO] [stdout] | [INFO] [stdout] 118 - if let (&Node::Widget(ref a), &Node::Widget(ref b)) = (&graph[a], &graph[b]) { [INFO] [stdout] 118 + if let (Node::Widget(a), &Node::Widget(ref b)) = (&graph[a], &graph[b]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a tuple pattern where every element takes a reference [INFO] [stdout] --> src/graph/depth_order.rs:118:39 [INFO] [stdout] | [INFO] [stdout] 118 | if let (&Node::Widget(ref a), &Node::Widget(ref b)) = (&graph[a], &graph[b]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference [INFO] [stdout] help: try removing the `&` and `ref` parts [INFO] [stdout] | [INFO] [stdout] 118 - if let (&Node::Widget(ref a), &Node::Widget(ref b)) = (&graph[a], &graph[b]) { [INFO] [stdout] 118 + if let (&Node::Widget(ref a), Node::Widget(b)) = (&graph[a], &graph[b]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: large size difference between variants [INFO] [stdout] --> src/graph/mod.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / pub enum Node { [INFO] [stdout] 119 | | /// A widget constructed by a user. [INFO] [stdout] 120 | | Widget(Container), [INFO] [stdout] | | ----------------- the largest variant contains at least 272 bytes [INFO] [stdout] 121 | | /// A placeholder node - used when reserving a place for a **Widget** within the **Graph**. [INFO] [stdout] ... | [INFO] [stdout] 125 | | Placeholder, [INFO] [stdout] | | ----------- the second-largest variant carries no data at all [INFO] [stdout] 126 | | } [INFO] [stdout] | |_^ the entire enum is at least 272 bytes [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant [INFO] [stdout] = note: `#[warn(clippy::large_enum_variant)]` on by default [INFO] [stdout] help: consider boxing the large fields or introducing indirection in some other way to reduce the total size of the enum [INFO] [stdout] | [INFO] [stdout] 120 - Widget(Container), [INFO] [stdout] 120 + Widget(Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/graph/mod.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | /// **Graph::pick_top_scrollable_widget**, it will instead return the index for *a*. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 145 | /// **Graph::pick_top_scrollable_widget**, it will instead return the index for *a*. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/graph/mod.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | /// scrollable, that is) will be skipped. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 147 | /// scrollable, that is) will be skipped. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let .. else` expression looks like `matches!` macro [INFO] [stdout] --> src/graph/mod.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | / if let Node::Widget(_) = *self { [INFO] [stdout] 194 | | true [INFO] [stdout] 195 | | } else { [INFO] [stdout] 196 | | false [INFO] [stdout] 197 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] = note: `#[warn(clippy::match_like_matches_macro)]` on by default [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 193 - if let Node::Widget(_) = *self { [INFO] [stdout] 194 - true [INFO] [stdout] 195 - } else { [INFO] [stdout] 196 - false [INFO] [stdout] 197 - } [INFO] [stdout] 193 + matches!(*self, Node::Widget(_)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `Graph` [INFO] [stdout] --> src/graph/mod.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | / pub fn new() -> Self { [INFO] [stdout] 204 | | Graph { dag: Dag::new() } [INFO] [stdout] 205 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 201 + impl Default for Graph { [INFO] [stdout] 202 + fn default() -> Self { [INFO] [stdout] 203 + Self::new() [INFO] [stdout] 204 + } [INFO] [stdout] 205 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/graph/mod.rs:853:14 [INFO] [stdout] | [INFO] [stdout] 853 | fn index<'a>(&'a self, id: widget::Id) -> &'a Node { [INFO] [stdout] | ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] = note: `#[warn(clippy::needless_lifetimes)]` on by default [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 853 - fn index<'a>(&'a self, id: widget::Id) -> &'a Node { [INFO] [stdout] 853 + fn index(&self, id: widget::Id) -> &Node { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/graph/mod.rs:859:18 [INFO] [stdout] | [INFO] [stdout] 859 | fn index_mut<'a>(&'a mut self, id: widget::Id) -> &'a mut Node { [INFO] [stdout] | ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 859 - fn index_mut<'a>(&'a mut self, id: widget::Id) -> &'a mut Node { [INFO] [stdout] 859 + fn index_mut(&mut self, id: widget::Id) -> &mut Node { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/graph/mod.rs:866:14 [INFO] [stdout] | [INFO] [stdout] 866 | fn index<'a>(&'a self, idx: EdgeIndex) -> &'a Edge { [INFO] [stdout] | ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 866 - fn index<'a>(&'a self, idx: EdgeIndex) -> &'a Edge { [INFO] [stdout] 866 + fn index(&self, idx: EdgeIndex) -> &Edge { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/graph/mod.rs:872:18 [INFO] [stdout] | [INFO] [stdout] 872 | fn index_mut<'a>(&'a mut self, idx: EdgeIndex) -> &'a mut Edge { [INFO] [stdout] | ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 872 - fn index_mut<'a>(&'a mut self, idx: EdgeIndex) -> &'a mut Edge { [INFO] [stdout] 872 + fn index_mut(&mut self, idx: EdgeIndex) -> &mut Edge { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/guide/mod.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | -[Back ends][3.2.1] [INFO] [stdout] | ^^^^^^^^ help: try using ` ` (6 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: you should consider adding a `Default` implementation for `Map` [INFO] [stdout] --> src/image.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / pub fn new() -> Self { [INFO] [stdout] 48 | | Map { [INFO] [stdout] 49 | | next_index: 0, [INFO] [stdout] 50 | | map: HashMap::::default(), [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 45 + impl Default for Map { [INFO] [stdout] 46 + fn default() -> Self { [INFO] [stdout] 47 + Self::new() [INFO] [stdout] 48 + } [INFO] [stdout] 49 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/image.rs:120:37 [INFO] [stdout] | [INFO] [stdout] 120 | self.index_range.next().map(|i| Id(i)) [INFO] [stdout] | ^^^^^^^^^ help: replace the closure with the tuple struct itself: `Id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] = note: `#[warn(clippy::redundant_closure)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `Global` [INFO] [stdout] --> src/input/global.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / pub fn new() -> Global { [INFO] [stdout] 43 | | Global { [INFO] [stdout] 44 | | events: Vec::new(), [INFO] [stdout] 45 | | start: input::State::new(), [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 40 + impl Default for Global { [INFO] [stdout] 41 + fn default() -> Self { [INFO] [stdout] 42 + Self::new() [INFO] [stdout] 43 + } [INFO] [stdout] 44 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/global.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | while let Some(event) = self.events.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for event in self.events.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] = note: `#[warn(clippy::while_let_on_iterator)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `State` [INFO] [stdout] --> src/input/state.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | / pub fn new() -> State { [INFO] [stdout] 45 | | State { [INFO] [stdout] 46 | | touch: fnv::FnvHashMap::default(), [INFO] [stdout] 47 | | mouse: Mouse::new(), [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 42 + impl Default for State { [INFO] [stdout] 43 + fn default() -> Self { [INFO] [stdout] 44 + Self::new() [INFO] [stdout] 45 + } [INFO] [stdout] 46 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `Mouse` [INFO] [stdout] --> src/input/state.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | / pub fn new() -> Self { [INFO] [stdout] 144 | | Mouse { [INFO] [stdout] 145 | | buttons: ButtonMap::new(), [INFO] [stdout] 146 | | xy: [0.0, 0.0], [INFO] [stdout] 147 | | } [INFO] [stdout] 148 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 141 ~ impl Default for Mouse { [INFO] [stdout] 142 + fn default() -> Self { [INFO] [stdout] 143 + Self::new() [INFO] [stdout] 144 + } [INFO] [stdout] 145 + } [INFO] [stdout] 146 + [INFO] [stdout] 147 ~ impl Mouse { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/input/state.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | / match *self { [INFO] [stdout] 165 | | ButtonPosition::Down(_, _) => true, [INFO] [stdout] 166 | | _ => false, [INFO] [stdout] 167 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 164 - match *self { [INFO] [stdout] 165 - ButtonPosition::Down(_, _) => true, [INFO] [stdout] 166 - _ => false, [INFO] [stdout] 167 - } [INFO] [stdout] 164 + matches!(*self, ButtonPosition::Down(_, _)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/input/state.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | / match *self { [INFO] [stdout] 173 | | ButtonPosition::Up => true, [INFO] [stdout] 174 | | _ => false, [INFO] [stdout] 175 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 172 - match *self { [INFO] [stdout] 173 - ButtonPosition::Up => true, [INFO] [stdout] 174 - _ => false, [INFO] [stdout] 175 - } [INFO] [stdout] 172 + matches!(*self, ButtonPosition::Up) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `ButtonMap` [INFO] [stdout] --> src/input/state.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | / pub fn new() -> Self { [INFO] [stdout] 199 | | ButtonMap { [INFO] [stdout] 200 | | buttons: [ButtonPosition::Up; NUM_BUTTONS], [INFO] [stdout] 201 | | } [INFO] [stdout] 202 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 196 ~ impl Default for ButtonMap { [INFO] [stdout] 197 + fn default() -> Self { [INFO] [stdout] 198 + Self::new() [INFO] [stdout] 199 + } [INFO] [stdout] 200 + } [INFO] [stdout] 201 + [INFO] [stdout] 202 ~ impl ButtonMap { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/state.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | while let Some((idx, button_pos)) = self.buttons.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for (idx, button_pos) in self.buttons.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/widget.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | while let Some(ui_event) = self.ui_events.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for ui_event in self.ui_events.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Motion` which implements the `Copy` trait [INFO] [stdout] --> src/input/widget.rs:443:33 [INFO] [stdout] | [INFO] [stdout] 443 | return Some(motion.clone().into()) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try dereferencing it: `(*motion)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] = note: `#[warn(clippy::clone_on_copy)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Scroll` which implements the `Copy` trait [INFO] [stdout] --> src/input/widget.rs:475:33 [INFO] [stdout] | [INFO] [stdout] 475 | return Some(scroll.clone().into()) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try dereferencing it: `(*scroll)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/widget.rs:489:9 [INFO] [stdout] | [INFO] [stdout] 489 | while let Some(event) = self.events.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for event in self.events.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/widget.rs:501:9 [INFO] [stdout] | [INFO] [stdout] 501 | while let Some(press) = self.presses.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for press in self.presses.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/widget.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | while let Some(mouse_press) = self.mouse_presses.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for mouse_press in self.mouse_presses.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/widget.rs:525:9 [INFO] [stdout] | [INFO] [stdout] 525 | while let Some(press) = self.presses.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for press in self.presses.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/widget.rs:537:9 [INFO] [stdout] | [INFO] [stdout] 537 | while let Some(event) = self.events.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for event in self.events.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/widget.rs:549:9 [INFO] [stdout] | [INFO] [stdout] 549 | while let Some(release) = self.releases.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for release in self.releases.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/widget.rs:561:9 [INFO] [stdout] | [INFO] [stdout] 561 | while let Some(mouse_release) = self.mouse_releases.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for mouse_release in self.mouse_releases.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/widget.rs:573:9 [INFO] [stdout] | [INFO] [stdout] 573 | while let Some(release) = self.releases.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for release in self.releases.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/widget.rs:585:9 [INFO] [stdout] | [INFO] [stdout] 585 | while let Some(event) = self.events.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for event in self.events.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/widget.rs:597:9 [INFO] [stdout] | [INFO] [stdout] 597 | while let Some(click) = self.clicks.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for click in self.clicks.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/widget.rs:609:9 [INFO] [stdout] | [INFO] [stdout] 609 | while let Some(event) = self.events.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for event in self.events.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/widget.rs:621:9 [INFO] [stdout] | [INFO] [stdout] 621 | while let Some(event) = self.events.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for event in self.events.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/widget.rs:633:9 [INFO] [stdout] | [INFO] [stdout] 633 | while let Some(drag) = self.drags.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for drag in self.drags.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/widget.rs:645:9 [INFO] [stdout] | [INFO] [stdout] 645 | while let Some(event) = self.events.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for event in self.events.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/widget.rs:657:9 [INFO] [stdout] | [INFO] [stdout] 657 | while let Some(event) = self.events.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for event in self.events.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `Mesh` [INFO] [stdout] --> src/mesh.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | / pub fn new() -> Self { [INFO] [stdout] 125 | | Self::with_glyph_cache_dimensions(DEFAULT_GLYPH_CACHE_DIMS) [INFO] [stdout] 126 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 122 + impl Default for Mesh { [INFO] [stdout] 123 + fn default() -> Self { [INFO] [stdout] 124 + Self::new() [INFO] [stdout] 125 + } [INFO] [stdout] 126 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this multiplication by -1 can be written more succinctly [INFO] [stdout] --> src/mesh.rs:203:30 [INFO] [stdout] | [INFO] [stdout] 203 | let vy = |y: Scalar| -1.0 * (y * dpi_factor / half_viewport_h) as f32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `-((y * dpi_factor / half_viewport_h) as f32)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_multiply [INFO] [stdout] = note: `#[warn(clippy::neg_multiply)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `capturing_keyboard` is never read [INFO] [stdout] --> src/input/widget.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct Events<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 44 | ui_events: input::global::UiEvents<'a>, [INFO] [stdout] 45 | capturing_keyboard: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Events` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cap` is never read [INFO] [stdout] --> src/widget/primitive/point_path.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Triangles { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 40 | cap: widget::line::Cap, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Triangles` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SocketLayouts` is never constructed [INFO] [stdout] --> src/widget/graph/mod.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | struct SocketLayouts { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: clamp-like pattern without using clamp function [INFO] [stdout] --> src/color.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / if f < 0.0 { [INFO] [stdout] 95 | | 0.0 [INFO] [stdout] 96 | | } else if f > 1.0 { [INFO] [stdout] 97 | | 1.0 [INFO] [stdout] 98 | | } else { [INFO] [stdout] 99 | | f [INFO] [stdout] 100 | | } [INFO] [stdout] | |_____^ help: replace with clamp: `f.clamp(0.0, 1.0)` [INFO] [stdout] | [INFO] [stdout] = note: clamp will panic if max < min, min.is_nan(), or max.is_nan() [INFO] [stdout] = note: clamp returns NaN if the input is NaN [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_clamp [INFO] [stdout] = note: `#[warn(clippy::manual_clamp)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true [INFO] [stdout] --> src/color.rs:329:1 [INFO] [stdout] | [INFO] [stdout] 329 | impl Into<[f32; 4]> for Rgba { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: `impl From for Foreign` is allowed by the orphan rules, for more information see [INFO] [stdout] https://doc.rust-lang.org/reference/items/implementations.html#trait-implementation-coherence [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#from_over_into [INFO] [stdout] = note: `#[warn(clippy::from_over_into)]` on by default [INFO] [stdout] help: replace the `Into` implementation with `From` [INFO] [stdout] | [INFO] [stdout] 329 ~ impl From for [f32; 4] { [INFO] [stdout] 330 ~ fn from(val: Rgba) -> Self { [INFO] [stdout] 331 ~ let Rgba(r, g, b, a) = val; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `daggy::NodeIndex` [INFO] [stdout] --> src/position/mod.rs:742:40 [INFO] [stdout] | [INFO] [stdout] 742 | self.x_dimension(Dimension::Of(idx.into(), None)) [INFO] [stdout] | ^^^^^^^^^^ help: consider removing `.into()`: `idx` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] = note: `#[warn(clippy::useless_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `daggy::NodeIndex` [INFO] [stdout] --> src/position/mod.rs:748:40 [INFO] [stdout] | [INFO] [stdout] 748 | self.x_dimension(Dimension::Of(idx.into(), Some(pad))) [INFO] [stdout] | ^^^^^^^^^^ help: consider removing `.into()`: `idx` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `daggy::NodeIndex` [INFO] [stdout] --> src/position/mod.rs:753:40 [INFO] [stdout] | [INFO] [stdout] 753 | self.y_dimension(Dimension::Of(idx.into(), None)) [INFO] [stdout] | ^^^^^^^^^^ help: consider removing `.into()`: `idx` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `daggy::NodeIndex` [INFO] [stdout] --> src/position/mod.rs:759:40 [INFO] [stdout] | [INFO] [stdout] 759 | self.y_dimension(Dimension::Of(idx.into(), Some(pad))) [INFO] [stdout] | ^^^^^^^^^^ help: consider removing `.into()`: `idx` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `daggy::NodeIndex` [INFO] [stdout] --> src/position/mod.rs:775:47 [INFO] [stdout] | [INFO] [stdout] 775 | self.x_dimension(Dimension::KidAreaOf(idx.into(), None)) [INFO] [stdout] | ^^^^^^^^^^ help: consider removing `.into()`: `idx` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `daggy::NodeIndex` [INFO] [stdout] --> src/position/mod.rs:781:47 [INFO] [stdout] | [INFO] [stdout] 781 | self.x_dimension(Dimension::KidAreaOf(idx.into(), Some(pad))) [INFO] [stdout] | ^^^^^^^^^^ help: consider removing `.into()`: `idx` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `daggy::NodeIndex` [INFO] [stdout] --> src/position/mod.rs:786:47 [INFO] [stdout] | [INFO] [stdout] 786 | self.y_dimension(Dimension::KidAreaOf(idx.into(), None)) [INFO] [stdout] | ^^^^^^^^^^ help: consider removing `.into()`: `idx` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `daggy::NodeIndex` [INFO] [stdout] --> src/position/mod.rs:792:47 [INFO] [stdout] | [INFO] [stdout] 792 | self.y_dimension(Dimension::KidAreaOf(idx.into(), Some(pad))) [INFO] [stdout] | ^^^^^^^^^^ help: consider removing `.into()`: `idx` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/event.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | //! `Ui`. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] = note: `#[warn(clippy::doc_lazy_continuation)]` on by default [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 6 | //! `Ui`. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/event.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | //! widgets. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 8 | //! widgets. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` can be confused for the standard trait method `std::iter::Iterator::next` [INFO] [stdout] --> src/render.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 295 | / pub fn next(&mut self) -> Option { [INFO] [stdout] 296 | | let Primitives { [INFO] [stdout] 297 | | ref mut crop_stack, [INFO] [stdout] 298 | | ref mut depth_order, [INFO] [stdout] ... | [INFO] [stdout] 635 | | None [INFO] [stdout] 636 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: consider implementing the trait `std::iter::Iterator` or choosing a less ambiguous method name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#should_implement_trait [INFO] [stdout] = note: `#[warn(clippy::should_implement_trait)]` 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/render.rs:352:44 [INFO] [stdout] | [INFO] [stdout] 352 | ... triangles: &triangles, [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `triangles` [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/render.rs:401:44 [INFO] [stdout] | [INFO] [stdout] 401 | ... triangles: &triangles, [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `triangles` [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/render.rs:419:44 [INFO] [stdout] | [INFO] [stdout] 419 | ... triangles: &triangles, [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `triangles` [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/render.rs:448:44 [INFO] [stdout] | [INFO] [stdout] 448 | ... triangles: &triangles, [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `triangles` [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/render.rs:469:44 [INFO] [stdout] | [INFO] [stdout] 469 | ... triangles: &triangles, [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `triangles` [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/render.rs:497:44 [INFO] [stdout] | [INFO] [stdout] 497 | ... triangles: &triangles, [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `triangles` [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/render.rs:515:44 [INFO] [stdout] | [INFO] [stdout] 515 | ... triangles: &triangles, [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `triangles` [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: you are using an explicit closure for copying elements [INFO] [stdout] --> src/render.rs:557:34 [INFO] [stdout] | [INFO] [stdout] 557 | let points = state.points.iter().map(|&t| t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider calling the dedicated `copied` method: `state.points.iter().copied()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_clone [INFO] [stdout] = note: `#[warn(clippy::map_clone)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` can be confused for the standard trait method `std::iter::Iterator::next` [INFO] [stdout] --> src/render.rs:787:5 [INFO] [stdout] | [INFO] [stdout] 787 | / pub fn next(&mut self) -> Option { [INFO] [stdout] 788 | | let WalkOwnedPrimitives { [INFO] [stdout] 789 | | ref mut primitives, [INFO] [stdout] 790 | | triangles_single_color, [INFO] [stdout] ... | [INFO] [stdout] 889 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: consider implementing the trait `std::iter::Iterator` or choosing a less ambiguous method name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#should_implement_trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/render.rs:910:5 [INFO] [stdout] | [INFO] [stdout] 910 | while let Some(&id) = depth_order.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for &id in depth_order.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/graph/algo.rs:65:45 [INFO] [stdout] | [INFO] [stdout] 65 | match (container.is_over.0)(&container, self.xy, theme) { [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `container` [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 pattern creates a reference to a reference [INFO] [stdout] --> src/graph/algo.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | if let Some(ref container) = graph.widget(idx) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 120 - if let Some(ref container) = graph.widget(idx) { [INFO] [stdout] 120 + if let Some(container) = graph.widget(idx) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `Map` [INFO] [stdout] --> src/text.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | / pub fn new() -> Self { [INFO] [stdout] 155 | | Map { [INFO] [stdout] 156 | | next_index: 0, [INFO] [stdout] 157 | | map: fnv::FnvHashMap::default(), [INFO] [stdout] 158 | | } [INFO] [stdout] 159 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 152 ~ impl Default for Map { [INFO] [stdout] 153 + fn default() -> Self { [INFO] [stdout] 154 + Self::new() [INFO] [stdout] 155 + } [INFO] [stdout] 156 + } [INFO] [stdout] 157 + [INFO] [stdout] 158 ~ impl Map { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/graph/algo.rs:232:34 [INFO] [stdout] | [INFO] [stdout] 232 | let is_not_graphic_kid = !g.graphic_parent(n).is_some(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `g.graphic_parent(n).is_none()` [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: redundant closure [INFO] [stdout] --> src/text.rs:204:41 [INFO] [stdout] | [INFO] [stdout] 204 | self.index_range.next().map(|i| Id(i)) [INFO] [stdout] | ^^^^^^^^^ help: replace the closure with the tuple struct itself: `Id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/graph/algo.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | /// `NO_OFFSET` will be returned, as child widgets that are graphical elements of their parents [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 284 | /// `NO_OFFSET` will be returned, as child widgets that are graphical elements of their parents [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you are using an explicit closure for copying elements [INFO] [stdout] --> src/text.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | self.keys.next().map(|&id| id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider calling the dedicated `copied` method: `self.keys.next().copied()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_clone [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/graph/algo.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | /// should not be affected by scrolling. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 285 | /// should not be affected by scrolling. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/graph/algo.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | /// be returned, as we know that our scroll offset has already been applied via the widget to which [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 287 | /// be returned, as we know that our scroll offset has already been applied via the widget to which [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/graph/algo.rs:288:5 [INFO] [stdout] | [INFO] [stdout] 288 | /// we are relatively positioned. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 288 | /// we are relatively positioned. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `DepthOrder` [INFO] [stdout] --> src/graph/depth_order.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / pub fn new() -> DepthOrder { [INFO] [stdout] 22 | | DepthOrder { [INFO] [stdout] 23 | | indices: Vec::new(), [INFO] [stdout] 24 | | floating: Vec::new(), [INFO] [stdout] 25 | | } [INFO] [stdout] 26 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] = note: `#[warn(clippy::new_without_default)]` on by default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 19 + impl Default for DepthOrder { [INFO] [stdout] 20 + fn default() -> Self { [INFO] [stdout] 21 + Self::new() [INFO] [stdout] 22 + } [INFO] [stdout] 23 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of a legacy numeric constant [INFO] [stdout] --> src/text.rs:412:25 [INFO] [stdout] | [INFO] [stdout] 412 | std::u32::MAX as usize [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] = note: `#[warn(clippy::legacy_numeric_constants)]` on by default [INFO] [stdout] help: use the associated constant instead [INFO] [stdout] | [INFO] [stdout] 412 - std::u32::MAX as usize [INFO] [stdout] 412 + u32::MAX as usize [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a tuple pattern where every element takes a reference [INFO] [stdout] --> src/graph/depth_order.rs:75:14 [INFO] [stdout] | [INFO] [stdout] 75 | (&Node::Widget(ref a), &Node::Widget(ref b)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference [INFO] [stdout] = note: `#[warn(clippy::needless_borrowed_reference)]` on by default [INFO] [stdout] help: try removing the `&` and `ref` parts [INFO] [stdout] | [INFO] [stdout] 75 - (&Node::Widget(ref a), &Node::Widget(ref b)) => { [INFO] [stdout] 75 + (Node::Widget(a), &Node::Widget(ref b)) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a tuple pattern where every element takes a reference [INFO] [stdout] --> src/graph/depth_order.rs:75:36 [INFO] [stdout] | [INFO] [stdout] 75 | (&Node::Widget(ref a), &Node::Widget(ref b)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference [INFO] [stdout] help: try removing the `&` and `ref` parts [INFO] [stdout] | [INFO] [stdout] 75 - (&Node::Widget(ref a), &Node::Widget(ref b)) => { [INFO] [stdout] 75 + (&Node::Widget(ref a), Node::Widget(b)) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/graph/depth_order.rs:113:40 [INFO] [stdout] | [INFO] [stdout] 113 | graph.depth_children(idx).iter(&graph).nodes().collect(); [INFO] [stdout] | ^^^^^^ help: change this to: `graph` [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: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/text.rs:505:23 [INFO] [stdout] | [INFO] [stdout] 505 | xys_per_line: XysPerLine< [INFO] [stdout] | _______________________^ [INFO] [stdout] 506 | | 'a, [INFO] [stdout] 507 | | std::iter::Zip< [INFO] [stdout] 508 | | std::iter::Cloned>, [INFO] [stdout] 509 | | super::line::Rects>>, [INFO] [stdout] 510 | | >, [INFO] [stdout] 511 | | >, [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] = note: `#[warn(clippy::type_complexity)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a tuple pattern where every element takes a reference [INFO] [stdout] --> src/graph/depth_order.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | if let (&Node::Widget(ref a), &Node::Widget(ref b)) = (&graph[a], &graph[b]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference [INFO] [stdout] help: try removing the `&` and `ref` parts [INFO] [stdout] | [INFO] [stdout] 118 - if let (&Node::Widget(ref a), &Node::Widget(ref b)) = (&graph[a], &graph[b]) { [INFO] [stdout] 118 + if let (Node::Widget(a), &Node::Widget(ref b)) = (&graph[a], &graph[b]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a tuple pattern where every element takes a reference [INFO] [stdout] --> src/graph/depth_order.rs:118:39 [INFO] [stdout] | [INFO] [stdout] 118 | if let (&Node::Widget(ref a), &Node::Widget(ref b)) = (&graph[a], &graph[b]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrowed_reference [INFO] [stdout] help: try removing the `&` and `ref` parts [INFO] [stdout] | [INFO] [stdout] 118 - if let (&Node::Widget(ref a), &Node::Widget(ref b)) = (&graph[a], &graph[b]) { [INFO] [stdout] 118 + if let (&Node::Widget(ref a), Node::Widget(b)) = (&graph[a], &graph[b]) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `Option.and_then(|x| Some(y))`, which is more succinctly expressed as `map(|x| y)` [INFO] [stdout] --> src/text.rs:550:17 [INFO] [stdout] | [INFO] [stdout] 550 | / line_infos.nth(line).and_then(|line_info| { [INFO] [stdout] 551 | | let line_count = line_info.char_range().count(); [INFO] [stdout] 552 | | let mut chars_rev = (&text[line_info.byte_range()]).chars().rev(); [INFO] [stdout] 553 | | if char != line_count { [INFO] [stdout] ... | [INFO] [stdout] 571 | | }) [INFO] [stdout] 572 | | }) [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map [INFO] [stdout] = note: `#[warn(clippy::bind_instead_of_map)]` on by default [INFO] [stdout] help: use `map` instead [INFO] [stdout] | [INFO] [stdout] 550 ~ line_infos.nth(line).map(|line_info| { [INFO] [stdout] 551 | let line_count = line_info.char_range().count(); [INFO] [stdout] ... [INFO] [stdout] 567 | } [INFO] [stdout] 568 ~ Index { [INFO] [stdout] 569 + line: line, [INFO] [stdout] 570 + char: new_char, [INFO] [stdout] 571 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression borrows a value the compiler would automatically borrow [INFO] [stdout] --> src/text.rs:552:41 [INFO] [stdout] | [INFO] [stdout] 552 | let mut chars_rev = (&text[line_info.byte_range()]).chars().rev(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `text[line_info.byte_range()]` [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: large size difference between variants [INFO] [stdout] --> src/graph/mod.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / pub enum Node { [INFO] [stdout] 119 | | /// A widget constructed by a user. [INFO] [stdout] 120 | | Widget(Container), [INFO] [stdout] | | ----------------- the largest variant contains at least 272 bytes [INFO] [stdout] 121 | | /// A placeholder node - used when reserving a place for a **Widget** within the **Graph**. [INFO] [stdout] ... | [INFO] [stdout] 125 | | Placeholder, [INFO] [stdout] | | ----------- the second-largest variant carries no data at all [INFO] [stdout] 126 | | } [INFO] [stdout] | |_^ the entire enum is at least 272 bytes [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant [INFO] [stdout] = note: `#[warn(clippy::large_enum_variant)]` on by default [INFO] [stdout] help: consider boxing the large fields or introducing indirection in some other way to reduce the total size of the enum [INFO] [stdout] | [INFO] [stdout] 120 - Widget(Container), [INFO] [stdout] 120 + Widget(Box), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression borrows a value the compiler would automatically borrow [INFO] [stdout] --> src/text.rs:597:37 [INFO] [stdout] | [INFO] [stdout] 597 | let mut chars = (&text[line_info.byte_range()]).chars(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `text[line_info.byte_range()]` [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: doc list item without indentation [INFO] [stdout] --> src/graph/mod.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | /// **Graph::pick_top_scrollable_widget**, it will instead return the index for *a*. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 145 | /// **Graph::pick_top_scrollable_widget**, it will instead return the index for *a*. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/graph/mod.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | /// scrollable, that is) will be skipped. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 147 | /// scrollable, that is) will be skipped. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let .. else` expression looks like `matches!` macro [INFO] [stdout] --> src/graph/mod.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | / if let Node::Widget(_) = *self { [INFO] [stdout] 194 | | true [INFO] [stdout] 195 | | } else { [INFO] [stdout] 196 | | false [INFO] [stdout] 197 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] = note: `#[warn(clippy::match_like_matches_macro)]` on by default [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 193 - if let Node::Widget(_) = *self { [INFO] [stdout] 194 - true [INFO] [stdout] 195 - } else { [INFO] [stdout] 196 - false [INFO] [stdout] 197 - } [INFO] [stdout] 193 + matches!(*self, Node::Widget(_)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `Graph` [INFO] [stdout] --> src/graph/mod.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | / pub fn new() -> Self { [INFO] [stdout] 204 | | Graph { dag: Dag::new() } [INFO] [stdout] 205 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 201 + impl Default for Graph { [INFO] [stdout] 202 + fn default() -> Self { [INFO] [stdout] 203 + Self::new() [INFO] [stdout] 204 + } [INFO] [stdout] 205 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (8/7) [INFO] [stdout] --> src/text.rs:754:5 [INFO] [stdout] | [INFO] [stdout] 754 | / pub fn xys_per_line_from_text<'a>( [INFO] [stdout] 755 | | text: &'a str, [INFO] [stdout] 756 | | line_infos: &'a [super::line::Info], [INFO] [stdout] 757 | | font: &'a super::Font, [INFO] [stdout] ... | [INFO] [stdout] 762 | | rect: Rect, [INFO] [stdout] 763 | | ) -> XysPerLineFromText<'a> { [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: using `Option.and_then(|x| Some(y))`, which is more succinctly expressed as `map(|x| y)` [INFO] [stdout] --> src/text.rs:823:9 [INFO] [stdout] | [INFO] [stdout] 823 | / xys_per_line_enumerated.next().and_then( [INFO] [stdout] 824 | | |(first_line_idx, (first_line_xs, first_line_y))| { [INFO] [stdout] 825 | | let mut closest_line = (first_line_idx, first_line_xs, first_line_y); [INFO] [stdout] 826 | | let mut closest_diff = (y_pos - first_line_y.middle()).abs(); [INFO] [stdout] ... | [INFO] [stdout] 842 | | }, [INFO] [stdout] 843 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map [INFO] [stdout] help: use `map` instead [INFO] [stdout] | [INFO] [stdout] 823 ~ xys_per_line_enumerated.next().map( [INFO] [stdout] 824 | |(first_line_idx, (first_line_xs, first_line_y))| { [INFO] [stdout] ... [INFO] [stdout] 840 | } [INFO] [stdout] 841 ~ closest_line [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `Option.and_then(|x| Some(y))`, which is more succinctly expressed as `map(|x| y)` [INFO] [stdout] --> src/text.rs:854:9 [INFO] [stdout] | [INFO] [stdout] 854 | / closest_line(xy[1], xys_per_line).and_then( [INFO] [stdout] 855 | | |(closest_line_idx, closest_line_xs, closest_line_y)| { [INFO] [stdout] 856 | | let (closest_char_idx, closest_x) = [INFO] [stdout] 857 | | closest_cursor_index_on_line(xy[0], closest_line_xs); [INFO] [stdout] ... | [INFO] [stdout] 864 | | }, [INFO] [stdout] 865 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map [INFO] [stdout] help: use `map` instead [INFO] [stdout] | [INFO] [stdout] 854 ~ closest_line(xy[1], xys_per_line).map( [INFO] [stdout] 855 | |(closest_line_idx, closest_line_xs, closest_line_y)| { [INFO] [stdout] ... [INFO] [stdout] 862 | let point = [closest_x, closest_line_y.middle()]; [INFO] [stdout] 863 ~ (index, point) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `map` over `inspect` [INFO] [stdout] --> src/text.rs:930:25 [INFO] [stdout] | [INFO] [stdout] 930 | self.next_x.map(|x| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_inspect [INFO] [stdout] = note: `#[warn(clippy::manual_inspect)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 930 ~ self.next_x.inspect(|&x| { [INFO] [stdout] 931 | self.next_x = self.layout.next().map(|g| { [INFO] [stdout] ... [INFO] [stdout] 934 | .unwrap_or_else(|| x + g.unpositioned().h_metrics().advance_width as Scalar) [INFO] [stdout] 935 ~ }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/text.rs:1249:9 [INFO] [stdout] | [INFO] [stdout] 1249 | /// exceeding the `max_width`. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 1249 | /// exceeding the `max_width`. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/text.rs:1251:9 [INFO] [stdout] | [INFO] [stdout] 1251 | /// if no whitespace appears for `max_width` characters. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 1251 | /// if no whitespace appears for `max_width` characters. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of a legacy numeric constant [INFO] [stdout] --> src/text.rs:1403:49 [INFO] [stdout] | [INFO] [stdout] 1403 | infos_wrapped_by(text, font, font_size, std::f64::MAX, no_wrap) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] help: use the associated constant instead [INFO] [stdout] | [INFO] [stdout] 1403 - infos_wrapped_by(text, font, font_size, std::f64::MAX, no_wrap) [INFO] [stdout] 1403 + infos_wrapped_by(text, font, font_size, f64::MAX, no_wrap) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/graph/mod.rs:853:14 [INFO] [stdout] | [INFO] [stdout] 853 | fn index<'a>(&'a self, id: widget::Id) -> &'a Node { [INFO] [stdout] | ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] = note: `#[warn(clippy::needless_lifetimes)]` on by default [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 853 - fn index<'a>(&'a self, id: widget::Id) -> &'a Node { [INFO] [stdout] 853 + fn index(&self, id: widget::Id) -> &Node { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/graph/mod.rs:859:18 [INFO] [stdout] | [INFO] [stdout] 859 | fn index_mut<'a>(&'a mut self, id: widget::Id) -> &'a mut Node { [INFO] [stdout] | ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 859 - fn index_mut<'a>(&'a mut self, id: widget::Id) -> &'a mut Node { [INFO] [stdout] 859 + fn index_mut(&mut self, id: widget::Id) -> &mut Node { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/graph/mod.rs:866:14 [INFO] [stdout] | [INFO] [stdout] 866 | fn index<'a>(&'a self, idx: EdgeIndex) -> &'a Edge { [INFO] [stdout] | ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 866 - fn index<'a>(&'a self, idx: EdgeIndex) -> &'a Edge { [INFO] [stdout] 866 + fn index(&self, idx: EdgeIndex) -> &Edge { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the following explicit lifetimes could be elided: 'a [INFO] [stdout] --> src/graph/mod.rs:872:18 [INFO] [stdout] | [INFO] [stdout] 872 | fn index_mut<'a>(&'a mut self, idx: EdgeIndex) -> &'a mut Edge { [INFO] [stdout] | ^^ ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes [INFO] [stdout] help: elide the lifetimes [INFO] [stdout] | [INFO] [stdout] 872 - fn index_mut<'a>(&'a mut self, idx: EdgeIndex) -> &'a mut Edge { [INFO] [stdout] 872 + fn index_mut(&mut self, idx: EdgeIndex) -> &mut Edge { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item overindented [INFO] [stdout] --> src/guide/mod.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | -[Back ends][3.2.1] [INFO] [stdout] | ^^^^^^^^ help: try using ` ` (6 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: match expression looks like `matches!` macro [INFO] [stdout] --> src/text.rs:1552:50 [INFO] [stdout] | [INFO] [stdout] 1552 | ... Some(last_break_) => match last_break_ { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 1553 | | ... Break::Newline { .. } => true, [INFO] [stdout] 1554 | | ... _ => false, [INFO] [stdout] 1555 | | ... }, [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 1552 - Some(last_break_) => match last_break_ { [INFO] [stdout] 1553 - Break::Newline { .. } => true, [INFO] [stdout] 1554 - _ => false, [INFO] [stdout] 1555 - }, [INFO] [stdout] 1552 + Some(last_break_) => matches!(last_break_, Break::Newline { .. }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `map` over `inspect` [INFO] [stdout] --> src/text.rs:1596:18 [INFO] [stdout] | [INFO] [stdout] 1596 | next.map(|line_rect| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_inspect [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 1596 ~ next.inspect(|line_rect| { [INFO] [stdout] 1597 | *next = infos.next().map(|info| { [INFO] [stdout] ... [INFO] [stdout] 1613 | Rect { x: x, y: y } [INFO] [stdout] 1614 ~ }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/text.rs:1627:13 [INFO] [stdout] | [INFO] [stdout] 1627 | while let Some(mut rects) = self.selected_char_rects_per_line.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for mut rects in self.selected_char_rects_per_line.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `Map` [INFO] [stdout] --> src/image.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / pub fn new() -> Self { [INFO] [stdout] 48 | | Map { [INFO] [stdout] 49 | | next_index: 0, [INFO] [stdout] 50 | | map: HashMap::::default(), [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 45 + impl Default for Map { [INFO] [stdout] 46 + fn default() -> Self { [INFO] [stdout] 47 + Self::new() [INFO] [stdout] 48 + } [INFO] [stdout] 49 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `default` can be confused for the standard trait method `std::default::Default::default` [INFO] [stdout] --> src/theme.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | / pub fn default() -> Theme { [INFO] [stdout] 89 | | Theme { [INFO] [stdout] 90 | | name: "Demo Theme".to_string(), [INFO] [stdout] 91 | | padding: Padding::none(), [INFO] [stdout] ... | [INFO] [stdout] 107 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: consider implementing the trait `std::default::Default` or choosing a less ambiguous method name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#should_implement_trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/image.rs:120:37 [INFO] [stdout] | [INFO] [stdout] 120 | self.index_range.next().map(|i| Id(i)) [INFO] [stdout] | ^^^^^^^^^ help: replace the closure with the tuple struct itself: `Id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] = note: `#[warn(clippy::redundant_closure)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `Global` [INFO] [stdout] --> src/input/global.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / pub fn new() -> Global { [INFO] [stdout] 43 | | Global { [INFO] [stdout] 44 | | events: Vec::new(), [INFO] [stdout] 45 | | start: input::State::new(), [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 40 + impl Default for Global { [INFO] [stdout] 41 + fn default() -> Self { [INFO] [stdout] 42 + Self::new() [INFO] [stdout] 43 + } [INFO] [stdout] 44 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/ui.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | /// rendering order). [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 33 | /// rendering order). [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/global.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | while let Some(event) = self.events.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for event in self.events.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] = note: `#[warn(clippy::while_let_on_iterator)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/ui.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | /// rendering order). [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 148 | /// rendering order). [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `State` [INFO] [stdout] --> src/input/state.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | / pub fn new() -> State { [INFO] [stdout] 45 | | State { [INFO] [stdout] 46 | | touch: fnv::FnvHashMap::default(), [INFO] [stdout] 47 | | mouse: Mouse::new(), [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 42 + impl Default for State { [INFO] [stdout] 43 + fn default() -> Self { [INFO] [stdout] 44 + Self::new() [INFO] [stdout] 45 + } [INFO] [stdout] 46 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/ui.rs:196:47 [INFO] [stdout] | [INFO] [stdout] 196 | theme: maybe_theme.unwrap_or_else(|| Theme::default()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Theme::default` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `Mouse` [INFO] [stdout] --> src/input/state.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | / pub fn new() -> Self { [INFO] [stdout] 144 | | Mouse { [INFO] [stdout] 145 | | buttons: ButtonMap::new(), [INFO] [stdout] 146 | | xy: [0.0, 0.0], [INFO] [stdout] 147 | | } [INFO] [stdout] 148 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 141 ~ impl Default for Mouse { [INFO] [stdout] 142 + fn default() -> Self { [INFO] [stdout] 143 + Self::new() [INFO] [stdout] 144 + } [INFO] [stdout] 145 + } [INFO] [stdout] 146 + [INFO] [stdout] 147 ~ impl Mouse { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/input/state.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | / match *self { [INFO] [stdout] 165 | | ButtonPosition::Down(_, _) => true, [INFO] [stdout] 166 | | _ => false, [INFO] [stdout] 167 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 164 - match *self { [INFO] [stdout] 165 - ButtonPosition::Down(_, _) => true, [INFO] [stdout] 166 - _ => false, [INFO] [stdout] 167 - } [INFO] [stdout] 164 + matches!(*self, ButtonPosition::Down(_, _)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/input/state.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | / match *self { [INFO] [stdout] 173 | | ButtonPosition::Up => true, [INFO] [stdout] 174 | | _ => false, [INFO] [stdout] 175 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 172 - match *self { [INFO] [stdout] 173 - ButtonPosition::Up => true, [INFO] [stdout] 174 - _ => false, [INFO] [stdout] 175 - } [INFO] [stdout] 172 + matches!(*self, ButtonPosition::Up) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `ButtonMap` [INFO] [stdout] --> src/input/state.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | / pub fn new() -> Self { [INFO] [stdout] 199 | | ButtonMap { [INFO] [stdout] 200 | | buttons: [ButtonPosition::Up; NUM_BUTTONS], [INFO] [stdout] 201 | | } [INFO] [stdout] 202 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 196 ~ impl Default for ButtonMap { [INFO] [stdout] 197 + fn default() -> Self { [INFO] [stdout] 198 + Self::new() [INFO] [stdout] 199 + } [INFO] [stdout] 200 + } [INFO] [stdout] 201 + [INFO] [stdout] 202 ~ impl ButtonMap { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant guard [INFO] [stdout] --> src/ui.rs:951:38 [INFO] [stdout] | [INFO] [stdout] 951 | Input::Focus(focused) if focused == true => self.needs_redraw(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_guards [INFO] [stdout] = note: `#[warn(clippy::redundant_guards)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 951 - Input::Focus(focused) if focused == true => self.needs_redraw(), [INFO] [stdout] 951 + Input::Focus(true) => self.needs_redraw(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/state.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | while let Some((idx, button_pos)) = self.buttons.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for (idx, button_pos) in self.buttons.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `ButtonMap` which implements the `Copy` trait [INFO] [stdout] --> src/ui.rs:654:39 [INFO] [stdout] | [INFO] [stdout] 654 | let buttons = self.global_input.current.mouse.buttons.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.global_input.current.mouse.buttons` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/widget.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | while let Some(ui_event) = self.ui_events.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for ui_event in self.ui_events.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary map of the identity function [INFO] [stdout] --> src/ui.rs:918:43 [INFO] [stdout] | [INFO] [stdout] 918 | .remove(&touch.id) [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 919 | | .map(|touch| touch); [INFO] [stdout] | |___________________________________________^ help: remove the call to `map` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_identity [INFO] [stdout] = note: `#[warn(clippy::map_identity)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: equality checks against true are unnecessary [INFO] [stdout] --> src/ui.rs:951:38 [INFO] [stdout] | [INFO] [stdout] 951 | Input::Focus(focused) if focused == true => self.needs_redraw(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `focused` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stdout] = note: `#[warn(clippy::bool_comparison)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `daggy::NodeIndex` [INFO] [stdout] --> src/ui.rs:1028:30 [INFO] [stdout] | [INFO] [stdout] 1028 | .or(Some(ui.window.into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `ui.window` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `daggy::NodeIndex` [INFO] [stdout] --> src/ui.rs:1050:30 [INFO] [stdout] | [INFO] [stdout] 1050 | .or(Some(ui.window.into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `ui.window` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `daggy::NodeIndex` [INFO] [stdout] --> src/ui.rs:1066:36 [INFO] [stdout] | [INFO] [stdout] 1066 | .unwrap_or(ui.window.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `ui.window` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Motion` which implements the `Copy` trait [INFO] [stdout] --> src/input/widget.rs:443:33 [INFO] [stdout] | [INFO] [stdout] 443 | return Some(motion.clone().into()) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try dereferencing it: `(*motion)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] = note: `#[warn(clippy::clone_on_copy)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Scroll` which implements the `Copy` trait [INFO] [stdout] --> src/input/widget.rs:475:33 [INFO] [stdout] | [INFO] [stdout] 475 | return Some(scroll.clone().into()) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try dereferencing it: `(*scroll)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/widget.rs:489:9 [INFO] [stdout] | [INFO] [stdout] 489 | while let Some(event) = self.events.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for event in self.events.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `daggy::NodeIndex` [INFO] [stdout] --> src/ui.rs:1176:51 [INFO] [stdout] | [INFO] [stdout] 1176 | ui_cell.ui.maybe_current_parent_id = Some(ui_cell.window.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `ui_cell.window` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/widget.rs:501:9 [INFO] [stdout] | [INFO] [stdout] 501 | while let Some(press) = self.presses.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for press in self.presses.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/widget.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | while let Some(mouse_press) = self.mouse_presses.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for mouse_press in self.mouse_presses.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/widget.rs:525:9 [INFO] [stdout] | [INFO] [stdout] 525 | while let Some(press) = self.presses.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for press in self.presses.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/widget.rs:537:9 [INFO] [stdout] | [INFO] [stdout] 537 | while let Some(event) = self.events.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for event in self.events.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/widget.rs:549:9 [INFO] [stdout] | [INFO] [stdout] 549 | while let Some(release) = self.releases.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for release in self.releases.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/widget.rs:561:9 [INFO] [stdout] | [INFO] [stdout] 561 | while let Some(mouse_release) = self.mouse_releases.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for mouse_release in self.mouse_releases.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/widget.rs:573:9 [INFO] [stdout] | [INFO] [stdout] 573 | while let Some(release) = self.releases.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for release in self.releases.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/widget.rs:585:9 [INFO] [stdout] | [INFO] [stdout] 585 | while let Some(event) = self.events.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for event in self.events.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/widget.rs:597:9 [INFO] [stdout] | [INFO] [stdout] 597 | while let Some(click) = self.clicks.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for click in self.clicks.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/widget.rs:609:9 [INFO] [stdout] | [INFO] [stdout] 609 | while let Some(event) = self.events.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for event in self.events.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/widget.rs:621:9 [INFO] [stdout] | [INFO] [stdout] 621 | while let Some(event) = self.events.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for event in self.events.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/ui.rs:1398:9 [INFO] [stdout] | [INFO] [stdout] 1398 | &self.ui [INFO] [stdout] | ^^^^^^^^ help: change this to: `self.ui` [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 loop could be written as a `for` loop [INFO] [stdout] --> src/input/widget.rs:633:9 [INFO] [stdout] | [INFO] [stdout] 633 | while let Some(drag) = self.drags.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for drag in self.drags.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/widget.rs:645:9 [INFO] [stdout] | [INFO] [stdout] 645 | while let Some(event) = self.events.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for event in self.events.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/input/widget.rs:657:9 [INFO] [stdout] | [INFO] [stdout] 657 | while let Some(event) = self.events.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for event in self.events.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `daggy::NodeIndex` [INFO] [stdout] --> src/ui.rs:1449:20 [INFO] [stdout] | [INFO] [stdout] 1449 | .unwrap_or(ui.window.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `ui.window` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: explicit call to `.into_iter()` in function argument accepting `IntoIterator` [INFO] [stdout] --> src/utils.rs:253:35 [INFO] [stdout] | [INFO] [stdout] 253 | match iter_diff(elems.iter(), new_elems.into_iter()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: this parameter accepts any `IntoIterator`, so you don't need to call `.into_iter()` [INFO] [stdout] --> src/utils.rs:227:8 [INFO] [stdout] | [INFO] [stdout] 227 | B: IntoIterator, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] help: consider removing the `.into_iter()` [INFO] [stdout] | [INFO] [stdout] 253 - match iter_diff(elems.iter(), new_elems.into_iter()) { [INFO] [stdout] 253 + match iter_diff(elems.iter(), new_elems) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessarily eager cloning of iterator items [INFO] [stdout] --> src/utils.rs:261:24 [INFO] [stdout] | [INFO] [stdout] 261 | Cow::Owned(elems.iter().cloned().take(num_new_elems).collect()) [INFO] [stdout] | ^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | help: try: `.take(num_new_elems).cloned()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#iter_overeager_cloned [INFO] [stdout] = note: `#[warn(clippy::iter_overeager_cloned)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `Mesh` [INFO] [stdout] --> src/mesh.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | / pub fn new() -> Self { [INFO] [stdout] 125 | | Self::with_glyph_cache_dimensions(DEFAULT_GLYPH_CACHE_DIMS) [INFO] [stdout] 126 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 122 + impl Default for Mesh { [INFO] [stdout] 123 + fn default() -> Self { [INFO] [stdout] 124 + Self::new() [INFO] [stdout] 125 + } [INFO] [stdout] 126 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this multiplication by -1 can be written more succinctly [INFO] [stdout] --> src/mesh.rs:203:30 [INFO] [stdout] | [INFO] [stdout] 203 | let vy = |y: Scalar| -1.0 * (y * dpi_factor / half_viewport_h) as f32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `-((y * dpi_factor / half_viewport_h) as f32)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#neg_multiply [INFO] [stdout] = note: `#[warn(clippy::neg_multiply)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/widget/builder.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | /// preceding `pub` visiblity token is optional. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 132 | /// preceding `pub` visiblity token is optional. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/widget/builder.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | /// `Some(*)` is optional, and can be removed for cases where the field itself is a normal type and [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 135 | /// `Some(*)` is optional, and can be removed for cases where the field itself is a normal type and [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/widget/builder.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | /// not an `Option` type. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 136 | /// not an `Option` type. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` can be confused for the standard trait method `std::iter::Iterator::next` [INFO] [stdout] --> src/widget/id.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | / pub fn next(&mut self) -> Id { [INFO] [stdout] 53 | | self.widget_graph.add_placeholder() [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: consider implementing the trait `std::iter::Iterator` or choosing a less ambiguous method name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#should_implement_trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `List` [INFO] [stdout] --> src/widget/id.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | / pub fn new() -> Self { [INFO] [stdout] 60 | | List(Vec::new()) [INFO] [stdout] 61 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 57 + impl Default for List { [INFO] [stdout] 58 + fn default() -> Self { [INFO] [stdout] 59 + Self::new() [INFO] [stdout] 60 + } [INFO] [stdout] 61 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `ref` on an entire `let` pattern is discouraged, take a reference with `&` instead [INFO] [stdout] --> src/widget/id.rs:372:13 [INFO] [stdout] | [INFO] [stdout] 372 | let ref mut ui = ui.set_widgets(); [INFO] [stdout] | ----^^^^^^^^^^-------------------- help: try: `let ui = &mut ui.set_widgets();` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#toplevel_ref_arg [INFO] [stdout] = note: `#[warn(clippy::toplevel_ref_arg)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `Scroll` [INFO] [stdout] --> src/widget/scroll.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | / pub fn new() -> Self { [INFO] [stdout] 68 | | Scroll { [INFO] [stdout] 69 | | maybe_initial_alignment: None, [INFO] [stdout] 70 | | } [INFO] [stdout] 71 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 65 + impl Default for Scroll { [INFO] [stdout] 66 + fn default() -> Self { [INFO] [stdout] 67 + Self::new() [INFO] [stdout] 68 + } [INFO] [stdout] 69 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/widget/scroll.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | /// viewed. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 107 | /// viewed. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/widget/scroll.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | /// original, un-scrolled positions. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 109 | /// original, un-scrolled positions. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/widget/scroll.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | /// original, un-scrolled positions. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 111 | /// original, un-scrolled positions. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/widget/primitive/image.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | /// unnecessarily [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 52 | /// unnecessarily [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/widget/primitive/image.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | /// into the `Ui`'s widget graph (which also requires casting types). [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 54 | /// into the `Ui`'s widget graph (which also requires casting types). [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Style` which implements the `Copy` trait [INFO] [stdout] --> src/widget/primitive/image.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | self.style.clone() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `Style` [INFO] [stdout] --> src/widget/primitive/line.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | / pub fn new() -> Self { [INFO] [stdout] 161 | | Style { [INFO] [stdout] 162 | | maybe_pattern: None, [INFO] [stdout] 163 | | maybe_color: None, [INFO] [stdout] ... | [INFO] [stdout] 167 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 158 + impl Default for Style { [INFO] [stdout] 159 + fn default() -> Self { [INFO] [stdout] 160 + Self::new() [INFO] [stdout] 161 + } [INFO] [stdout] 162 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Style` which implements the `Copy` trait [INFO] [stdout] --> src/widget/primitive/line.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | self.style.clone() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Style` which implements the `Copy` trait [INFO] [stdout] --> src/widget/primitive/point_path.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | self.style.clone() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` expression can be replaced with `?` [INFO] [stdout] --> src/widget/primitive/point_path.rs:230:17 [INFO] [stdout] | [INFO] [stdout] 230 | let first = match points.next() { [INFO] [stdout] | _________________^ [INFO] [stdout] 231 | | Some(point) => point, [INFO] [stdout] 232 | | None => return None, [INFO] [stdout] 233 | | }; [INFO] [stdout] | |_____^ help: try instead: `points.next()?` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark [INFO] [stdout] = note: `#[warn(clippy::question_mark)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `daggy::NodeIndex` [INFO] [stdout] --> src/position/mod.rs:742:40 [INFO] [stdout] | [INFO] [stdout] 742 | self.x_dimension(Dimension::Of(idx.into(), None)) [INFO] [stdout] | ^^^^^^^^^^ help: consider removing `.into()`: `idx` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] = note: `#[warn(clippy::useless_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `daggy::NodeIndex` [INFO] [stdout] --> src/position/mod.rs:748:40 [INFO] [stdout] | [INFO] [stdout] 748 | self.x_dimension(Dimension::Of(idx.into(), Some(pad))) [INFO] [stdout] | ^^^^^^^^^^ help: consider removing `.into()`: `idx` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `daggy::NodeIndex` [INFO] [stdout] --> src/position/mod.rs:753:40 [INFO] [stdout] | [INFO] [stdout] 753 | self.y_dimension(Dimension::Of(idx.into(), None)) [INFO] [stdout] | ^^^^^^^^^^ help: consider removing `.into()`: `idx` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `daggy::NodeIndex` [INFO] [stdout] --> src/position/mod.rs:759:40 [INFO] [stdout] | [INFO] [stdout] 759 | self.y_dimension(Dimension::Of(idx.into(), Some(pad))) [INFO] [stdout] | ^^^^^^^^^^ help: consider removing `.into()`: `idx` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Style` which implements the `Copy` trait [INFO] [stdout] --> src/widget/primitive/shape/oval.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | self.style.clone() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `daggy::NodeIndex` [INFO] [stdout] --> src/position/mod.rs:775:47 [INFO] [stdout] | [INFO] [stdout] 775 | self.x_dimension(Dimension::KidAreaOf(idx.into(), None)) [INFO] [stdout] | ^^^^^^^^^^ help: consider removing `.into()`: `idx` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `daggy::NodeIndex` [INFO] [stdout] --> src/position/mod.rs:781:47 [INFO] [stdout] | [INFO] [stdout] 781 | self.x_dimension(Dimension::KidAreaOf(idx.into(), Some(pad))) [INFO] [stdout] | ^^^^^^^^^^ help: consider removing `.into()`: `idx` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `daggy::NodeIndex` [INFO] [stdout] --> src/position/mod.rs:786:47 [INFO] [stdout] | [INFO] [stdout] 786 | self.y_dimension(Dimension::KidAreaOf(idx.into(), None)) [INFO] [stdout] | ^^^^^^^^^^ help: consider removing `.into()`: `idx` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `daggy::NodeIndex` [INFO] [stdout] --> src/position/mod.rs:792:47 [INFO] [stdout] | [INFO] [stdout] 792 | self.y_dimension(Dimension::KidAreaOf(idx.into(), Some(pad))) [INFO] [stdout] | ^^^^^^^^^^ help: consider removing `.into()`: `idx` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` can be confused for the standard trait method `std::iter::Iterator::next` [INFO] [stdout] --> src/render.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 295 | / pub fn next(&mut self) -> Option { [INFO] [stdout] 296 | | let Primitives { [INFO] [stdout] 297 | | ref mut crop_stack, [INFO] [stdout] 298 | | ref mut depth_order, [INFO] [stdout] ... | [INFO] [stdout] 635 | | None [INFO] [stdout] 636 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: consider implementing the trait `std::iter::Iterator` or choosing a less ambiguous method name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#should_implement_trait [INFO] [stdout] = note: `#[warn(clippy::should_implement_trait)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Style` which implements the `Copy` trait [INFO] [stdout] --> src/widget/primitive/shape/polygon.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | self.style.clone() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/render.rs:352:44 [INFO] [stdout] | [INFO] [stdout] 352 | ... triangles: &triangles, [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `triangles` [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/render.rs:401:44 [INFO] [stdout] | [INFO] [stdout] 401 | ... triangles: &triangles, [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `triangles` [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 `match` expression can be replaced with `?` [INFO] [stdout] --> src/widget/primitive/shape/polygon.rs:291:17 [INFO] [stdout] | [INFO] [stdout] 291 | let first = match points.next() { [INFO] [stdout] | _________________^ [INFO] [stdout] 292 | | Some(p) => p, [INFO] [stdout] 293 | | None => return None, [INFO] [stdout] 294 | | }; [INFO] [stdout] | |_____^ help: try instead: `points.next()?` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `match` expression can be replaced with `?` [INFO] [stdout] --> src/widget/primitive/shape/polygon.rs:295:16 [INFO] [stdout] | [INFO] [stdout] 295 | let prev = match points.next() { [INFO] [stdout] | ________________^ [INFO] [stdout] 296 | | Some(p) => p, [INFO] [stdout] 297 | | None => return None, [INFO] [stdout] 298 | | }; [INFO] [stdout] | |_____^ help: try instead: `points.next()?` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/render.rs:419:44 [INFO] [stdout] | [INFO] [stdout] 419 | ... triangles: &triangles, [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `triangles` [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/render.rs:448:44 [INFO] [stdout] | [INFO] [stdout] 448 | ... triangles: &triangles, [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `triangles` [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/render.rs:469:44 [INFO] [stdout] | [INFO] [stdout] 469 | ... triangles: &triangles, [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `triangles` [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/render.rs:497:44 [INFO] [stdout] | [INFO] [stdout] 497 | ... triangles: &triangles, [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `triangles` [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/render.rs:515:44 [INFO] [stdout] | [INFO] [stdout] 515 | ... triangles: &triangles, [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `triangles` [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: using `clone` on type `Style` which implements the `Copy` trait [INFO] [stdout] --> src/widget/primitive/shape/rectangle.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | self.style.clone() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you are using an explicit closure for copying elements [INFO] [stdout] --> src/render.rs:557:34 [INFO] [stdout] | [INFO] [stdout] 557 | let points = state.points.iter().map(|&t| t); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider calling the dedicated `copied` method: `state.points.iter().copied()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_clone [INFO] [stdout] = note: `#[warn(clippy::map_clone)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` can be confused for the standard trait method `std::ops::Add::add` [INFO] [stdout] --> src/widget/primitive/shape/triangles.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | / pub fn add(self, amount: Point) -> Self { [INFO] [stdout] 104 | | let a = self[0].add(amount); [INFO] [stdout] 105 | | let b = self[1].add(amount); [INFO] [stdout] 106 | | let c = self[2].add(amount); [INFO] [stdout] 107 | | Triangle([a, b, c]) [INFO] [stdout] 108 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: consider implementing the trait `std::ops::Add` or choosing a less ambiguous method name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#should_implement_trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` can be confused for the standard trait method `std::iter::Iterator::next` [INFO] [stdout] --> src/render.rs:787:5 [INFO] [stdout] | [INFO] [stdout] 787 | / pub fn next(&mut self) -> Option { [INFO] [stdout] 788 | | let WalkOwnedPrimitives { [INFO] [stdout] 789 | | ref mut primitives, [INFO] [stdout] 790 | | triangles_single_color, [INFO] [stdout] ... | [INFO] [stdout] 889 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: consider implementing the trait `std::iter::Iterator` or choosing a less ambiguous method name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#should_implement_trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true [INFO] [stdout] --> src/widget/primitive/shape/triangles.rs:156:1 [INFO] [stdout] | [INFO] [stdout] 156 | / impl Into<[V; 3]> for Triangle [INFO] [stdout] 157 | | where [INFO] [stdout] 158 | | V: Vertex, [INFO] [stdout] ... | [INFO] [stdout] 163 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: `impl From for Foreign` is allowed by the orphan rules, for more information see [INFO] [stdout] https://doc.rust-lang.org/reference/items/implementations.html#trait-implementation-coherence [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#from_over_into [INFO] [stdout] help: replace the `Into` implementation with `From>` [INFO] [stdout] | [INFO] [stdout] 156 ~ impl From> for [V; 3] [INFO] [stdout] 157 | where [INFO] [stdout] 158 | V: Vertex, [INFO] [stdout] 159 | { [INFO] [stdout] 160 ~ fn from(val: Triangle) -> Self { [INFO] [stdout] 161 ~ val.0 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true [INFO] [stdout] --> src/widget/primitive/shape/triangles.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | / impl Into<(V, V, V)> for Triangle [INFO] [stdout] 166 | | where [INFO] [stdout] 167 | | V: Vertex, [INFO] [stdout] ... | [INFO] [stdout] 172 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: `impl From for Foreign` is allowed by the orphan rules, for more information see [INFO] [stdout] https://doc.rust-lang.org/reference/items/implementations.html#trait-implementation-coherence [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#from_over_into [INFO] [stdout] help: replace the `Into` implementation with `From>` [INFO] [stdout] | [INFO] [stdout] 165 ~ impl From> for (V, V, V) [INFO] [stdout] 166 | where [INFO] [stdout] 167 | V: Vertex, [INFO] [stdout] 168 | { [INFO] [stdout] 169 ~ fn from(val: Triangle) -> Self { [INFO] [stdout] 170 ~ (val[0], val[1], val[2]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you are using an explicit closure for copying elements [INFO] [stdout] --> src/widget/primitive/shape/triangles.rs:232:21 [INFO] [stdout] | [INFO] [stdout] 232 | let v = self.triangle.get(self.index).map(|&v| v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider calling the dedicated `copied` method: `self.triangle.get(self.index).copied()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_clone [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/render.rs:910:5 [INFO] [stdout] | [INFO] [stdout] 910 | while let Some(&id) = depth_order.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for &id in depth_order.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `Map` [INFO] [stdout] --> src/text.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | / pub fn new() -> Self { [INFO] [stdout] 155 | | Map { [INFO] [stdout] 156 | | next_index: 0, [INFO] [stdout] 157 | | map: fnv::FnvHashMap::default(), [INFO] [stdout] 158 | | } [INFO] [stdout] 159 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 152 ~ impl Default for Map { [INFO] [stdout] 153 + fn default() -> Self { [INFO] [stdout] 154 + Self::new() [INFO] [stdout] 155 + } [INFO] [stdout] 156 + } [INFO] [stdout] 157 + [INFO] [stdout] 158 ~ impl Map { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/text.rs:204:41 [INFO] [stdout] | [INFO] [stdout] 204 | self.index_range.next().map(|i| Id(i)) [INFO] [stdout] | ^^^^^^^^^ help: replace the closure with the tuple struct itself: `Id` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you are using an explicit closure for copying elements [INFO] [stdout] --> src/text.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | self.keys.next().map(|&id| id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider calling the dedicated `copied` method: `self.keys.next().copied()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_clone [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of a legacy numeric constant [INFO] [stdout] --> src/text.rs:412:25 [INFO] [stdout] | [INFO] [stdout] 412 | std::u32::MAX as usize [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] = note: `#[warn(clippy::legacy_numeric_constants)]` on by default [INFO] [stdout] help: use the associated constant instead [INFO] [stdout] | [INFO] [stdout] 412 - std::u32::MAX as usize [INFO] [stdout] 412 + u32::MAX as usize [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/text.rs:505:23 [INFO] [stdout] | [INFO] [stdout] 505 | xys_per_line: XysPerLine< [INFO] [stdout] | _______________________^ [INFO] [stdout] 506 | | 'a, [INFO] [stdout] 507 | | std::iter::Zip< [INFO] [stdout] 508 | | std::iter::Cloned>, [INFO] [stdout] 509 | | super::line::Rects>>, [INFO] [stdout] 510 | | >, [INFO] [stdout] 511 | | >, [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] = note: `#[warn(clippy::type_complexity)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `Option.and_then(|x| Some(y))`, which is more succinctly expressed as `map(|x| y)` [INFO] [stdout] --> src/text.rs:550:17 [INFO] [stdout] | [INFO] [stdout] 550 | / line_infos.nth(line).and_then(|line_info| { [INFO] [stdout] 551 | | let line_count = line_info.char_range().count(); [INFO] [stdout] 552 | | let mut chars_rev = (&text[line_info.byte_range()]).chars().rev(); [INFO] [stdout] 553 | | if char != line_count { [INFO] [stdout] ... | [INFO] [stdout] 571 | | }) [INFO] [stdout] 572 | | }) [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map [INFO] [stdout] = note: `#[warn(clippy::bind_instead_of_map)]` on by default [INFO] [stdout] help: use `map` instead [INFO] [stdout] | [INFO] [stdout] 550 ~ line_infos.nth(line).map(|line_info| { [INFO] [stdout] 551 | let line_count = line_info.char_range().count(); [INFO] [stdout] ... [INFO] [stdout] 567 | } [INFO] [stdout] 568 ~ Index { [INFO] [stdout] 569 + line: line, [INFO] [stdout] 570 + char: new_char, [INFO] [stdout] 571 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression borrows a value the compiler would automatically borrow [INFO] [stdout] --> src/text.rs:552:41 [INFO] [stdout] | [INFO] [stdout] 552 | let mut chars_rev = (&text[line_info.byte_range()]).chars().rev(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `text[line_info.byte_range()]` [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 borrows a value the compiler would automatically borrow [INFO] [stdout] --> src/text.rs:597:37 [INFO] [stdout] | [INFO] [stdout] 597 | let mut chars = (&text[line_info.byte_range()]).chars(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `text[line_info.byte_range()]` [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: using `clone` on type `Style` which implements the `Copy` trait [INFO] [stdout] --> src/widget/primitive/text.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | self.style.clone() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (8/7) [INFO] [stdout] --> src/text.rs:754:5 [INFO] [stdout] | [INFO] [stdout] 754 | / pub fn xys_per_line_from_text<'a>( [INFO] [stdout] 755 | | text: &'a str, [INFO] [stdout] 756 | | line_infos: &'a [super::line::Info], [INFO] [stdout] 757 | | font: &'a super::Font, [INFO] [stdout] ... | [INFO] [stdout] 762 | | rect: Rect, [INFO] [stdout] 763 | | ) -> XysPerLineFromText<'a> { [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: using `Option.and_then(|x| Some(y))`, which is more succinctly expressed as `map(|x| y)` [INFO] [stdout] --> src/text.rs:823:9 [INFO] [stdout] | [INFO] [stdout] 823 | / xys_per_line_enumerated.next().and_then( [INFO] [stdout] 824 | | |(first_line_idx, (first_line_xs, first_line_y))| { [INFO] [stdout] 825 | | let mut closest_line = (first_line_idx, first_line_xs, first_line_y); [INFO] [stdout] 826 | | let mut closest_diff = (y_pos - first_line_y.middle()).abs(); [INFO] [stdout] ... | [INFO] [stdout] 842 | | }, [INFO] [stdout] 843 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map [INFO] [stdout] help: use `map` instead [INFO] [stdout] | [INFO] [stdout] 823 ~ xys_per_line_enumerated.next().map( [INFO] [stdout] 824 | |(first_line_idx, (first_line_xs, first_line_y))| { [INFO] [stdout] ... [INFO] [stdout] 840 | } [INFO] [stdout] 841 ~ closest_line [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `Option.and_then(|x| Some(y))`, which is more succinctly expressed as `map(|x| y)` [INFO] [stdout] --> src/text.rs:854:9 [INFO] [stdout] | [INFO] [stdout] 854 | / closest_line(xy[1], xys_per_line).and_then( [INFO] [stdout] 855 | | |(closest_line_idx, closest_line_xs, closest_line_y)| { [INFO] [stdout] 856 | | let (closest_char_idx, closest_x) = [INFO] [stdout] 857 | | closest_cursor_index_on_line(xy[0], closest_line_xs); [INFO] [stdout] ... | [INFO] [stdout] 864 | | }, [INFO] [stdout] 865 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map [INFO] [stdout] help: use `map` instead [INFO] [stdout] | [INFO] [stdout] 854 ~ closest_line(xy[1], xys_per_line).map( [INFO] [stdout] 855 | |(closest_line_idx, closest_line_xs, closest_line_y)| { [INFO] [stdout] ... [INFO] [stdout] 862 | let point = [closest_x, closest_line_y.middle()]; [INFO] [stdout] 863 ~ (index, point) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `map` over `inspect` [INFO] [stdout] --> src/text.rs:930:25 [INFO] [stdout] | [INFO] [stdout] 930 | self.next_x.map(|x| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_inspect [INFO] [stdout] = note: `#[warn(clippy::manual_inspect)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 930 ~ self.next_x.inspect(|&x| { [INFO] [stdout] 931 | self.next_x = self.layout.next().map(|g| { [INFO] [stdout] ... [INFO] [stdout] 934 | .unwrap_or_else(|| x + g.unpositioned().h_metrics().advance_width as Scalar) [INFO] [stdout] 935 ~ }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Style` which implements the `Copy` trait [INFO] [stdout] --> src/widget/bordered_rectangle.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | self.style.clone() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/text.rs:1249:9 [INFO] [stdout] | [INFO] [stdout] 1249 | /// exceeding the `max_width`. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 1249 | /// exceeding the `max_width`. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/text.rs:1251:9 [INFO] [stdout] | [INFO] [stdout] 1251 | /// if no whitespace appears for `max_width` characters. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 1251 | /// if no whitespace appears for `max_width` characters. [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of a legacy numeric constant [INFO] [stdout] --> src/text.rs:1403:49 [INFO] [stdout] | [INFO] [stdout] 1403 | infos_wrapped_by(text, font, font_size, std::f64::MAX, no_wrap) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants [INFO] [stdout] help: use the associated constant instead [INFO] [stdout] | [INFO] [stdout] 1403 - infos_wrapped_by(text, font, font_size, std::f64::MAX, no_wrap) [INFO] [stdout] 1403 + infos_wrapped_by(text, font, font_size, f64::MAX, no_wrap) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: match expression looks like `matches!` macro [INFO] [stdout] --> src/text.rs:1552:50 [INFO] [stdout] | [INFO] [stdout] 1552 | ... Some(last_break_) => match last_break_ { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 1553 | | ... Break::Newline { .. } => true, [INFO] [stdout] 1554 | | ... _ => false, [INFO] [stdout] 1555 | | ... }, [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro [INFO] [stdout] help: use `matches!` directly [INFO] [stdout] | [INFO] [stdout] 1552 - Some(last_break_) => match last_break_ { [INFO] [stdout] 1553 - Break::Newline { .. } => true, [INFO] [stdout] 1554 - _ => false, [INFO] [stdout] 1555 - }, [INFO] [stdout] 1552 + Some(last_break_) => matches!(last_break_, Break::Newline { .. }), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `map` over `inspect` [INFO] [stdout] --> src/text.rs:1596:18 [INFO] [stdout] | [INFO] [stdout] 1596 | next.map(|line_rect| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_inspect [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 1596 ~ next.inspect(|line_rect| { [INFO] [stdout] 1597 | *next = infos.next().map(|info| { [INFO] [stdout] ... [INFO] [stdout] 1613 | Rect { x: x, y: y } [INFO] [stdout] 1614 ~ }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this loop could be written as a `for` loop [INFO] [stdout] --> src/text.rs:1627:13 [INFO] [stdout] | [INFO] [stdout] 1627 | while let Some(mut rects) = self.selected_char_rects_per_line.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `for mut rects in self.selected_char_rects_per_line.by_ref()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#while_let_on_iterator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `Button<'a, Flat>` [INFO] [stdout] --> src/widget/button.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | / pub fn new() -> Self { [INFO] [stdout] 200 | | Self::new_internal(Flat::default()) [INFO] [stdout] 201 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 197 + impl<'a> Default for Button<'a, Flat> { [INFO] [stdout] 198 + fn default() -> Self { [INFO] [stdout] 199 + Self::new() [INFO] [stdout] 200 + } [INFO] [stdout] 201 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `default` can be confused for the standard trait method `std::default::Default::default` [INFO] [stdout] --> src/theme.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | / pub fn default() -> Theme { [INFO] [stdout] 89 | | Theme { [INFO] [stdout] 90 | | name: "Demo Theme".to_string(), [INFO] [stdout] 91 | | padding: Padding::none(), [INFO] [stdout] ... | [INFO] [stdout] 107 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: consider implementing the trait `std::default::Default` or choosing a less ambiguous method name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#should_implement_trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Style` which implements the `Copy` trait [INFO] [stdout] --> src/widget/button.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | self.style.clone() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Style` which implements the `Copy` trait [INFO] [stdout] --> src/widget/button.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | self.style.clone() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/ui.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | /// rendering order). [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 33 | /// rendering order). [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/ui.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | /// rendering order). [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 148 | /// rendering order). [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/ui.rs:196:47 [INFO] [stdout] | [INFO] [stdout] 196 | theme: maybe_theme.unwrap_or_else(|| Theme::default()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: replace the closure with the associated function itself: `Theme::default` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant guard [INFO] [stdout] --> src/ui.rs:951:38 [INFO] [stdout] | [INFO] [stdout] 951 | Input::Focus(focused) if focused == true => self.needs_redraw(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_guards [INFO] [stdout] = note: `#[warn(clippy::redundant_guards)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 951 - Input::Focus(focused) if focused == true => self.needs_redraw(), [INFO] [stdout] 951 + Input::Focus(true) => self.needs_redraw(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `ButtonMap` which implements the `Copy` trait [INFO] [stdout] --> src/ui.rs:654:39 [INFO] [stdout] | [INFO] [stdout] 654 | let buttons = self.global_input.current.mouse.buttons.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.global_input.current.mouse.buttons` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `Canvas<'a>` [INFO] [stdout] --> src/widget/canvas.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | / pub fn new() -> Self { [INFO] [stdout] 133 | | Canvas { [INFO] [stdout] 134 | | common: widget::CommonBuilder::default(), [INFO] [stdout] 135 | | style: Style::default(), [INFO] [stdout] ... | [INFO] [stdout] 139 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 130 + impl<'a> Default for Canvas<'a> { [INFO] [stdout] 131 + fn default() -> Self { [INFO] [stdout] 132 + Self::new() [INFO] [stdout] 133 + } [INFO] [stdout] 134 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `Style` which implements the `Copy` trait [INFO] [stdout] --> src/widget/canvas.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | self.style.clone() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `self.style` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary map of the identity function [INFO] [stdout] --> src/ui.rs:918:43 [INFO] [stdout] | [INFO] [stdout] 918 | .remove(&touch.id) [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 919 | | .map(|touch| touch); [INFO] [stdout] | |___________________________________________^ help: remove the call to `map` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_identity [INFO] [stdout] = note: `#[warn(clippy::map_identity)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: equality checks against true are unnecessary [INFO] [stdout] --> src/ui.rs:951:38 [INFO] [stdout] | [INFO] [stdout] 951 | Input::Focus(focused) if focused == true => self.needs_redraw(), [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try: `focused` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison [INFO] [stdout] = note: `#[warn(clippy::bool_comparison)]` 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/widget/canvas.rs:299:39 [INFO] [stdout] | [INFO] [stdout] 299 | .set(state.ids.rectangle, &mut ui); [INFO] [stdout] | ^^^^^^^ help: change this to: `ui` [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/widget/canvas.rs:322:43 [INFO] [stdout] | [INFO] [stdout] 322 | .set(state.ids.title_bar, &mut ui); [INFO] [stdout] | ^^^^^^^ help: change this to: `ui` [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: useless conversion to the same type: `daggy::NodeIndex` [INFO] [stdout] --> src/ui.rs:1028:30 [INFO] [stdout] | [INFO] [stdout] 1028 | .or(Some(ui.window.into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `ui.window` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `daggy::NodeIndex` [INFO] [stdout] --> src/ui.rs:1050:30 [INFO] [stdout] | [INFO] [stdout] 1050 | .or(Some(ui.window.into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `ui.window` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/widget/canvas.rs:364:52 [INFO] [stdout] | [INFO] [stdout] 364 | ... let w = length(&split, &ui); [INFO] [stdout] | ^^^ help: change this to: `ui` [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: useless conversion to the same type: `daggy::NodeIndex` [INFO] [stdout] --> src/ui.rs:1066:36 [INFO] [stdout] | [INFO] [stdout] 1066 | .unwrap_or(ui.window.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `ui.window` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/widget/canvas.rs:370:56 [INFO] [stdout] | [INFO] [stdout] 370 | ... set_split(split_id, split, &mut ui); [INFO] [stdout] | ^^^^^^^ help: change this to: `ui` [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/widget/canvas.rs:375:52 [INFO] [stdout] | [INFO] [stdout] 375 | ... let w = length(&split, &ui); [INFO] [stdout] | ^^^ help: change this to: `ui` [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/widget/canvas.rs:381:56 [INFO] [stdout] | [INFO] [stdout] 381 | ... set_split(split_id, split, &mut ui); [INFO] [stdout] | ^^^^^^^ help: change this to: `ui` [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/widget/canvas.rs:389:52 [INFO] [stdout] | [INFO] [stdout] 389 | ... let h = length(&split, &ui); [INFO] [stdout] | ^^^ help: change this to: `ui` [INFO] [stdout] | [WARN] too many lines in the log, truncating it