[INFO] fetching crate header-slice 0.1.3... [INFO] checking header-slice-0.1.3 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate header-slice 0.1.3 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate header-slice 0.1.3 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate header-slice 0.1.3 [INFO] finished tweaking crates.io crate header-slice 0.1.3 [INFO] tweaked toml for crates.io crate header-slice 0.1.3 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b7d2d2732f74019c5a04f71cc3b322dfc67851130a168d9cc7713862c742043 [INFO] running `Command { std: "docker" "start" "-a" "2b7d2d2732f74019c5a04f71cc3b322dfc67851130a168d9cc7713862c742043", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b7d2d2732f74019c5a04f71cc3b322dfc67851130a168d9cc7713862c742043", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b7d2d2732f74019c5a04f71cc3b322dfc67851130a168d9cc7713862c742043", kill_on_drop: false }` [INFO] [stdout] 2b7d2d2732f74019c5a04f71cc3b322dfc67851130a168d9cc7713862c742043 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 447b06980141adc1d0c53d8022eb599dcbfef478a6e0a45040aa28bab1197411 [INFO] running `Command { std: "docker" "start" "-a" "447b06980141adc1d0c53d8022eb599dcbfef478a6e0a45040aa28bab1197411", kill_on_drop: false }` [INFO] [stderr] Checking header-slice v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/add.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | header_vec!["foo"; 4, 5] + (6..=9), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(forgetting_copy_types)]` on by default [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 6]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/add.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | header_vec!["foo"; 4, 5, 6, 7, 8, 9], [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/add.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | header_vec!["foo"; 1, 2] + [3, 4, 5].iter().copied(), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 5]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/add.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | header_vec!["foo"; 1, 2, 3, 4, 5], [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/add.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | header_vec!["foo"; 1, 2] + x.into_vec(), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 5]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/add.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | header_vec!["foo"; 1, 2, 3, 4, 5], [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/add.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | let mut v = header_vec!["foo"; 4, 5]; [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 6]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/add.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | assert_eq!(v, header_vec!["foo"; 4, 5, 6, 7, 8, 9]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/add.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | let mut v = header_vec!["foo"; 1, 2]; [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 5]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/add.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | assert_eq!(v, header_vec!["foo"; 1, 2, 3, 4, 5]); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/add.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | let mut v = header_vec!["foo"; 1, 2]; [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 5]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/add.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | assert_eq!(v, header_vec!["foo"; 1, 2, 3, 4, 5]); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/add.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let mut v = header_vec!["foo"; 1, 2]; [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 5]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/add.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | assert_eq!(v, header_vec!["foo"; 1, 2, 1, 2, 3]); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/add.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | let mut v = header_vec!["foo"; 1, 2, 3]; [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 6]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/add.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | assert_eq!(v, header_vec!["foo"; 1, 2, 3, 4, 5, 6]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 0]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:6:40 [INFO] [stdout] | [INFO] [stdout] 6 | let foo_empty: HeaderVec<_, i32> = header_vec!["foo";]; [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(header_vec!["foo"; 1, 2, 3], header_vec!["foo"; 1, 2, 3]); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:7:45 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(header_vec!["foo"; 1, 2, 3], header_vec!["foo"; 1, 2, 3]); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(header_vec!["foo"; 1, 2], *header_vec!["foo"; 1, 2].deref()); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:9:43 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(header_vec!["foo"; 1, 2], *header_vec!["foo"; 1, 2].deref()); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(*header_vec!["foo"; 1, 2].deref(), header_vec!["foo"; 1, 2]); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:10:51 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(*header_vec!["foo"; 1, 2].deref(), header_vec!["foo"; 1, 2]); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | header_vec!["foo"; 1, 2].deref(), [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | header_vec!["foo"; 1, 2].deref() [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 0]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | let foo_empty: HeaderVec<_, i32> = header_vec!["foo";]; [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 0]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | let bar_empty: HeaderVec<_, i32> = header_vec!["bar";]; [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | assert_ne!(header_vec!["foo"; 1, 2, 3], header_vec!["foo"; 2, 2, 3]); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | assert_ne!(header_vec!["foo"; 1, 2, 3], header_vec!["foo"; 2, 2, 3]); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | assert_ne!(header_vec!["foo"; 1, 2], header_vec!["foo"; 1, 2, 3]); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 22 | assert_ne!(header_vec!["foo"; 1, 2], header_vec!["foo"; 1, 2, 3]); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 1]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | assert_ne!(foo_empty, header_vec!["foo"; 1]); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | assert_ne!(header_vec!["foo"; 1, 2], header_vec!["foo";]); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 0]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:24:42 [INFO] [stdout] | [INFO] [stdout] 24 | assert_ne!(header_vec!["foo"; 1, 2], header_vec!["foo";]); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | header_vec!["foo"; 1, 2, 3], [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | *header_vec!["foo"; 2, 3].deref() [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | *header_vec!["foo"; 1, 2, 3].deref(), [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | header_vec!["foo"; 2, 3] [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | header_vec!["foo"; 1, 2, 3].deref(), [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | header_vec!["foo"; 2, 3].deref() [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | assert_ne!(header_vec!["foo"; 1, 2, 3], header_vec!["bar"; 1, 2, 3]); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:38:45 [INFO] [stdout] | [INFO] [stdout] 38 | assert_ne!(header_vec!["foo"; 1, 2, 3], header_vec!["bar"; 1, 2, 3]); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 0]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:82:38 [INFO] [stdout] | [INFO] [stdout] 82 | let a_empty: HeaderVec<_, i32> = header_vec!["a";]; [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 0]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:83:38 [INFO] [stdout] | [INFO] [stdout] 83 | let b_empty: HeaderVec<_, i32> = header_vec!["b";]; [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | assert_ord!({ header_vec!["a"; 1, 2] } == { header_vec!["a"; 1, 2] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:87:49 [INFO] [stdout] | [INFO] [stdout] 87 | assert_ord!({ header_vec!["a"; 1, 2] } == { header_vec!["a"; 1, 2] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | assert_ord!({ header_vec!["a"; 1, 2] } == { header_vec!["a"; 1, 2] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:87:49 [INFO] [stdout] | [INFO] [stdout] 87 | assert_ord!({ header_vec!["a"; 1, 2] } == { header_vec!["a"; 1, 2] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:87:49 [INFO] [stdout] | [INFO] [stdout] 87 | assert_ord!({ header_vec!["a"; 1, 2] } == { header_vec!["a"; 1, 2] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | assert_ord!({ header_vec!["a"; 1, 2] } == { header_vec!["a"; 1, 2] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:87:49 [INFO] [stdout] | [INFO] [stdout] 87 | assert_ord!({ header_vec!["a"; 1, 2] } == { header_vec!["a"; 1, 2] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | assert_ord!({ header_vec!["a"; 1, 2] } == { header_vec!["a"; 1, 2] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | assert_ord!({ header_vec!["a"; 1, 2] } < { header_vec!["b"; 1, 2] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:88:48 [INFO] [stdout] | [INFO] [stdout] 88 | assert_ord!({ header_vec!["a"; 1, 2] } < { header_vec!["b"; 1, 2] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | assert_ord!({ header_vec!["a"; 1, 2] } < { header_vec!["b"; 1, 2] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:88:48 [INFO] [stdout] | [INFO] [stdout] 88 | assert_ord!({ header_vec!["a"; 1, 2] } < { header_vec!["b"; 1, 2] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:88:48 [INFO] [stdout] | [INFO] [stdout] 88 | assert_ord!({ header_vec!["a"; 1, 2] } < { header_vec!["b"; 1, 2] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | assert_ord!({ header_vec!["a"; 1, 2] } < { header_vec!["b"; 1, 2] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:88:48 [INFO] [stdout] | [INFO] [stdout] 88 | assert_ord!({ header_vec!["a"; 1, 2] } < { header_vec!["b"; 1, 2] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | assert_ord!({ header_vec!["a"; 1, 2] } < { header_vec!["b"; 1, 2] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | assert_ord!({ header_vec!["a"; 1, 2] } < { header_vec!["b"; 1, 2, 3] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:89:48 [INFO] [stdout] | [INFO] [stdout] 89 | assert_ord!({ header_vec!["a"; 1, 2] } < { header_vec!["b"; 1, 2, 3] }); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | assert_ord!({ header_vec!["a"; 1, 2] } < { header_vec!["b"; 1, 2, 3] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:89:48 [INFO] [stdout] | [INFO] [stdout] 89 | assert_ord!({ header_vec!["a"; 1, 2] } < { header_vec!["b"; 1, 2, 3] }); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:89:48 [INFO] [stdout] | [INFO] [stdout] 89 | assert_ord!({ header_vec!["a"; 1, 2] } < { header_vec!["b"; 1, 2, 3] }); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | assert_ord!({ header_vec!["a"; 1, 2] } < { header_vec!["b"; 1, 2, 3] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:89:48 [INFO] [stdout] | [INFO] [stdout] 89 | assert_ord!({ header_vec!["a"; 1, 2] } < { header_vec!["b"; 1, 2, 3] }); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | assert_ord!({ header_vec!["a"; 1, 2] } < { header_vec!["b"; 1, 2, 3] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | assert_ord!({ header_vec!["a"; 1, 2] } < { header_vec!["a"; 1, 3] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:90:48 [INFO] [stdout] | [INFO] [stdout] 90 | assert_ord!({ header_vec!["a"; 1, 2] } < { header_vec!["a"; 1, 3] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | assert_ord!({ header_vec!["a"; 1, 2] } < { header_vec!["a"; 1, 3] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:90:48 [INFO] [stdout] | [INFO] [stdout] 90 | assert_ord!({ header_vec!["a"; 1, 2] } < { header_vec!["a"; 1, 3] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:90:48 [INFO] [stdout] | [INFO] [stdout] 90 | assert_ord!({ header_vec!["a"; 1, 2] } < { header_vec!["a"; 1, 3] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | assert_ord!({ header_vec!["a"; 1, 2] } < { header_vec!["a"; 1, 3] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:90:48 [INFO] [stdout] | [INFO] [stdout] 90 | assert_ord!({ header_vec!["a"; 1, 2] } < { header_vec!["a"; 1, 3] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | assert_ord!({ header_vec!["a"; 1, 2] } < { header_vec!["a"; 1, 3] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | assert_ord!({ header_vec!["a"; 1, 2] } < { header_vec!["a"; 1, 2, 3] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:91:48 [INFO] [stdout] | [INFO] [stdout] 91 | assert_ord!({ header_vec!["a"; 1, 2] } < { header_vec!["a"; 1, 2, 3] }); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | assert_ord!({ header_vec!["a"; 1, 2] } < { header_vec!["a"; 1, 2, 3] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:91:48 [INFO] [stdout] | [INFO] [stdout] 91 | assert_ord!({ header_vec!["a"; 1, 2] } < { header_vec!["a"; 1, 2, 3] }); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:91:48 [INFO] [stdout] | [INFO] [stdout] 91 | assert_ord!({ header_vec!["a"; 1, 2] } < { header_vec!["a"; 1, 2, 3] }); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | assert_ord!({ header_vec!["a"; 1, 2] } < { header_vec!["a"; 1, 2, 3] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:91:48 [INFO] [stdout] | [INFO] [stdout] 91 | assert_ord!({ header_vec!["a"; 1, 2] } < { header_vec!["a"; 1, 2, 3] }); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | assert_ord!({ header_vec!["a"; 1, 2] } < { header_vec!["a"; 1, 2, 3] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | assert_ord!({ header_vec![1.0; 1, 2] }? == { header_vec![1.0; 1, 2] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:93:50 [INFO] [stdout] | [INFO] [stdout] 93 | assert_ord!({ header_vec![1.0; 1, 2] }? == { header_vec![1.0; 1, 2] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:93:50 [INFO] [stdout] | [INFO] [stdout] 93 | assert_ord!({ header_vec![1.0; 1, 2] }? == { header_vec![1.0; 1, 2] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | assert_ord!({ header_vec![1.0; 1, 2] }? == { header_vec![1.0; 1, 2] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:94:19 [INFO] [stdout] | [INFO] [stdout] 94 | assert_ord!({ header_vec![1.0; 1, 2] }? < { header_vec![1.0; 1, 3] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:94:49 [INFO] [stdout] | [INFO] [stdout] 94 | assert_ord!({ header_vec![1.0; 1, 2] }? < { header_vec![1.0; 1, 3] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:94:49 [INFO] [stdout] | [INFO] [stdout] 94 | assert_ord!({ header_vec![1.0; 1, 2] }? < { header_vec![1.0; 1, 3] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:94:19 [INFO] [stdout] | [INFO] [stdout] 94 | assert_ord!({ header_vec![1.0; 1, 2] }? < { header_vec![1.0; 1, 3] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 95 | assert_ord!({ header_vec![1.0; 1, 2] }? < { header_vec![2.0; 1, 2] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:95:49 [INFO] [stdout] | [INFO] [stdout] 95 | assert_ord!({ header_vec![1.0; 1, 2] }? < { header_vec![2.0; 1, 2] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:95:49 [INFO] [stdout] | [INFO] [stdout] 95 | assert_ord!({ header_vec![1.0; 1, 2] }? < { header_vec![2.0; 1, 2] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 95 | assert_ord!({ header_vec![1.0; 1, 2] }? < { header_vec![2.0; 1, 2] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:97:19 [INFO] [stdout] | [INFO] [stdout] 97 | assert_ord!({ header_vec![f32::NAN; 1, 2] } ? { header_vec![f32::NAN; 1, 2] }); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:97:53 [INFO] [stdout] | [INFO] [stdout] 97 | assert_ord!({ header_vec![f32::NAN; 1, 2] } ? { header_vec![f32::NAN; 1, 2] }); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:97:53 [INFO] [stdout] | [INFO] [stdout] 97 | assert_ord!({ header_vec![f32::NAN; 1, 2] } ? { header_vec![f32::NAN; 1, 2] }); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:97:19 [INFO] [stdout] | [INFO] [stdout] 97 | assert_ord!({ header_vec![f32::NAN; 1, 2] } ? { header_vec![f32::NAN; 1, 2] }); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | assert_ord!({ header_vec![1.0; 1, 2] } ? { header_vec![f32::NAN; 1, 2] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:98:48 [INFO] [stdout] | [INFO] [stdout] 98 | assert_ord!({ header_vec![1.0; 1, 2] } ? { header_vec![f32::NAN; 1, 2] }); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:98:48 [INFO] [stdout] | [INFO] [stdout] 98 | assert_ord!({ header_vec![1.0; 1, 2] } ? { header_vec![f32::NAN; 1, 2] }); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | assert_ord!({ header_vec![1.0; 1, 2] } ? { header_vec![f32::NAN; 1, 2] }); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[f64; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | assert_ord!({ header_vec!["foo"; 1.0, 2.0] }? == { header_vec!["foo"; 1.0, 2.0] }); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[f64; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:99:56 [INFO] [stdout] | [INFO] [stdout] 99 | assert_ord!({ header_vec!["foo"; 1.0, 2.0] }? == { header_vec!["foo"; 1.0, 2.0] }); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[f64; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:99:56 [INFO] [stdout] | [INFO] [stdout] 99 | assert_ord!({ header_vec!["foo"; 1.0, 2.0] }? == { header_vec!["foo"; 1.0, 2.0] }); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[f64; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | assert_ord!({ header_vec!["foo"; 1.0, 2.0] }? == { header_vec!["foo"; 1.0, 2.0] }); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[f64; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | assert_ord!({ header_vec!["foo"; 1.0, 2.0] }? < { header_vec!["foo"; 1.0, 3.0] }); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[f64; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:100:55 [INFO] [stdout] | [INFO] [stdout] 100 | assert_ord!({ header_vec!["foo"; 1.0, 2.0] }? < { header_vec!["foo"; 1.0, 3.0] }); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[f64; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:100:55 [INFO] [stdout] | [INFO] [stdout] 100 | assert_ord!({ header_vec!["foo"; 1.0, 2.0] }? < { header_vec!["foo"; 1.0, 3.0] }); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[f64; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 100 | assert_ord!({ header_vec!["foo"; 1.0, 2.0] }? < { header_vec!["foo"; 1.0, 3.0] }); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[f64; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | assert_ord!({ header_vec!["foo"; 1.0, 2.0] }? < { header_vec!["foo"; 1.0, 2.0, 3.0] }); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[f64; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:101:55 [INFO] [stdout] | [INFO] [stdout] 101 | assert_ord!({ header_vec!["foo"; 1.0, 2.0] }? < { header_vec!["foo"; 1.0, 2.0, 3.0] }); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[f64; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:101:55 [INFO] [stdout] | [INFO] [stdout] 101 | assert_ord!({ header_vec!["foo"; 1.0, 2.0] }? < { header_vec!["foo"; 1.0, 2.0, 3.0] }); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[f64; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/cmp.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | assert_ord!({ header_vec!["foo"; 1.0, 2.0] }? < { header_vec!["foo"; 1.0, 2.0, 3.0] }); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 0]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/create_vec.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | let empty: HeaderVec<_, i32> = header_vec!["foo";]; [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 1]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/create_vec.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(header_vec!["foo"; 1].capacity(), 1); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 13]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/create_vec.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | header_vec!["foo"; 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13].capacity(), [INFO] [stdout] | ------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/create_vec.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(header_vec!["foo"; 1, 2, 3].capacity(), 3); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[Zst; 5]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/create_vec.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | let v1: HeaderVec<&str, Zst> = header_vec!["foo"; Zst, Zst, Zst, Zst, Zst]; [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/create_vec.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | let v1: HeaderVec = header_vec![Zst; 1, 2, 3]; [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[(); 4]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/create_vec.rs:45:34 [INFO] [stdout] | [INFO] [stdout] 45 | let v1: HeaderVec = header_vec![Zst; (), (), (), ()]; [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/create_vec.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | assert_eq!(header_vec!["foo"; 1, 2, 3].len(), 3); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 5]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/create_vec.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | assert_eq!(v, header_vec!["foo"; 1, 2, 3, 4, 5]); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 4]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/create_vec.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | assert_eq!(v, header_vec![false; 1, 2, 3, 4]); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 0]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/create_vec.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | assert_eq!(v1, header_vec!["foo";]); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 10]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/create_vec.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | assert_eq!(v1, header_vec!["foo"; 0, 1, 2, 3, 4, 5, 6, 7, 8, 9]); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 0]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/create_vec.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | assert_eq!(v2, header_vec!["foo";]); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 5]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/create_vec.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 88 | assert_eq!(v2, header_vec!["foo"; 0, 1, 2, 3, 4]); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/create_vec.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let v = header_vec!["foo"; 1, 2, 3]; [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 0]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/create_vec.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | assert_eq!(v, header_vec![false;]); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/drop.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let v = header_vec![A("foo", &q); 1, 2, 3]; [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 10]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/insert.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | let mut v1 = header_vec!["foo"; 0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[(); 0]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/insert.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | let mut v = header_vec![h;]; [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 1]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/insert.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | let mut v = header_vec!["foo"; 1]; [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/insert.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | assert_eq!(v, header_vec!["foo"; 123, 1]); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 6]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/insert.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | let mut v = header_vec!["foo"; 1, 2, 3, 4, 5, 6]; [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 7]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/insert.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | assert_eq!(v, header_vec!["foo"; 1, 2, 123, 3, 4, 5, 6]); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 16]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/insert.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | let mut v = header_vec!["foo"; 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]; [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 17]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/insert.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | header_vec!["foo"; 1, 2, 3, 4, 5, 6, 7, 8, 9, 123, 10, 11, 12, 13, 14, 15, 16] [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 1]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/insert.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | assert_eq!(v, header_vec!["foo"; 1]); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 16]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/insert.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | let mut v = header_vec!["foo"; 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]; [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 17]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/insert.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | header_vec!["foo"; 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 123] [INFO] [stdout] | ------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/insert.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | let mut v = header_vec!["foo"; 1, 2, 3]; [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 5]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/insert.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | let mut v = header_vec!["foo"; 1, 3, 5, 7, 9]; [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 6]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/insert.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | assert_eq!(v, header_vec!["foo"; 1, 3, 5, 6, 7, 9]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 7]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/insert.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | assert_eq!(v, header_vec!["foo"; 1, 3, 5, 6, 7, 9, 15]); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 8]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/insert.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | assert_eq!(v, header_vec!["foo"; 1, 3, 3, 5, 6, 7, 9, 15]); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 9]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/insert.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | assert_eq!(v, header_vec!["foo"; -20, 1, 3, 3, 5, 6, 7, 9, 15]); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 10]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/insert.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | assert_eq!(v, header_vec!["foo"; -20, 1, 2, 3, 3, 5, 6, 7, 9, 15]); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 1]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/insert.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | assert_eq!(v, header_vec!["foo"; 3]); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/insert.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | assert_eq!(v, header_vec!["foo"; 1, 3]); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/insert.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | assert_eq!(v, header_vec!["foo"; 1, 3, 9]); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 5]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/insert.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | let mut v = header_vec!["foo"; 1, 3, 5, 7, 9]; [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 6]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/insert.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | assert_eq!(v, header_vec!["foo"; 1, 3, 5, 6, 7, 9]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 6]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/insert.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | assert_eq!(v, header_vec!["foo"; 1, 3, 5, 6, 7, 9]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[(); 0]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/insert.rs:118:21 [INFO] [stdout] | [INFO] [stdout] 118 | let mut v = header_vec![h;]; [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 4]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/misc.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | let mut v = header_vec!["foo"; 1, 2, 3, 4]; [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 4]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/misc.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(v, header_vec!["foo"; 1, 2, 3, 4]); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 4]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/misc.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | let mut v = header_vec!["foo"; 1, 2, 3, 4]; [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 4]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/misc.rs:19:19 [INFO] [stdout] | [INFO] [stdout] 19 | assert_eq!(v, header_vec!["foo"; 1, 2, 3, 4]); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[(); 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/misc.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let v = header_vec!["foo"; (), (), ()]; [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/misc.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | let v1 = header_vec!["foo"; 1, 2, 3]; [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/misc.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | assert_eq!(v2, header_vec!["foo"; 1, 2, 3]); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/misc.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | let mut v1 = header_vec!["foo"; 1, 2, 3]; [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/misc.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | assert_eq!(v2, header_vec!["foo"; 1, 2, 3]); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 4]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/misc.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | let mut v = header_vec!["foo"; 1, 2, 3, 4]; [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 4]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/misc.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(v, header_vec!["foo"; 1, 2, 3, 4]); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 4]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/misc.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let v = header_vec!["foo"; 1, 2, 3, 4]; [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 4]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/misc.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let v = header_vec!["foo"; 1, 2, 3, 4]; [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 4]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/misc.rs:79:37 [INFO] [stdout] | [INFO] [stdout] 79 | assert_eq!(v.assume_init(), header_vec!["foo"; 1, 2, 3, 4]); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 4]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/misc.rs:89:44 [INFO] [stdout] | [INFO] [stdout] 89 | assert_eq!(v.assume_init_values(), header_vec!["foo"; 1, 2, 3, 4]); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 4]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/misc.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | let mut v = header_vec![MaybeUninit::uninit(); 1, 2, 3, 4]; [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 4]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/misc.rs:99:42 [INFO] [stdout] | [INFO] [stdout] 99 | assert_eq!(v.assume_init_head(), header_vec!["foo"; 1, 2, 3, 4]); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 5]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/remove.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | let mut v = header_vec!["foo"; 1, 2, 3, 4, 5]; [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 4]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/remove.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(v, header_vec!["foo"; 1, 2, 3, 5]); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/remove.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(v, header_vec!["foo"; 1, 3, 5]); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/remove.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(v, header_vec!["foo"; 1, 3]); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 1]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/remove.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(v, header_vec!["foo"; 3]); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 0]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/remove.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(v, header_vec!["foo";]); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 5]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/remove.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | let mut v = header_vec!["foo"; 1, 2, 3, 4, 5]; [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 4]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/remove.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(v, header_vec!["foo"; 1, 2, 5, 4]); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 4]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/remove.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | assert_eq!(v, header_vec!["foo"; 1, 2, 5, 4]); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[(); 0]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/remove.rs:53:23 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(v, header_vec![h;]); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 0]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/remove.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 66 | assert_eq!(v, header_vec!["foo";]); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 0]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/remove.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | assert_eq!(v, header_vec!["foo";]); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 0]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/remove.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | assert_eq!(v, header_vec!["foo";]); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 5]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/remove.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | let mut v = header_vec!["foo"; 1, 2, 3, 4, 5]; [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 4]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/remove.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | assert_eq!(v, header_vec!["foo"; 1, 2, 3, 4]); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/remove.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | assert_eq!(v, header_vec!["foo"; 1, 2, 3]); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/remove.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | assert_eq!(v, header_vec!["foo"; 1, 2]); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 1]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/remove.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | assert_eq!(v, header_vec!["foo"; 1]); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 0]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/remove.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | assert_eq!(v, header_vec!["foo";]); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 0]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/remove.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | assert_eq!(v, header_vec!["foo";]); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 4]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/resize.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | let mut v = header_vec!["foo"; 1, 2, 3, 4]; [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/resize.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(v, header_vec!["foo"; 1, 2]); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 4]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/resize.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | let mut v = header_vec!["foo"; 1, 2, 3, 4]; [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 0]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/resize.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(v, header_vec!["foo";]); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/resize.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | let mut v = header_vec!["foo"; 1, 2, 3]; [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/resize.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let mut v = header_vec!["foo"; 1, 2, 3]; [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 3]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/resize.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | assert_eq!(v, header_vec!["foo"; 1, 2, 3]); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 4]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/resize.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | assert_eq!(v, header_vec!["foo"; 9, 9, 9, 9]); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 4]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/resize.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | let mut v = header_vec!["foo"; 1, 2, 3, 4]; [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 0]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/resize.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | assert_eq!(v, header_vec!["foo";]); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 4]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/resize.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | let mut v = header_vec!["foo"; 1, 2, 3, 4]; [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/resize.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | assert_eq!(v, header_vec!["foo"; 1, 2]); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 4]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/resize.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let mut v = header_vec!["foo"; 1, 2, 3, 4]; [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/resize.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | assert_eq!(v, header_vec!["foo"; 1, 2]); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.78s [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 4]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/resize.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | let mut v = header_vec!["foo"; 1, 2, 3, 4]; [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 2]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/resize.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | assert_eq!(v, header_vec!["foo"; 1, 2]); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 4]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/resize.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | let mut v = header_vec!["foo"; 1, 2, 3, 4]; [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 6]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/resize.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 70 | assert_eq!(v, header_vec!["foo"; 1, 2, 3, 4, -1, -1]); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 4]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/resize.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | let mut v = header_vec!["foo"; 1, 2, 3, 4]; [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 6]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/resize.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | assert_eq!(v, header_vec!["foo"; 1, 2, 3, 4, -1, -1]); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 4]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/resize.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | let mut v = header_vec!["foo"; 1, 2, 3, 4]; [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 6]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/resize.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | assert_eq!(v, header_vec!["foo"; 1, 2, 3, 4, 0, 0]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 0]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/resize.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | assert_eq!(v, header_vec!["foo";]); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::forget` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/vec.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 661 | core::mem::forget(src); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `[i32; 0]` [INFO] [stdout] | [INFO] [stdout] ::: src/test/resize.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | assert_eq!(v, header_vec!["foo";]); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `header_vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 661 - core::mem::forget(src); [INFO] [stdout] 661 + let _ = src; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 219 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "447b06980141adc1d0c53d8022eb599dcbfef478a6e0a45040aa28bab1197411", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "447b06980141adc1d0c53d8022eb599dcbfef478a6e0a45040aa28bab1197411", kill_on_drop: false }` [INFO] [stdout] 447b06980141adc1d0c53d8022eb599dcbfef478a6e0a45040aa28bab1197411