[INFO] fetching crate erg_compiler 0.6.43... [INFO] checking erg_compiler-0.6.43 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate erg_compiler 0.6.43 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate erg_compiler 0.6.43 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate erg_compiler 0.6.43 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate erg_compiler 0.6.43 [INFO] tweaked toml for crates.io crate erg_compiler 0.6.43 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate erg_compiler 0.6.43 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3f13e9a787a9729b7925d682f2713641ffe4caf3cd666b5b2a6f883bff5d1a2 [INFO] running `Command { std: "docker" "start" "-a" "e3f13e9a787a9729b7925d682f2713641ffe4caf3cd666b5b2a6f883bff5d1a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3f13e9a787a9729b7925d682f2713641ffe4caf3cd666b5b2a6f883bff5d1a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3f13e9a787a9729b7925d682f2713641ffe4caf3cd666b5b2a6f883bff5d1a2", kill_on_drop: false }` [INFO] [stdout] e3f13e9a787a9729b7925d682f2713641ffe4caf3cd666b5b2a6f883bff5d1a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 878c662a18c3d206f83d0c29bf460afb7d503d57e6b4e7a637f5f49f88b88ec5 [INFO] running `Command { std: "docker" "start" "-a" "878c662a18c3d206f83d0c29bf460afb7d503d57e6b4e7a637f5f49f88b88ec5", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling erg_common v0.6.43 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Checking unicode-xid v0.2.5 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling erg_proc_macros v0.6.43 [INFO] [stderr] Checking erg_parser v0.6.43 [INFO] [stderr] Compiling erg_compiler v0.6.43 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Migrating lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `erg_compiler` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * context/eval.rs [INFO] [stderr] * context/mod.rs [INFO] [stderr] * error/mod.rs [INFO] [stderr] * ty/constructors.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> context/eval.rs:44:6 [INFO] [stderr] | [INFO] [stderr] 44 | ($ctx: expr_2021, $loc: expr_2021, $name: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> context/eval.rs:44:23 [INFO] [stderr] | [INFO] [stderr] 44 | ($ctx: expr_2021, $loc: expr_2021, $name: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> context/eval.rs:44:40 [INFO] [stderr] | [INFO] [stderr] 44 | ($ctx: expr_2021, $loc: expr_2021, $name: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> context/eval.rs:49:6 [INFO] [stderr] | [INFO] [stderr] 49 | ($ctx: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> error/mod.rs:38:35 [INFO] [stderr] | [INFO] [stderr] 38 | ($Strcs: ident, $Strc: ident, $ctx: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> error/mod.rs:45:20 [INFO] [stderr] | [INFO] [stderr] 45 | ($Strc: ident, $ctx: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> error/mod.rs:56:35 [INFO] [stderr] | [INFO] [stderr] 56 | ($Strcs: ident, $Strc: ident, $ctx: expr_2021, $loc: expr_2021, $name: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> error/mod.rs:56:52 [INFO] [stderr] | [INFO] [stderr] 56 | ($Strcs: ident, $Strc: ident, $ctx: expr_2021, $loc: expr_2021, $name: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> error/mod.rs:56:69 [INFO] [stderr] | [INFO] [stderr] 56 | ($Strcs: ident, $Strc: ident, $ctx: expr_2021, $loc: expr_2021, $name: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> error/mod.rs:65:20 [INFO] [stderr] | [INFO] [stderr] 65 | ($Strc: ident, $ctx: expr_2021, $loc: expr_2021, $name: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> error/mod.rs:65:37 [INFO] [stderr] | [INFO] [stderr] 65 | ($Strc: ident, $ctx: expr_2021, $loc: expr_2021, $name: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> error/mod.rs:65:54 [INFO] [stderr] | [INFO] [stderr] 65 | ($Strc: ident, $ctx: expr_2021, $loc: expr_2021, $name: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> error/mod.rs:76:6 [INFO] [stderr] | [INFO] [stderr] 76 | ($ctx: expr_2021, $loc: expr_2021, $name: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> error/mod.rs:76:23 [INFO] [stderr] | [INFO] [stderr] 76 | ($ctx: expr_2021, $loc: expr_2021, $name: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> error/mod.rs:76:40 [INFO] [stderr] | [INFO] [stderr] 76 | ($ctx: expr_2021, $loc: expr_2021, $name: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> error/mod.rs:79:12 [INFO] [stderr] | [INFO] [stderr] 79 | (error $ctx: expr_2021, $loc: expr_2021, $name: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> error/mod.rs:79:29 [INFO] [stderr] | [INFO] [stderr] 79 | (error $ctx: expr_2021, $loc: expr_2021, $name: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> error/mod.rs:79:46 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> codegen.rs:3243:17 [INFO] [stdout] | [INFO] [stdout] 3243 | let mut gen = self.inherit(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> codegen.rs:3244:20 [INFO] [stdout] | [INFO] [stdout] 3244 | let code = gen.emit_block(code, vec![], None, vec![], 0, vec![], 0); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 79 | (error $ctx: expr_2021, $loc: expr_2021, $name: expr_2021) => { [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/eval.rs:834:28 [INFO] [stdout] | [INFO] [stdout] 834 | ConstSubr::Gen(gen) => gen.call(args, self).map_err(|mut e| { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/eval.rs:834:36 [INFO] [stdout] | [INFO] [stdout] 834 | ConstSubr::Gen(gen) => gen.call(args, self).map_err(|mut e| { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/initialize/const_func.rs:113:47 [INFO] [stdout] | [INFO] [stdout] 113 | ValueObj::Type(TypeObj::Generated(mut gen)) => { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/initialize/const_func.rs:114:32 [INFO] [stdout] | [INFO] [stdout] 114 | if let Some(typ) = gen.impls_mut() { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/initialize/const_func.rs:116:45 [INFO] [stdout] | [INFO] [stdout] 116 | Some(TypeObj::Generated(gen)) => { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/initialize/const_func.rs:117:26 [INFO] [stdout] | [INFO] [stdout] 117 | *gen.typ_mut() = and(mem::take(gen.typ_mut()), mono("InheritableType")); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/initialize/const_func.rs:117:56 [INFO] [stdout] | [INFO] [stdout] 117 | *gen.typ_mut() = and(mem::take(gen.typ_mut()), mono("InheritableType")); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/initialize/const_func.rs:127:50 [INFO] [stdout] | [INFO] [stdout] 127 | Ok(ValueObj::Type(TypeObj::Generated(gen)).into()) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> ty/constructors.rs:10:6 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/inquire.rs:3869:9 [INFO] [stdout] | [INFO] [stdout] 3869 | gen: &'a GenTypeObj, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/inquire.rs:3872:15 [INFO] [stdout] | [INFO] [stdout] 3872 | match gen.base_or_sup().map(|req_sup| req_sup.typ()) { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 10 | ($input: expr_2021 => $ret: expr_2021) => { [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/inquire.rs:3887:35 [INFO] [stdout] | [INFO] [stdout] 3887 | if let Some(additional) = gen.additional() { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/inquire.rs:3888:33 [INFO] [stdout] | [INFO] [stdout] 3888 | if let Type::Record(gen) = additional.typ() { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> ty/constructors.rs:10:27 [INFO] [stderr] | [INFO] [stderr] 10 | ($input: expr_2021 => $ret: expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> context/mod.rs:1414:63 [INFO] [stderr] | [INFO] [stderr] 1414 | fn type_dir<'t>(&'t self, namespace: &'t Context) -> Dict<&VarName, &VarInfo> { [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/inquire.rs:3889:34 [INFO] [stdout] | [INFO] [stdout] 3889 | if let Some(t) = gen.get(attr) { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | -- lifetime `'t` declared here ^ this elided lifetime gets resolved as `'t` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> context/mod.rs:1414:73 [INFO] [stderr] | [INFO] [stderr] 1414 | fn type_dir<'t>(&'t self, namespace: &'t Context) -> Dict<&VarName, &VarInfo> { [INFO] [stderr] | -- lifetime `'t` declared here ^ this elided lifetime gets resolved as `'t` [INFO] [stderr] [INFO] [stderr] error: aborting due to 20 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/instantiate.rs:704:36 [INFO] [stdout] | [INFO] [stdout] 704 | ConstSubr::Gen(mut gen) => { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/instantiate.rs:705:44 [INFO] [stdout] | [INFO] [stdout] 705 | let t = mem::take(&mut gen.sig_t); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/instantiate.rs:707:21 [INFO] [stdout] | [INFO] [stdout] 707 | gen.sig_t = t; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/instantiate.rs:708:54 [INFO] [stdout] | [INFO] [stdout] 708 | Ok(ValueObj::Subr(ConstSubr::Gen(gen))) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1678:40 [INFO] [stdout] | [INFO] [stdout] 1678 | TypeObj::Generated(gen) if alias => { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1679:38 [INFO] [stdout] | [INFO] [stdout] 1679 | let meta_t = gen.meta_type(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1680:57 [INFO] [stdout] | [INFO] [stdout] 1680 | self.register_type_alias(ident, gen.into_typ(), meta_t) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1682:40 [INFO] [stdout] | [INFO] [stdout] 1682 | TypeObj::Generated(gen) => self.register_gen_type(ident, gen, call), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1682:78 [INFO] [stdout] | [INFO] [stdout] 1682 | TypeObj::Generated(gen) => self.register_gen_type(ident, gen, call), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1710:9 [INFO] [stdout] | [INFO] [stdout] 1710 | gen: GenTypeObj, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1713:15 [INFO] [stdout] | [INFO] [stdout] 1713 | match gen { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1715:20 [INFO] [stdout] | [INFO] [stdout] 1715 | if gen.typ().is_monomorphic() { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1718:25 [INFO] [stdout] | [INFO] [stdout] 1718 | gen.typ().qual_name(), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1724:58 [INFO] [stdout] | [INFO] [stdout] 1724 | let res = self.gen_class_new_method(&gen, call, &mut ctx); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1725:67 [INFO] [stdout] | [INFO] [stdout] 1725 | let res2 = self.register_gen_mono_type(ident, gen, ctx, Const); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1728:34 [INFO] [stdout] | [INFO] [stdout] 1728 | let params = gen [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1738:25 [INFO] [stdout] | [INFO] [stdout] 1738 | gen.typ().qual_name(), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1745:58 [INFO] [stdout] | [INFO] [stdout] 1745 | let res = self.gen_class_new_method(&gen, call, &mut ctx); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1746:67 [INFO] [stdout] | [INFO] [stdout] 1746 | let res2 = self.register_gen_poly_type(ident, gen, ctx, Const); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1750:74 [INFO] [stdout] | [INFO] [stdout] 1750 | GenTypeObj::Subclass(_) => self.register_gen_subclass(ident, gen, call), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1752:20 [INFO] [stdout] | [INFO] [stdout] 1752 | if gen.typ().is_monomorphic() { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1754:25 [INFO] [stdout] | [INFO] [stdout] 1754 | gen.typ().qual_name(), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1763:26 [INFO] [stdout] | [INFO] [stdout] 1763 | }) = gen.base_or_sup() [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1769:67 [INFO] [stdout] | [INFO] [stdout] 1769 | let res2 = self.register_gen_mono_type(ident, gen, ctx, Const); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1782:20 [INFO] [stdout] | [INFO] [stdout] 1782 | if gen.typ().is_monomorphic() { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1783:41 [INFO] [stdout] | [INFO] [stdout] 1783 | let super_classes = gen.base_or_sup().map_or(vec![], |t| vec![t.typ().clone()]); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1786:25 [INFO] [stdout] | [INFO] [stdout] 1786 | gen.typ().qual_name(), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1795:26 [INFO] [stdout] | [INFO] [stdout] 1795 | }) = gen.additional() [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1813:67 [INFO] [stdout] | [INFO] [stdout] 1813 | let res2 = self.register_gen_mono_type(ident, gen, ctx, Const); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1826:20 [INFO] [stdout] | [INFO] [stdout] 1826 | if gen.typ().is_monomorphic() { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1827:66 [INFO] [stdout] | [INFO] [stdout] 1827 | let Some(TypeObj::Builtin { t: base, .. }) = gen.base_or_sup() else { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1831:25 [INFO] [stdout] | [INFO] [stdout] 1831 | gen.typ().qual_name(), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1838:57 [INFO] [stdout] | [INFO] [stdout] 1838 | self.register_gen_mono_patch(ident, gen, ctx, Const) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1862:9 [INFO] [stdout] | [INFO] [stdout] 1862 | gen: GenTypeObj, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1866:12 [INFO] [stdout] | [INFO] [stdout] 1866 | if gen.typ().is_monomorphic() { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1867:33 [INFO] [stdout] | [INFO] [stdout] 1867 | let super_classes = gen.base_or_sup().map_or(vec![], |t| vec![t.typ().clone()]); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1870:17 [INFO] [stdout] | [INFO] [stdout] 1870 | gen.typ().qual_name(), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1899:32 [INFO] [stdout] | [INFO] [stdout] 1899 | if let Some(sup) = gen.base_or_sup() { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1908:51 [INFO] [stdout] | [INFO] [stdout] 1908 | if let Some(additional) = gen.additional() { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1943:25 [INFO] [stdout] | [INFO] [stdout] 1943 | gen.typ().clone(), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1948:25 [INFO] [stdout] | [INFO] [stdout] 1948 | gen.additional() [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:1978:25 [INFO] [stdout] | [INFO] [stdout] 1978 | gen.typ().clone(), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:2002:42 [INFO] [stdout] | [INFO] [stdout] 2002 | ClassDefType::Simple(gen.typ().clone()), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:2005:69 [INFO] [stdout] | [INFO] [stdout] 2005 | if let Err(es) = self.register_gen_mono_type(ident, gen, ctx, Const) { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:2014:34 [INFO] [stdout] | [INFO] [stdout] 2014 | let class_name = gen [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:2091:9 [INFO] [stdout] | [INFO] [stdout] 2091 | gen: &GenTypeObj, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:2096:41 [INFO] [stdout] | [INFO] [stdout] 2096 | let new_t = if let Some(base) = gen.base_or_sup() { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:2114:39 [INFO] [stdout] | [INFO] [stdout] 2114 | func1(base.typ().clone(), gen.typ().clone()) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:2116:19 [INFO] [stdout] | [INFO] [stdout] 2116 | func0(gen.typ().clone()) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:2145:34 [INFO] [stdout] | [INFO] [stdout] 2145 | ClassDefType::Simple(gen.typ().clone()), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:2195:9 [INFO] [stdout] | [INFO] [stdout] 2195 | gen: GenTypeObj, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:2213:21 [INFO] [stdout] | [INFO] [stdout] 2213 | let t = gen.typ().clone(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:2214:57 [INFO] [stdout] | [INFO] [stdout] 2214 | let val = ValueObj::Type(TypeObj::Generated(gen)); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:2241:9 [INFO] [stdout] | [INFO] [stdout] 2241 | gen: GenTypeObj, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:2258:21 [INFO] [stdout] | [INFO] [stdout] 2258 | let t = gen.typ().clone(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:2259:57 [INFO] [stdout] | [INFO] [stdout] 2259 | let val = ValueObj::Type(TypeObj::Generated(gen)); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:2296:9 [INFO] [stdout] | [INFO] [stdout] 2296 | gen: GenTypeObj, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:2319:21 [INFO] [stdout] | [INFO] [stdout] 2319 | let t = gen.typ().clone(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:2320:26 [INFO] [stdout] | [INFO] [stdout] 2320 | let meta_t = gen.meta_type(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:2337:73 [INFO] [stdout] | [INFO] [stdout] 2337 | .insert(name.clone(), ValueObj::Type(TypeObj::Generated(gen))); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:2958:25 [INFO] [stdout] | [INFO] [stdout] 2958 | for (_, gen) in comp.generators.iter() { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:2959:42 [INFO] [stdout] | [INFO] [stdout] 2959 | if self.inc_ref_expr(gen, namespace, tmp_tv_cache) { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:2984:25 [INFO] [stdout] | [INFO] [stdout] 2984 | for (_, gen) in comp.generators.iter() { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> context/register.rs:2985:42 [INFO] [stdout] | [INFO] [stdout] 2985 | if self.inc_ref_expr(gen, namespace, tmp_tv_cache) { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> declare.rs:1014:21 [INFO] [stdout] | [INFO] [stdout] 1014 | if let Some(gen) = ty_obj { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> declare.rs:1017:48 [INFO] [stdout] | [INFO] [stdout] 1017 | .register_gen_type(&new_ident, gen, None)?; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> lower.rs:3022:40 [INFO] [stdout] | [INFO] [stdout] 3022 | if let Some(TypeObj::Generated(gen)) = type_obj.base_or_sup() { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> lower.rs:3023:73 [INFO] [stdout] | [INFO] [stdout] 3023 | if let Some(ctx) = self.module.context.get_nominal_type_ctx(gen.typ()) { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> lower.rs:3034:34 [INFO] [stdout] | [INFO] [stdout] 3034 | if let Some(impls) = gen.impls() { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> transpile.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 372 | let mut gen = JsonGenerator::new(self.cfg.copy()); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> transpile.rs:373:41 [INFO] [stdout] | [INFO] [stdout] 373 | Ok(TranspiledFile::Json(gen.transpile(hir)?)) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> ty/const_subr.rs:254:28 [INFO] [stdout] | [INFO] [stdout] 254 | ConstSubr::Gen(gen) => &gen.sig_t, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> ty/const_subr.rs:254:37 [INFO] [stdout] | [INFO] [stdout] 254 | ConstSubr::Gen(gen) => &gen.sig_t, [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> ty/const_subr.rs:299:28 [INFO] [stdout] | [INFO] [stdout] 299 | ConstSubr::Gen(gen) => gen.as_type.clone(), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> ty/const_subr.rs:299:36 [INFO] [stdout] | [INFO] [stdout] 299 | ConstSubr::Gen(gen) => gen.as_type.clone(), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> ty/value.rs:478:29 [INFO] [stdout] | [INFO] [stdout] 478 | Self::Generated(gen) => gen.is_inited(), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> ty/value.rs:478:37 [INFO] [stdout] | [INFO] [stdout] 478 | Self::Generated(gen) => gen.is_inited(), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> ty/value.rs:1194:36 [INFO] [stdout] | [INFO] [stdout] 1194 | TypeObj::Generated(gen) => Ok(gen.typ()), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> ty/value.rs:1194:47 [INFO] [stdout] | [INFO] [stdout] 1194 | TypeObj::Generated(gen) => Ok(gen.typ()), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> ty/value.rs:1245:24 [INFO] [stdout] | [INFO] [stdout] 1245 | pub const fn gen_t(gen: GenTypeObj) -> Self { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> ty/value.rs:1246:43 [INFO] [stdout] | [INFO] [stdout] 1246 | ValueObj::Type(TypeObj::Generated(gen)) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> ty/value.rs:1858:36 [INFO] [stdout] | [INFO] [stdout] 1858 | TypeObj::Generated(gen) => match gen.typ() { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> ty/value.rs:1858:50 [INFO] [stdout] | [INFO] [stdout] 1858 | TypeObj::Generated(gen) => match gen.typ() { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> context/eval.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | ($ctx: expr, $loc: expr, $name: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 44 | ($ctx: expr_2021, $loc: expr, $name: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> context/eval.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | ($ctx: expr, $loc: expr, $name: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 44 | ($ctx: expr, $loc: expr_2021, $name: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> context/eval.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | ($ctx: expr, $loc: expr, $name: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 44 | ($ctx: expr, $loc: expr, $name: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> context/eval.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | ($ctx: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 49 | ($ctx: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> context/mod.rs:1414:63 [INFO] [stdout] | [INFO] [stdout] 1414 | fn type_dir<'t>(&'t self, namespace: &'t Context) -> Dict<&VarName, &VarInfo> { [INFO] [stdout] | -- lifetime `'t` declared here ^ this elided lifetime gets resolved as `'t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> context/mod.rs:1414:73 [INFO] [stdout] | [INFO] [stdout] 1414 | fn type_dir<'t>(&'t self, namespace: &'t Context) -> Dict<&VarName, &VarInfo> { [INFO] [stdout] | -- lifetime `'t` declared here ^ this elided lifetime gets resolved as `'t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> error/mod.rs:38:41 [INFO] [stdout] | [INFO] [stdout] 38 | ($Strcs: ident, $Strc: ident, $ctx: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 38 | ($Strcs: ident, $Strc: ident, $ctx: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> error/mod.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | ($Strc: ident, $ctx: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 45 | ($Strc: ident, $ctx: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> error/mod.rs:56:41 [INFO] [stdout] | [INFO] [stdout] 56 | ($Strcs: ident, $Strc: ident, $ctx: expr, $loc: expr, $name: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 56 | ($Strcs: ident, $Strc: ident, $ctx: expr_2021, $loc: expr, $name: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> error/mod.rs:56:53 [INFO] [stdout] | [INFO] [stdout] 56 | ($Strcs: ident, $Strc: ident, $ctx: expr, $loc: expr, $name: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 56 | ($Strcs: ident, $Strc: ident, $ctx: expr, $loc: expr_2021, $name: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> error/mod.rs:56:66 [INFO] [stdout] | [INFO] [stdout] 56 | ($Strcs: ident, $Strc: ident, $ctx: expr, $loc: expr, $name: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 56 | ($Strcs: ident, $Strc: ident, $ctx: expr, $loc: expr, $name: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> error/mod.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | ($Strc: ident, $ctx: expr, $loc: expr, $name: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 65 | ($Strc: ident, $ctx: expr_2021, $loc: expr, $name: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> error/mod.rs:65:38 [INFO] [stdout] | [INFO] [stdout] 65 | ($Strc: ident, $ctx: expr, $loc: expr, $name: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 65 | ($Strc: ident, $ctx: expr, $loc: expr_2021, $name: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> error/mod.rs:65:51 [INFO] [stdout] | [INFO] [stdout] 65 | ($Strc: ident, $ctx: expr, $loc: expr, $name: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 65 | ($Strc: ident, $ctx: expr, $loc: expr, $name: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> error/mod.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | ($ctx: expr, $loc: expr, $name: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 76 | ($ctx: expr_2021, $loc: expr, $name: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> error/mod.rs:76:24 [INFO] [stdout] | [INFO] [stdout] 76 | ($ctx: expr, $loc: expr, $name: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 76 | ($ctx: expr, $loc: expr_2021, $name: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> error/mod.rs:76:37 [INFO] [stdout] | [INFO] [stdout] 76 | ($ctx: expr, $loc: expr, $name: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 76 | ($ctx: expr, $loc: expr, $name: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> error/mod.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | (error $ctx: expr, $loc: expr, $name: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 79 | (error $ctx: expr_2021, $loc: expr, $name: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> error/mod.rs:79:30 [INFO] [stdout] | [INFO] [stdout] 79 | (error $ctx: expr, $loc: expr, $name: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 79 | (error $ctx: expr, $loc: expr_2021, $name: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> error/mod.rs:79:43 [INFO] [stdout] | [INFO] [stdout] 79 | (error $ctx: expr, $loc: expr, $name: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 79 | (error $ctx: expr, $loc: expr, $name: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> ty/constructors.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | ($input: expr => $ret: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 10 | ($input: expr_2021 => $ret: expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> ty/constructors.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | ($input: expr => $ret: expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 10 | ($input: expr => $ret: expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> build_package.rs:356:20 [INFO] [stdout] | [INFO] [stdout] 356 | if let Some(ast) = iart.ast { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> build_package.rs:360:17 [INFO] [stdout] | [INFO] [stdout] 360 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 356 ~ match iart.ast { Some(ast) => { [INFO] [stdout] 357 | self.shared.warns.extend(iart.warns.into()); [INFO] [stdout] 358 | self.shared.errors.extend(iart.errors.into()); [INFO] [stdout] 359 | ast [INFO] [stdout] 360 ~ } _ => { [INFO] [stdout] 361 | self.finalize(); [INFO] [stdout] ... [INFO] [stdout] 366 | )); [INFO] [stdout] 367 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> build_package.rs:386:20 [INFO] [stdout] | [INFO] [stdout] 386 | if let Some(ast) = iart.ast { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> build_package.rs:390:17 [INFO] [stdout] | [INFO] [stdout] 390 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 386 ~ match iart.ast { Some(ast) => { [INFO] [stdout] 387 | self.shared.warns.extend(iart.warns.into()); [INFO] [stdout] 388 | self.shared.errors.extend(iart.errors.into()); [INFO] [stdout] 389 | ast [INFO] [stdout] 390 ~ } _ => { [INFO] [stdout] 391 | self.finalize(); [INFO] [stdout] ... [INFO] [stdout] 396 | )); [INFO] [stdout] 397 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> build_package.rs:463:24 [INFO] [stdout] | [INFO] [stdout] 463 | if let Err(err) = self.check_import(&mut pos.expr, cfg) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> build_package.rs:465:21 [INFO] [stdout] | [INFO] [stdout] 465 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 463 ~ match self.check_import(&mut pos.expr, cfg) { Err(err) => { [INFO] [stdout] 464 | errs.extend(err); [INFO] [stdout] 465 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> build_package.rs:468:24 [INFO] [stdout] | [INFO] [stdout] 468 | if let Err(err) = self.check_import(&mut var.expr, cfg) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> build_package.rs:470:21 [INFO] [stdout] | [INFO] [stdout] 470 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 468 ~ match self.check_import(&mut var.expr, cfg) { Err(err) => { [INFO] [stdout] 469 | errs.extend(err); [INFO] [stdout] 470 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> build_package.rs:473:24 [INFO] [stdout] | [INFO] [stdout] 473 | if let Err(err) = self.check_import(&mut kw.expr, cfg) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> build_package.rs:475:21 [INFO] [stdout] | [INFO] [stdout] 475 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 473 ~ match self.check_import(&mut kw.expr, cfg) { Err(err) => { [INFO] [stdout] 474 | errs.extend(err); [INFO] [stdout] 475 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> build_package.rs:478:24 [INFO] [stdout] | [INFO] [stdout] 478 | if let Err(err) = self.check_import(&mut kw_var.expr, cfg) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> build_package.rs:480:21 [INFO] [stdout] | [INFO] [stdout] 480 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 478 ~ match self.check_import(&mut kw_var.expr, cfg) { Err(err) => { [INFO] [stdout] 479 | errs.extend(err); [INFO] [stdout] 480 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> build_package.rs:641:16 [INFO] [stdout] | [INFO] [stdout] 641 | if let Ok(status) = Command::new("pylyzer") [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_________________________________| [INFO] [stdout] 642 | || .arg("--dump-decl") [INFO] [stdout] 643 | || .arg(path.to_str().unwrap_or_default()) [INFO] [stdout] 644 | || .stdout(out) [INFO] [stdout] 645 | || .stderr(err) [INFO] [stdout] 646 | || .spawn() [INFO] [stdout] 647 | || .and_then(|mut child| child.wait()) [INFO] [stdout] | ||___________________________________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |___________________________________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> build_package.rs:664:13 [INFO] [stdout] | [INFO] [stdout] 664 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 641 ~ match Command::new("pylyzer") [INFO] [stdout] 642 | .arg("--dump-decl") [INFO] [stdout] ... [INFO] [stdout] 647 | .and_then(|mut child| child.wait()) [INFO] [stdout] 648 ~ { Ok(status) => { [INFO] [stdout] 649 | if let Some(path) = self [INFO] [stdout] ... [INFO] [stdout] 663 | } [INFO] [stdout] 664 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> build_package.rs:649:20 [INFO] [stdout] | [INFO] [stdout] 649 | if let Some(path) = self [INFO] [stdout] | _____________________^ - [INFO] [stdout] | | _____________________________________| [INFO] [stdout] 650 | || .cfg [INFO] [stdout] | ||________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 651 | | .input [INFO] [stdout] 652 | | .resolve_decl_path(Path::new(&__name__[..]), &self.cfg) [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> build_package.rs:663:17 [INFO] [stdout] | [INFO] [stdout] 663 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 649 ~ match self [INFO] [stdout] 650 | .cfg [INFO] [stdout] 651 | .input [INFO] [stdout] 652 | .resolve_decl_path(Path::new(&__name__[..]), &self.cfg) [INFO] [stdout] 653 ~ { Some(path) => { [INFO] [stdout] 654 | let size = metadata(&path).or(Err(()))?.len(); [INFO] [stdout] ... [INFO] [stdout] 662 | } [INFO] [stdout] 663 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> build_package.rs:740:27 [INFO] [stdout] | [INFO] [stdout] 740 | } else if let Some(mut ast) = self.parse(&root_import_path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> build_package.rs:745:17 [INFO] [stdout] | [INFO] [stdout] 745 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 740 ~ } else { match self.parse(&root_import_path) { Some(mut ast) => { [INFO] [stdout] 741 | let _ = self.resolve(&mut ast, &root_import_cfg); [INFO] [stdout] ... [INFO] [stdout] 744 | debug_assert!(prev.is_none()); [INFO] [stdout] 745 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> build_package.rs:835:20 [INFO] [stdout] | [INFO] [stdout] 835 | if let Some(entry) = self.asts.remove(&ancestor) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> build_package.rs:837:17 [INFO] [stdout] | [INFO] [stdout] 837 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 835 ~ match self.asts.remove(&ancestor) { Some(entry) => { [INFO] [stdout] 836 | self.start_analysis_process(entry.ast, entry.name, ancestor); [INFO] [stdout] 837 ~ } _ => { [INFO] [stdout] 838 | self.build_inlined_module(&ancestor, graph); [INFO] [stdout] 839 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> codegen.rs:136:15 [INFO] [stdout] | [INFO] [stdout] 136 | } else if let Some(py_name) = ident.vi.py_name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> codegen.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | } else if ident.vi.is_parameter() || ident.inspect() == "self" { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 136 ~ } else { match ident.vi.py_name { Some(py_name) => { [INFO] [stdout] 137 | py_name [INFO] [stdout] 138 ~ } _ => if ident.vi.is_parameter() || ident.inspect() == "self" { [INFO] [stdout] 139 | ident.inspect().clone() [INFO] [stdout] ... [INFO] [stdout] 147 | ) [INFO] [stdout] 148 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> codegen.rs:653:16 [INFO] [stdout] | [INFO] [stdout] 653 | if let Some(idx) = self [INFO] [stdout] | _________________^ - [INFO] [stdout] | | ________________________________| [INFO] [stdout] 654 | || .cur_block_codeobj() [INFO] [stdout] 655 | || .cellvars [INFO] [stdout] | ||_________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 656 | | .iter() [INFO] [stdout] 657 | | .position(|v| &**v == name) [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> codegen.rs:660:13 [INFO] [stdout] | [INFO] [stdout] 660 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 653 ~ match self [INFO] [stdout] 654 | .cur_block_codeobj() [INFO] [stdout] ... [INFO] [stdout] 657 | .position(|v| &**v == name) [INFO] [stdout] 658 ~ { Some(idx) => { [INFO] [stdout] 659 | return Some(Name::deref(idx)); [INFO] [stdout] 660 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> codegen.rs:664:20 [INFO] [stdout] | [INFO] [stdout] 664 | if let Some(idx) = self [INFO] [stdout] | _____________________^ - [INFO] [stdout] | | ____________________________________| [INFO] [stdout] 665 | || .cur_block_codeobj() [INFO] [stdout] 666 | || .freevars [INFO] [stdout] | ||_____________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 667 | | .iter() [INFO] [stdout] 668 | | .position(|f| &**f == name) [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 671 | } else if let Some(idx) = self [INFO] [stdout] | ___________________________________________- [INFO] [stdout] 672 | | .cur_block_codeobj() [INFO] [stdout] 673 | | .varnames [INFO] [stdout] | |_____________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 682 | } else if let Some(idx) = self [INFO] [stdout] | ___________________________________________- [INFO] [stdout] 683 | | .cur_block_codeobj() [INFO] [stdout] 684 | | .names [INFO] [stdout] | |__________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> codegen.rs:671:17 [INFO] [stdout] | [INFO] [stdout] 671 | } else if let Some(idx) = self [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> codegen.rs:682:17 [INFO] [stdout] | [INFO] [stdout] 682 | } else if let Some(idx) = self [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> codegen.rs:693:17 [INFO] [stdout] | [INFO] [stdout] 693 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 664 ~ match self [INFO] [stdout] 665 | .cur_block_codeobj() [INFO] [stdout] ... [INFO] [stdout] 668 | .position(|f| &**f == name) [INFO] [stdout] 669 ~ { Some(idx) => { [INFO] [stdout] 670 | Some(Name::deref(idx)) [INFO] [stdout] 671 ~ } _ => { match self [INFO] [stdout] 672 | .cur_block_codeobj() [INFO] [stdout] ... [INFO] [stdout] 675 | .position(|v| &**v == name) [INFO] [stdout] 676 ~ { Some(idx) => { [INFO] [stdout] 677 | if self.captured_vars().contains(&name) { [INFO] [stdout] ... [INFO] [stdout] 681 | } [INFO] [stdout] 682 ~ } _ => { match self [INFO] [stdout] 683 | .cur_block_codeobj() [INFO] [stdout] ... [INFO] [stdout] 686 | .position(|n| &**n == name) [INFO] [stdout] 687 ~ { Some(idx) => { [INFO] [stdout] 688 | if !self.is_toplevel() { [INFO] [stdout] ... [INFO] [stdout] 692 | } [INFO] [stdout] 693 ~ } _ => { [INFO] [stdout] 694 | None [INFO] [stdout] 695 ~ }}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> codegen.rs:713:23 [INFO] [stdout] | [INFO] [stdout] 713 | } else if let Some(idx) = block.codeobj.varnames.iter().position(|v| &**v == name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> codegen.rs:722:13 [INFO] [stdout] | [INFO] [stdout] 722 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 713 ~ } else { match block.codeobj.varnames.iter().position(|v| &**v == name) { Some(idx) => { [INFO] [stdout] 714 | if block_is_toplevel { [INFO] [stdout] ... [INFO] [stdout] 721 | } [INFO] [stdout] 722 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> codegen.rs:949:16 [INFO] [stdout] | [INFO] [stdout] 949 | if let Some(renamed) = renamed { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> codegen.rs:952:13 [INFO] [stdout] | [INFO] [stdout] 952 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 949 ~ match renamed { Some(renamed) => { [INFO] [stdout] 950 | self.emit_import_from_instr(item); [INFO] [stdout] 951 | self.emit_store_global_instr(renamed); [INFO] [stdout] 952 ~ } _ => { [INFO] [stdout] 953 | self.emit_import_from_instr(item.clone()); [INFO] [stdout] 954 | self.emit_store_global_instr(item); [INFO] [stdout] 955 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> codegen.rs:1093:23 [INFO] [stdout] | [INFO] [stdout] 1093 | .chain(if let Some(var_args) = ¶ms.var_params { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> codegen.rs:1098:13 [INFO] [stdout] | [INFO] [stdout] 1098 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1093 ~ .chain(match ¶ms.var_params { Some(var_args) => { [INFO] [stdout] 1094 | vec![( [INFO] [stdout] ... [INFO] [stdout] 1097 | )] [INFO] [stdout] 1098 ~ } _ => { [INFO] [stdout] 1099 | vec![] [INFO] [stdout] 1100 ~ }}) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> codegen.rs:1101:23 [INFO] [stdout] | [INFO] [stdout] 1101 | .chain(if let Some(kw_var_args) = ¶ms.kw_var_params { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> codegen.rs:1106:13 [INFO] [stdout] | [INFO] [stdout] 1106 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1101 ~ .chain(match ¶ms.kw_var_params { Some(kw_var_args) => { [INFO] [stdout] 1102 | vec![( [INFO] [stdout] ... [INFO] [stdout] 1105 | )] [INFO] [stdout] 1106 ~ } _ => { [INFO] [stdout] 1107 | vec![] [INFO] [stdout] 1108 ~ }}) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> codegen.rs:1142:20 [INFO] [stdout] | [INFO] [stdout] 1142 | if let Some(varname) = debind(&a.ident) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> codegen.rs:1146:17 [INFO] [stdout] | [INFO] [stdout] 1146 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1142 ~ match debind(&a.ident) { Some(varname) => { [INFO] [stdout] 1143 | a.ident.raw.vis = VisModifierSpec::Private; [INFO] [stdout] 1144 | a.ident.raw.name = VarName::from_str(varname); [INFO] [stdout] 1145 | self.emit_load_name_instr(a.ident); [INFO] [stdout] 1146 ~ } _ => { [INFO] [stdout] 1147 | self.emit_expr(*a.obj); [INFO] [stdout] 1148 | self.emit_load_attr_instr(a.ident); [INFO] [stdout] 1149 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> codegen.rs:1258:22 [INFO] [stdout] | [INFO] [stdout] 1258 | let req = if let Some(Expr::Record(req)) = trait_call.args.remove_left_or_key("Requirement") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> codegen.rs:1261:9 [INFO] [stdout] | [INFO] [stdout] 1261 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1258 ~ let req = match trait_call.args.remove_left_or_key("Requirement") [INFO] [stdout] 1259 ~ { Some(Expr::Record(req)) => { [INFO] [stdout] 1260 | req.attrs.into_iter() [INFO] [stdout] 1261 ~ } _ => { [INFO] [stdout] 1262 | vec![].into_iter() [INFO] [stdout] 1263 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> codegen.rs:2156:15 [INFO] [stdout] | [INFO] [stdout] 2156 | while let Some(arg) = args.try_remove(0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> codegen.rs:2159:9 [INFO] [stdout] | [INFO] [stdout] 2159 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> codegen.rs:2365:15 [INFO] [stdout] | [INFO] [stdout] 2365 | while let Some(expr) = args.try_remove(0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> codegen.rs:2395:9 [INFO] [stdout] | [INFO] [stdout] 2395 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> codegen.rs:2712:12 [INFO] [stdout] | [INFO] [stdout] 2712 | if let Some(attr_name) = call.attr_name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> codegen.rs:2714:9 [INFO] [stdout] | [INFO] [stdout] 2714 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2712 ~ match call.attr_name { Some(attr_name) => { [INFO] [stdout] 2713 | self.emit_call_method(*call.obj, attr_name, call.args); [INFO] [stdout] 2714 ~ } _ => { [INFO] [stdout] 2715 | match *call.obj { [INFO] [stdout] ... [INFO] [stdout] 2728 | } [INFO] [stdout] 2729 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> codegen.rs:2866:15 [INFO] [stdout] | [INFO] [stdout] 2866 | while let Some(arg) = args.try_remove_pos(0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> codegen.rs:2868:9 [INFO] [stdout] | [INFO] [stdout] 2868 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> codegen.rs:2876:15 [INFO] [stdout] | [INFO] [stdout] 2876 | while let Some(arg) = args.try_remove_kw(0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> codegen.rs:2879:9 [INFO] [stdout] | [INFO] [stdout] 2879 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> codegen.rs:2921:15 [INFO] [stdout] | [INFO] [stdout] 2921 | while let Some(arg) = args.try_remove_pos(0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> codegen.rs:2923:9 [INFO] [stdout] | [INFO] [stdout] 2923 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> codegen.rs:3086:23 [INFO] [stdout] | [INFO] [stdout] 3086 | while let Some(arg) = lis.elems.try_remove_pos(0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> codegen.rs:3088:17 [INFO] [stdout] | [INFO] [stdout] 3088 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> codegen.rs:3132:23 [INFO] [stdout] | [INFO] [stdout] 3132 | while let Some(arg) = tup.elems.try_remove_pos(0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> codegen.rs:3134:17 [INFO] [stdout] | [INFO] [stdout] 3134 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> codegen.rs:3152:23 [INFO] [stdout] | [INFO] [stdout] 3152 | while let Some(arg) = set.elems.try_remove_pos(0) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> codegen.rs:3154:17 [INFO] [stdout] | [INFO] [stdout] 3154 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> codegen.rs:3252:20 [INFO] [stdout] | [INFO] [stdout] 3252 | if let Expr::Accessor(acc) = attr.obj.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^--------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> codegen.rs:3254:17 [INFO] [stdout] | [INFO] [stdout] 3254 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3252 ~ match attr.obj.as_ref() { Expr::Accessor(acc) => { [INFO] [stdout] 3253 | Self::get_root(acc) [INFO] [stdout] 3254 ~ } _ => { [INFO] [stdout] 3255 | todo!("{:?}", attr.obj) [INFO] [stdout] 3256 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> codegen.rs:3447:16 [INFO] [stdout] | [INFO] [stdout] 3447 | if let GuardClause::Bind(bind) = guard { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> codegen.rs:3449:13 [INFO] [stdout] | [INFO] [stdout] 3449 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3447 ~ match guard { GuardClause::Bind(bind) => { [INFO] [stdout] 3448 | self.emit_def(bind); [INFO] [stdout] 3449 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> codegen.rs:3681:12 [INFO] [stdout] | [INFO] [stdout] 3681 | if let Ok(subr) = <&SubrType>::try_from(&ident.vi.t) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> codegen.rs:3718:9 [INFO] [stdout] | [INFO] [stdout] 3718 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3681 ~ match <&SubrType>::try_from(&ident.vi.t) { Ok(subr) => { [INFO] [stdout] 3682 | let mut params = Params::empty(); [INFO] [stdout] ... [INFO] [stdout] 3717 | self.emit_subr_def(Some(class_ident.inspect()), sig, body); [INFO] [stdout] 3718 ~ } _ => { [INFO] [stdout] 3719 | let params = Params::empty(); [INFO] [stdout] ... [INFO] [stdout] 3732 | self.emit_subr_def(Some(class_ident.inspect()), sig, body); [INFO] [stdout] 3733 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> codegen.rs:3749:23 [INFO] [stdout] | [INFO] [stdout] 3749 | let name = if let Some(name) = opt_name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> codegen.rs:3751:9 [INFO] [stdout] | [INFO] [stdout] 3751 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3749 ~ let name = match opt_name { Some(name) => { [INFO] [stdout] 3750 | name [INFO] [stdout] 3751 ~ } _ => { [INFO] [stdout] 3752 | self.fresh_gen.fresh_varname() [INFO] [stdout] 3753 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> codegen.rs:3791:16 [INFO] [stdout] | [INFO] [stdout] 3791 | if let GuardClause::Bind(bind) = guard { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> codegen.rs:3793:13 [INFO] [stdout] | [INFO] [stdout] 3793 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3791 ~ match guard { GuardClause::Bind(bind) => { [INFO] [stdout] 3792 | self.emit_def(bind); [INFO] [stdout] 3793 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/mod.rs:423:12 [INFO] [stdout] | [INFO] [stdout] 423 | if let Some(name) = ¶m.name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/mod.rs:425:9 [INFO] [stdout] | [INFO] [stdout] 425 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 423 ~ match ¶m.name { Some(name) => { [INFO] [stdout] 424 | ParamTy::kw(name.clone(), param.t.clone()) [INFO] [stdout] 425 ~ } _ => { [INFO] [stdout] 426 | ParamTy::Pos(param.t.clone()) [INFO] [stdout] 427 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/mod.rs:461:20 [INFO] [stdout] | [INFO] [stdout] 461 | if let Signature::Subr(subr) = &def.sig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/mod.rs:467:17 [INFO] [stdout] | [INFO] [stdout] 467 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 461 ~ match &def.sig { Signature::Subr(subr) => { [INFO] [stdout] 462 | if subr.ident.is_procedural() { [INFO] [stdout] ... [INFO] [stdout] 466 | } [INFO] [stdout] 467 ~ } _ => { [INFO] [stdout] 468 | Self::Instant [INFO] [stdout] 469 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/mod.rs:800:16 [INFO] [stdout] | [INFO] [stdout] 800 | if let Some(name) = param.name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/mod.rs:814:13 [INFO] [stdout] | [INFO] [stdout] 814 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 800 ~ match param.name { Some(name) => { [INFO] [stdout] 801 | let var_kind = VarKind::parameter(id, param.is_var_params, param.default_info); [INFO] [stdout] ... [INFO] [stdout] 813 | params_.push((Some(VarName::new(Token::symbol(&name))), vi)); [INFO] [stdout] 814 ~ } _ => { [INFO] [stdout] 815 | let var_kind = VarKind::parameter(id, param.is_var_params, param.default_info); [INFO] [stdout] ... [INFO] [stdout] 827 | params_.push((None, vi)); [INFO] [stdout] 828 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/mod.rs:1039:23 [INFO] [stdout] | [INFO] [stdout] 1039 | let name = if let Some(tr) = &impl_trait { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/mod.rs:1041:9 [INFO] [stdout] | [INFO] [stdout] 1041 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1039 ~ let name = match &impl_trait { Some(tr) => { [INFO] [stdout] 1040 | tr.local_name() [INFO] [stdout] 1041 ~ } _ => { [INFO] [stdout] 1042 | Str::ever("Methods") [INFO] [stdout] 1043 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/mod.rs:1216:12 [INFO] [stdout] | [INFO] [stdout] 1216 | if let ContextKind::MethodDefs(Some(tr)) = &self.kind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/mod.rs:1218:9 [INFO] [stdout] | [INFO] [stdout] 1218 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1216 ~ match &self.kind { ContextKind::MethodDefs(Some(tr)) => { [INFO] [stdout] 1217 | Some(tr.clone()) [INFO] [stdout] 1218 ~ } _ => { [INFO] [stdout] 1219 | None [INFO] [stdout] 1220 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/mod.rs:1360:12 [INFO] [stdout] | [INFO] [stdout] 1360 | if let Some(parent) = self.outer.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/mod.rs:1365:9 [INFO] [stdout] | [INFO] [stdout] 1365 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1360 ~ match self.outer.take() { Some(parent) => { [INFO] [stdout] 1361 | let ctx = mem::take(self); [INFO] [stdout] ... [INFO] [stdout] 1364 | ctx [INFO] [stdout] 1365 ~ } _ => { [INFO] [stdout] 1366 | panic!("cannot pop the top-level context (or use `pop_mod`)"); [INFO] [stdout] 1367 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/mod.rs:1545:20 [INFO] [stdout] | [INFO] [stdout] 1545 | if let ast::Expr::Accessor(ast::Accessor::Ident(ident)) = &arg.expr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/mod.rs:1553:17 [INFO] [stdout] | [INFO] [stdout] 1553 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1545 ~ match &arg.expr { ast::Expr::Accessor(ast::Accessor::Ident(ident)) => { [INFO] [stdout] 1546 | if self.subtype_of(arg_t, &Type::Type) { [INFO] [stdout] ... [INFO] [stdout] 1552 | let _ = tv_ctx.push_or_init_typaram(&ident.name, &tp, self); [INFO] [stdout] 1553 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/mod.rs:1547:28 [INFO] [stdout] | [INFO] [stdout] 1547 | if let Ok(tv) = self.convert_tp_into_type(tp.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/mod.rs:1550:25 [INFO] [stdout] | [INFO] [stdout] 1550 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1547 ~ match self.convert_tp_into_type(tp.clone()) { Ok(tv) => { [INFO] [stdout] 1548 | let _ = tv_ctx.push_or_init_tyvar(&ident.name, &tv, self); [INFO] [stdout] 1549 | continue; [INFO] [stdout] 1550 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/compare.rs:264:16 [INFO] [stdout] | [INFO] [stdout] 264 | if let ContextKind::GluePatch(tr_impl) = &patch.kind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/compare.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 270 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 264 ~ match &patch.kind { ContextKind::GluePatch(tr_impl) => { [INFO] [stdout] 265 | if self.subtype_of(sub, &tr_impl.sub_type) [INFO] [stdout] ... [INFO] [stdout] 269 | } [INFO] [stdout] 270 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/compare.rs:365:28 [INFO] [stdout] | [INFO] [stdout] 365 | if let Some(rpt) = rs [INFO] [stdout] | _____________________________^ - [INFO] [stdout] | | ____________________________________________| [INFO] [stdout] 366 | || .default_params [INFO] [stdout] | ||___________________________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 367 | | .iter() [INFO] [stdout] 368 | | .find(|rpt| rpt.name() == lpt.name()) [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 373 | } else if let Some(kw) = rs.kw_var_params.as_ref() { [INFO] [stdout] | ---------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/compare.rs:373:25 [INFO] [stdout] | [INFO] [stdout] 373 | } else if let Some(kw) = rs.kw_var_params.as_ref() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/compare.rs:377:25 [INFO] [stdout] | [INFO] [stdout] 377 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 365 ~ match rs [INFO] [stdout] 366 | .default_params [INFO] [stdout] 367 | .iter() [INFO] [stdout] 368 | .find(|rpt| rpt.name() == lpt.name()) [INFO] [stdout] 369 ~ { Some(rpt) => { [INFO] [stdout] 370 | if !self.subtype_of(lpt.typ(), rpt.typ()) { [INFO] [stdout] 371 | return false; [INFO] [stdout] 372 | } [INFO] [stdout] 373 ~ } _ => { match rs.kw_var_params.as_ref() { Some(kw) => { [INFO] [stdout] 374 | if !self.subtype_of(lpt.typ(), kw.typ()) { [INFO] [stdout] 375 | return false; [INFO] [stdout] 376 | } [INFO] [stdout] 377 ~ } _ => { [INFO] [stdout] 378 | return false; [INFO] [stdout] 379 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/compare.rs:399:45 [INFO] [stdout] | [INFO] [stdout] 399 | let non_defaults_judge = if let Some(r_var) = rs.var_params.as_deref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/compare.rs:404:17 [INFO] [stdout] | [INFO] [stdout] 404 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 399 ~ let non_defaults_judge = match rs.var_params.as_deref() { Some(r_var) => { [INFO] [stdout] 400 | ls.non_default_params [INFO] [stdout] ... [INFO] [stdout] 403 | .all(|(l, r)| self.subtype_of(l.typ(), r.typ())) [INFO] [stdout] 404 ~ } _ => { [INFO] [stdout] 405 | let rs_params = if !ls.is_method() && rs.is_method() { [INFO] [stdout] ... [INFO] [stdout] 420 | .all(|(l, r)| self.subtype_of(l.typ(), r.typ())) [INFO] [stdout] 421 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/compare.rs:538:20 [INFO] [stdout] | [INFO] [stdout] 538 | if let Some((_sub, sup)) = lfv.get_subsup() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 539 | lfv.do_avoiding_recursion_with(rhs, || self.supertype_of(&sup, rhs)) [INFO] [stdout] 540 | } else if let Some(lfvt) = lfv.get_type() { [INFO] [stdout] | -------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/compare.rs:540:17 [INFO] [stdout] | [INFO] [stdout] 540 | } else if let Some(lfvt) = lfv.get_type() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/compare.rs:559:17 [INFO] [stdout] | [INFO] [stdout] 559 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 538 ~ match lfv.get_subsup() { Some((_sub, sup)) => { [INFO] [stdout] 539 | lfv.do_avoiding_recursion_with(rhs, || self.supertype_of(&sup, rhs)) [INFO] [stdout] 540 ~ } _ => { match lfv.get_type() { Some(lfvt) => { [INFO] [stdout] 541 | // lfv: T: {Int, Str}, rhs: Int [INFO] [stdout] ... [INFO] [stdout] 558 | self.supertype_of(&lfvt, &rhs_meta) [INFO] [stdout] 559 ~ } _ => { [INFO] [stdout] 560 | // constraint is uninitialized [INFO] [stdout] 561 | log!(err "constraint is uninitialized: {lfv}/{rhs}"); [INFO] [stdout] 562 | true [INFO] [stdout] 563 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/compare.rs:569:20 [INFO] [stdout] | [INFO] [stdout] 569 | if let Some((sub, _sup)) = rfv.get_subsup() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 570 | rfv.do_avoiding_recursion_with(lhs, || self.supertype_of(lhs, &sub)) [INFO] [stdout] 571 | } else if let Some(rfvt) = rfv.get_type() { [INFO] [stdout] | -------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/compare.rs:571:17 [INFO] [stdout] | [INFO] [stdout] 571 | } else if let Some(rfvt) = rfv.get_type() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/compare.rs:574:17 [INFO] [stdout] | [INFO] [stdout] 574 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 569 ~ match rfv.get_subsup() { Some((sub, _sup)) => { [INFO] [stdout] 570 | rfv.do_avoiding_recursion_with(lhs, || self.supertype_of(lhs, &sub)) [INFO] [stdout] 571 ~ } _ => { match rfv.get_type() { Some(rfvt) => { [INFO] [stdout] 572 | let lhs_meta = self.meta_type(lhs); [INFO] [stdout] 573 | self.supertype_of(&lhs_meta, &rfvt) [INFO] [stdout] 574 ~ } _ => { [INFO] [stdout] 575 | // constraint is uninitialized [INFO] [stdout] 576 | log!(err "constraint is uninitialized: {lhs}/{rfv}"); [INFO] [stdout] 577 | true [INFO] [stdout] 578 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/compare.rs:646:20 [INFO] [stdout] | [INFO] [stdout] 646 | if let Ok(arr_t) = self.convert_tp_into_type(params[0].clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 647 | return self.supertype_of(ty, &arr_t); [INFO] [stdout] 648 | } else if let Ok(tps) = Vec::try_from(params[0].clone()) { [INFO] [stdout] | -------------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/compare.rs:648:17 [INFO] [stdout] | [INFO] [stdout] 648 | } else if let Ok(tps) = Vec::try_from(params[0].clone()) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/compare.rs:657:17 [INFO] [stdout] | [INFO] [stdout] 657 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 646 ~ match self.convert_tp_into_type(params[0].clone()) { Ok(arr_t) => { [INFO] [stdout] 647 | return self.supertype_of(ty, &arr_t); [INFO] [stdout] 648 ~ } _ => { match Vec::try_from(params[0].clone()) { Ok(tps) => { [INFO] [stdout] 649 | for tp in tps { [INFO] [stdout] ... [INFO] [stdout] 656 | } [INFO] [stdout] 657 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/compare.rs:765:20 [INFO] [stdout] | [INFO] [stdout] 765 | if let Some(r) = r.to_singleton() { [INFO] [stdout] | ^^^^^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 766 | return self.structural_supertype_of(lhs, &Type::Refinement(r)); [INFO] [stdout] 767 | } else if let Some(l) = self.refinement_to_poly(l) { [INFO] [stdout] | -------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/compare.rs:767:17 [INFO] [stdout] | [INFO] [stdout] 767 | } else if let Some(l) = self.refinement_to_poly(l) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/compare.rs:771:17 [INFO] [stdout] | [INFO] [stdout] 771 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 765 ~ match r.to_singleton() { Some(r) => { [INFO] [stdout] 766 | return self.structural_supertype_of(lhs, &Type::Refinement(r)); [INFO] [stdout] 767 ~ } _ => { match self.refinement_to_poly(l) { Some(l) => { [INFO] [stdout] 768 | if &l != lhs { [INFO] [stdout] 769 | return self.supertype_of(&l, r); [INFO] [stdout] 770 | } [INFO] [stdout] 771 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/compare.rs:895:24 [INFO] [stdout] | [INFO] [stdout] 895 | if let Some((r_field, r_ty)) = r_fields.get_key_value(&l_field) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/compare.rs:899:21 [INFO] [stdout] | [INFO] [stdout] 899 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 895 ~ match r_fields.get_key_value(&l_field) { Some((r_field, r_ty)) => { [INFO] [stdout] 896 | if r_field.vis != l_field.vis || !self.supertype_of(&l_ty, r_ty) { [INFO] [stdout] 897 | return false; [INFO] [stdout] 898 | } [INFO] [stdout] 899 ~ } _ => { [INFO] [stdout] 900 | return false; [INFO] [stdout] 901 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/compare.rs:1179:20 [INFO] [stdout] | [INFO] [stdout] 1179 | if let Ok(sup) = Self::convert_value_into_tp(sup.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/compare.rs:1181:17 [INFO] [stdout] | [INFO] [stdout] 1181 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1179 ~ match Self::convert_value_into_tp(sup.clone()) { Ok(sup) => { [INFO] [stdout] 1180 | self.supertype_of_tp(&sup, sub_p, variance) [INFO] [stdout] 1181 ~ } _ => { [INFO] [stdout] 1182 | self.eq_tp(sup_p, sub_p) [INFO] [stdout] 1183 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/compare.rs:1186:20 [INFO] [stdout] | [INFO] [stdout] 1186 | if let Ok(sub) = Self::convert_value_into_tp(sub.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/compare.rs:1188:17 [INFO] [stdout] | [INFO] [stdout] 1188 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1186 ~ match Self::convert_value_into_tp(sub.clone()) { Ok(sub) => { [INFO] [stdout] 1187 | self.supertype_of_tp(sup_p, &sub, variance) [INFO] [stdout] 1188 ~ } _ => { [INFO] [stdout] 1189 | self.eq_tp(sup_p, sub_p) [INFO] [stdout] 1190 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/compare.rs:1265:20 [INFO] [stdout] | [INFO] [stdout] 1265 | if let Ok(evaled) = self.eval_bin_tp(*op, lhs.as_ref().clone(), rhs.as_ref().clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/compare.rs:1272:17 [INFO] [stdout] | [INFO] [stdout] 1272 | } else { Some(Any) } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1265 ~ match self.eval_bin_tp(*op, lhs.as_ref().clone(), rhs.as_ref().clone()) { Ok(evaled) => { [INFO] [stdout] 1266 | // ?N + 1 == ?N + 1 [INFO] [stdout] ... [INFO] [stdout] 1271 | } [INFO] [stdout] 1272 ~ } _ => { Some(Any) }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/compare.rs:1275:20 [INFO] [stdout] | [INFO] [stdout] 1275 | if let Ok(evaled) = self.eval_unary_tp(*op, val.as_ref().clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/compare.rs:1282:17 [INFO] [stdout] | [INFO] [stdout] 1282 | } else { Some(Any) } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1275 ~ match self.eval_unary_tp(*op, val.as_ref().clone()) { Ok(evaled) => { [INFO] [stdout] 1276 | // -?N == -?N [INFO] [stdout] ... [INFO] [stdout] 1281 | } [INFO] [stdout] 1282 ~ } _ => { Some(Any) }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/compare.rs:1285:20 [INFO] [stdout] | [INFO] [stdout] 1285 | if let Ok(evaled) = self.eval_bin_tp(*op, lhs.as_ref().clone(), rhs.as_ref().clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/compare.rs:1291:17 [INFO] [stdout] | [INFO] [stdout] 1291 | } else { Some(Any) } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1285 ~ match self.eval_bin_tp(*op, lhs.as_ref().clone(), rhs.as_ref().clone()) { Ok(evaled) => { [INFO] [stdout] 1286 | if &evaled == r { [INFO] [stdout] ... [INFO] [stdout] 1290 | } [INFO] [stdout] 1291 ~ } _ => { Some(Any) }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/compare.rs:1294:20 [INFO] [stdout] | [INFO] [stdout] 1294 | if let Ok(evaled) = self.eval_unary_tp(*op, val.as_ref().clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/compare.rs:1300:17 [INFO] [stdout] | [INFO] [stdout] 1300 | } else { Some(Any) } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1294 ~ match self.eval_unary_tp(*op, val.as_ref().clone()) { Ok(evaled) => { [INFO] [stdout] 1295 | if &evaled == r { [INFO] [stdout] ... [INFO] [stdout] 1299 | } [INFO] [stdout] 1300 ~ } _ => { Some(Any) }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/compare.rs:1330:20 [INFO] [stdout] | [INFO] [stdout] 1330 | if let (Some(inf), Some(sup)) = (l_inf, l_sup) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/compare.rs:1373:17 [INFO] [stdout] | [INFO] [stdout] 1373 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1330 ~ match (l_inf, l_sup) { (Some(inf), Some(sup)) => { [INFO] [stdout] 1331 | let (Some(l), Some(r)) = (self.try_cmp(&inf, p), self.try_cmp(&sup, p)) else { [INFO] [stdout] ... [INFO] [stdout] 1372 | } [INFO] [stdout] 1373 ~ } _ => { [INFO] [stdout] 1374 | match (self.supertype_of(<, &pt), self.subtype_of(<, &pt)) { [INFO] [stdout] ... [INFO] [stdout] 1379 | } [INFO] [stdout] 1380 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/compare.rs:1499:24 [INFO] [stdout] | [INFO] [stdout] 1499 | if let Some(union) = self.union_tp(lp, rp) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/compare.rs:1501:21 [INFO] [stdout] | [INFO] [stdout] 1501 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1499 ~ match self.union_tp(lp, rp) { Some(union) => { [INFO] [stdout] 1500 | unified_params.push(union); [INFO] [stdout] 1501 ~ } _ => { [INFO] [stdout] 1502 | return self.simple_union(lhs, rhs); [INFO] [stdout] 1503 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/compare.rs:1531:24 [INFO] [stdout] | [INFO] [stdout] 1531 | if let Some(tp) = self.union_tp(l, r) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/compare.rs:1533:21 [INFO] [stdout] | [INFO] [stdout] 1533 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1531 ~ match self.union_tp(l, r) { Some(tp) => { [INFO] [stdout] 1532 | tps.push(tp); [INFO] [stdout] 1533 ~ } _ => { [INFO] [stdout] 1534 | return None; [INFO] [stdout] 1535 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/compare.rs:1720:24 [INFO] [stdout] | [INFO] [stdout] 1720 | if let Some(intersec) = self.intersection_tp(lp, rp) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/compare.rs:1722:21 [INFO] [stdout] | [INFO] [stdout] 1722 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1720 ~ match self.intersection_tp(lp, rp) { Some(intersec) => { [INFO] [stdout] 1721 | new_params.push(intersec); [INFO] [stdout] 1722 ~ } _ => { [INFO] [stdout] 1723 | return self.simple_intersection(lhs, rhs); [INFO] [stdout] 1724 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/compare.rs:1755:24 [INFO] [stdout] | [INFO] [stdout] 1755 | if let Some(tp) = self.intersection_tp(l, r) { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/compare.rs:1757:21 [INFO] [stdout] | [INFO] [stdout] 1757 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1755 ~ match self.intersection_tp(l, r) { Some(tp) => { [INFO] [stdout] 1756 | tps.push(tp); [INFO] [stdout] 1757 ~ } _ => { [INFO] [stdout] 1758 | return None; [INFO] [stdout] 1759 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/compare.rs:2221:20 [INFO] [stdout] | [INFO] [stdout] 2221 | if let Ok(Predicate::Value(ValueObj::Bool(evaled))) = self.eval_pred(pred.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/compare.rs:2223:17 [INFO] [stdout] | [INFO] [stdout] 2223 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2221 ~ match self.eval_pred(pred.clone()) { Ok(Predicate::Value(ValueObj::Bool(evaled))) => { [INFO] [stdout] 2222 | b == &evaled [INFO] [stdout] 2223 ~ } _ => { [INFO] [stdout] 2224 | false [INFO] [stdout] 2225 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/compare.rs:2294:32 [INFO] [stdout] | [INFO] [stdout] 2294 | ... if let Some(max) = &maybe_max { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/compare.rs:2298:29 [INFO] [stdout] | [INFO] [stdout] 2298 | ... } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2294 ~ match &maybe_max { Some(max) => { [INFO] [stdout] 2295 | if self.try_cmp(rhs, max) == Some(Greater) { [INFO] [stdout] 2296 | maybe_max = Some(rhs.clone()); [INFO] [stdout] 2297 | } [INFO] [stdout] 2298 ~ } _ => { [INFO] [stdout] 2299 | maybe_max = Some(rhs.clone()); [INFO] [stdout] 2300 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/compare.rs:2322:32 [INFO] [stdout] | [INFO] [stdout] 2322 | ... if let Some(min) = &maybe_min { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/compare.rs:2326:29 [INFO] [stdout] | [INFO] [stdout] 2326 | ... } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2322 ~ match &maybe_min { Some(min) => { [INFO] [stdout] 2323 | if self.try_cmp(rhs, min) == Some(Less) { [INFO] [stdout] 2324 | maybe_min = Some(rhs.clone()); [INFO] [stdout] 2325 | } [INFO] [stdout] 2326 ~ } _ => { [INFO] [stdout] 2327 | maybe_min = Some(rhs.clone()); [INFO] [stdout] 2328 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:191:16 [INFO] [stdout] | [INFO] [stdout] 191 | if let Some(inner) = st.ref_inner().or_else(|| st.ref_mut_inner()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 192 | return Self::substitute_typarams(ctx, qt, &inner); [INFO] [stdout] 193 | } else if let Some(sub) = st.get_sub() { [INFO] [stdout] | ------------ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | } else if let Some(sub) = st.get_sub() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 191 ~ match st.ref_inner().or_else(|| st.ref_mut_inner()) { Some(inner) => { [INFO] [stdout] 192 | return Self::substitute_typarams(ctx, qt, &inner); [INFO] [stdout] 193 ~ } _ => { match st.get_sub() { Some(sub) => { [INFO] [stdout] 194 | return Self::substitute_typarams(ctx, qt, &sub); [INFO] [stdout] 195 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:203:16 [INFO] [stdout] | [INFO] [stdout] 203 | if let Err(err) = self_.substitute_typaram(qtp, stp) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 203 ~ match self_.substitute_typaram(qtp, stp) { Err(err) => { [INFO] [stdout] 204 | errs.extend(err); [INFO] [stdout] 205 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:230:16 [INFO] [stdout] | [INFO] [stdout] 230 | if let Some(inner) = st.ref_inner().or_else(|| st.ref_mut_inner()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 231 | return Self::overwrite_typarams(ctx, qt, &inner); [INFO] [stdout] 232 | } else if let Some(sub) = st.get_sub() { [INFO] [stdout] | ------------ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | } else if let Some(sub) = st.get_sub() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 230 ~ match st.ref_inner().or_else(|| st.ref_mut_inner()) { Some(inner) => { [INFO] [stdout] 231 | return Self::overwrite_typarams(ctx, qt, &inner); [INFO] [stdout] 232 ~ } _ => { match st.get_sub() { Some(sub) => { [INFO] [stdout] 233 | return Self::overwrite_typarams(ctx, qt, &sub); [INFO] [stdout] 234 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:242:16 [INFO] [stdout] | [INFO] [stdout] 242 | if let Err(err) = self_.overwrite_typaram(qtp, stp) { [INFO] [stdout] | ^^^^^^^^^^^^^^^--------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 242 ~ match self_.overwrite_typaram(qtp, stp) { Err(err) => { [INFO] [stdout] 243 | errs.extend(err); [INFO] [stdout] 244 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:269:24 [INFO] [stdout] | [INFO] [stdout] 269 | if let Err(err) = self.substitute_typaram(qtp.clone(), stp) { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:271:21 [INFO] [stdout] | [INFO] [stdout] 271 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 269 ~ match self.substitute_typaram(qtp.clone(), stp) { Err(err) => { [INFO] [stdout] 270 | errs.extend(err); [INFO] [stdout] 271 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:299:16 [INFO] [stdout] | [INFO] [stdout] 299 | if let Some(union) = self.ctx.unify(&qt, &st) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 299 ~ match self.ctx.unify(&qt, &st) { Some(union) => { [INFO] [stdout] 300 | qt.undoable_link(&union, &self.undoable_linked); [INFO] [stdout] 301 ~ } _ => { [INFO] [stdout] 302 | return Err(EvalError::unification_error( [INFO] [stdout] ... [INFO] [stdout] 310 | .into()); [INFO] [stdout] 311 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:360:24 [INFO] [stdout] | [INFO] [stdout] 360 | if let Err(err) = self.overwrite_typaram(qtp.clone(), stp) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:362:21 [INFO] [stdout] | [INFO] [stdout] 362 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 360 ~ match self.overwrite_typaram(qtp.clone(), stp) { Err(err) => { [INFO] [stdout] 361 | errs.extend(err); [INFO] [stdout] 362 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:499:32 [INFO] [stdout] | [INFO] [stdout] 499 | ... if let Ok(obj) = mod_ctx.eval_const_ident(&attr.ident) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:501:29 [INFO] [stdout] | [INFO] [stdout] 501 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 499 ~ match mod_ctx.eval_const_ident(&attr.ident) { Ok(obj) => { [INFO] [stdout] 500 | return Ok(obj); [INFO] [stdout] 501 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:513:12 [INFO] [stdout] | [INFO] [stdout] 513 | if let Some(val) = self.tv_cache.as_ref().and_then(|tv| { [INFO] [stdout] | ____________^ - [INFO] [stdout] | |____________________________| [INFO] [stdout] 514 | || tv.get_tyvar(ident.inspect()) [INFO] [stdout] 515 | || .map(|t| ValueObj::builtin_type(t.clone())) [INFO] [stdout] 516 | || }) { [INFO] [stdout] | ||__________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |__________| [INFO] [stdout] | [INFO] [stdout] 517 | Some(val) [INFO] [stdout] 518 | } else if let Some(TyParam::Value(val)) = self [INFO] [stdout] | ___________________________________________________- [INFO] [stdout] 519 | | .tv_cache [INFO] [stdout] | |_____________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | } else if let Some(TyParam::Value(val)) = self [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:524:9 [INFO] [stdout] | [INFO] [stdout] 524 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 513 ~ match self.tv_cache.as_ref().and_then(|tv| { [INFO] [stdout] 514 | tv.get_tyvar(ident.inspect()) [INFO] [stdout] 515 | .map(|t| ValueObj::builtin_type(t.clone())) [INFO] [stdout] 516 ~ }) { Some(val) => { [INFO] [stdout] 517 | Some(val) [INFO] [stdout] 518 ~ } _ => { match self [INFO] [stdout] 519 | .tv_cache [INFO] [stdout] 520 | .as_ref() [INFO] [stdout] 521 | .and_then(|tv| tv.get_typaram(ident.inspect())) [INFO] [stdout] 522 ~ { Some(TyParam::Value(val)) => { [INFO] [stdout] 523 | Some(val.clone()) [INFO] [stdout] 524 ~ } _ => { [INFO] [stdout] 525 | None [INFO] [stdout] 526 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:530:12 [INFO] [stdout] | [INFO] [stdout] 530 | if let Some(val) = self.get_value_from_tv_cache(ident) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:532:9 [INFO] [stdout] | [INFO] [stdout] 532 | } else if let Some(val) = self.rec_get_const_obj(ident.inspect()) { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 530 ~ match self.get_value_from_tv_cache(ident) { Some(val) => { [INFO] [stdout] 531 | Ok(val) [INFO] [stdout] 532 ~ } _ => if let Some(val) = self.rec_get_const_obj(ident.inspect()) { [INFO] [stdout] 533 | Ok(val.clone()) [INFO] [stdout] ... [INFO] [stdout] 551 | ))) [INFO] [stdout] 552 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:569:28 [INFO] [stdout] | [INFO] [stdout] 569 | if let Some(v) = methods.consts.get(ident.inspect()) { [INFO] [stdout] | ^^^^^^^^^^^^^^--------------^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:571:25 [INFO] [stdout] | [INFO] [stdout] 571 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 569 ~ match methods.consts.get(ident.inspect()) { Some(v) => { [INFO] [stdout] 570 | return Ok(v.clone()); [INFO] [stdout] 571 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:670:12 [INFO] [stdout] | [INFO] [stdout] 670 | if let Expr::Accessor(acc) = call.obj.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^--------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:756:9 [INFO] [stdout] | [INFO] [stdout] 756 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 670 ~ match call.obj.as_ref() { Expr::Accessor(acc) => { [INFO] [stdout] 671 | match acc { [INFO] [stdout] ... [INFO] [stdout] 755 | } [INFO] [stdout] 756 ~ } _ => { [INFO] [stdout] 757 | Err(( [INFO] [stdout] ... [INFO] [stdout] 765 | )) [INFO] [stdout] 766 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:889:27 [INFO] [stdout] | [INFO] [stdout] 889 | let call = if let Some(Expr::Call(call)) = &def.body.block.first() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:891:13 [INFO] [stdout] | [INFO] [stdout] 891 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 889 ~ let call = match &def.body.block.first() { Some(Expr::Call(call)) => { [INFO] [stdout] 890 | Some(call) [INFO] [stdout] 891 ~ } _ => { [INFO] [stdout] 892 | None [INFO] [stdout] 893 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:1227:29 [INFO] [stdout] | [INFO] [stdout] 1227 | let var_params = if let Some(p) = lambda.sig.params.var_params.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:1242:9 [INFO] [stdout] | [INFO] [stdout] 1242 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1227 ~ let var_params = match lambda.sig.params.var_params.as_ref() { Some(p) => { [INFO] [stdout] 1228 | match self.instantiate_param_ty( [INFO] [stdout] ... [INFO] [stdout] 1241 | } [INFO] [stdout] 1242 ~ } _ => { [INFO] [stdout] 1243 | None [INFO] [stdout] 1244 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:1263:32 [INFO] [stdout] | [INFO] [stdout] 1263 | let kw_var_params = if let Some(p) = lambda.sig.params.kw_var_params.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^-------------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:1278:9 [INFO] [stdout] | [INFO] [stdout] 1278 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1263 ~ let kw_var_params = match lambda.sig.params.kw_var_params.as_ref() { Some(p) => { [INFO] [stdout] 1264 | match self.instantiate_param_ty( [INFO] [stdout] ... [INFO] [stdout] 1277 | } [INFO] [stdout] 1278 ~ } _ => { [INFO] [stdout] 1279 | None [INFO] [stdout] 1280 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:1564:20 [INFO] [stdout] | [INFO] [stdout] 1564 | if let Some((l, r)) = lhs.zip(rhs) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:1566:17 [INFO] [stdout] | [INFO] [stdout] 1566 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1564 ~ match lhs.zip(rhs) { Some((l, r)) => { [INFO] [stdout] 1565 | self.eval_or(ValueObj::builtin_type(l), ValueObj::builtin_type(r)) [INFO] [stdout] 1566 ~ } _ => { [INFO] [stdout] 1567 | Err(EvalErrors::from(EvalError::unreachable( [INFO] [stdout] ... [INFO] [stdout] 1571 | ))) [INFO] [stdout] 1572 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:1618:20 [INFO] [stdout] | [INFO] [stdout] 1618 | if let Some((l, r)) = lhs.zip(rhs) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:1620:17 [INFO] [stdout] | [INFO] [stdout] 1620 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1618 ~ match lhs.zip(rhs) { Some((l, r)) => { [INFO] [stdout] 1619 | self.eval_and(ValueObj::builtin_type(l), ValueObj::builtin_type(r)) [INFO] [stdout] 1620 ~ } _ => { [INFO] [stdout] 1621 | Err(EvalErrors::from(EvalError::unreachable( [INFO] [stdout] ... [INFO] [stdout] 1625 | ))) [INFO] [stdout] 1626 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:1818:12 [INFO] [stdout] | [INFO] [stdout] 1818 | if let Ok(value_args) = args [INFO] [stdout] | ____________^ - [INFO] [stdout] | |_________________________________| [INFO] [stdout] 1819 | || .iter() [INFO] [stdout] 1820 | || .map(|tp| self.convert_tp_into_value(tp.clone())) [INFO] [stdout] 1821 | || .collect::, _>>() [INFO] [stdout] | ||___________________________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |___________________________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:1830:9 [INFO] [stdout] | [INFO] [stdout] 1830 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1818 ~ match args [INFO] [stdout] 1819 | .iter() [INFO] [stdout] 1820 | .map(|tp| self.convert_tp_into_value(tp.clone())) [INFO] [stdout] 1821 | .collect::, _>>() [INFO] [stdout] 1822 ~ { Ok(value_args) => { [INFO] [stdout] 1823 | if let Some(ValueObj::Subr(subr)) = self.rec_get_const_obj(&name) { [INFO] [stdout] ... [INFO] [stdout] 1829 | } [INFO] [stdout] 1830 ~ } _ => { [INFO] [stdout] 1831 | log!(err "failed: eval_app({name}({}))", fmt_vec(&args)); [INFO] [stdout] 1832 | Ok(TyParam::app(name, args)) [INFO] [stdout] 1833 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:1823:16 [INFO] [stdout] | [INFO] [stdout] 1823 | if let Some(ValueObj::Subr(subr)) = self.rec_get_const_obj(&name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:1826:13 [INFO] [stdout] | [INFO] [stdout] 1826 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1823 ~ match self.rec_get_const_obj(&name) { Some(ValueObj::Subr(subr)) => { [INFO] [stdout] 1824 | let args = ValueArgs::pos_only(value_args); [INFO] [stdout] 1825 | self.call(subr.clone(), args, ().loc()) [INFO] [stdout] 1826 ~ } _ => { [INFO] [stdout] 1827 | log!(err "eval_app({name}({}))", fmt_vec(&args)); [INFO] [stdout] 1828 | Ok(TyParam::app(name, args)) [INFO] [stdout] 1829 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:2232:32 [INFO] [stdout] | [INFO] [stdout] 2232 | let after = if let Some(after) = after { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:2241:17 [INFO] [stdout] | [INFO] [stdout] 2241 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2232 ~ let after = match after { Some(after) => { [INFO] [stdout] 2233 | let aft = match self.eval_t_params(*after, level, t_loc) { [INFO] [stdout] ... [INFO] [stdout] 2240 | Some(aft) [INFO] [stdout] 2241 ~ } _ => { [INFO] [stdout] 2242 | None [INFO] [stdout] 2243 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:2261:24 [INFO] [stdout] | [INFO] [stdout] 2261 | if let Ok(args) = self.convert_args(None, subr, params.clone(), t_loc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:2267:21 [INFO] [stdout] | [INFO] [stdout] 2267 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2261 ~ match self.convert_args(None, subr, params.clone(), t_loc) { Ok(args) => { [INFO] [stdout] 2262 | let ret = self.call(subr.clone(), args, t_loc); [INFO] [stdout] ... [INFO] [stdout] 2266 | } [INFO] [stdout] 2267 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:2263:28 [INFO] [stdout] | [INFO] [stdout] 2263 | if let Some(t) = ret.ok().and_then(|tp| self.convert_tp_into_type(tp).ok()) [INFO] [stdout] | ^^^^^^^^^^^^^^---------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:2266:25 [INFO] [stdout] | [INFO] [stdout] 2266 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2263 ~ match ret.ok().and_then(|tp| self.convert_tp_into_type(tp).ok()) [INFO] [stdout] 2264 ~ { Some(t) => { [INFO] [stdout] 2265 | return Ok(t); [INFO] [stdout] 2266 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:2546:16 [INFO] [stdout] | [INFO] [stdout] 2546 | if let Some(value) = ctx.rec_get_const_obj(&rhs) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:2548:13 [INFO] [stdout] | [INFO] [stdout] 2548 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2546 ~ match ctx.rec_get_const_obj(&rhs) { Some(value) => { [INFO] [stdout] 2547 | return Ok(TyParam::value(value.clone())); [INFO] [stdout] 2548 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:2572:20 [INFO] [stdout] | [INFO] [stdout] 2572 | if let Some(value) = methods.rec_get_const_obj(&rhs) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:2574:17 [INFO] [stdout] | [INFO] [stdout] 2574 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2572 ~ match methods.rec_get_const_obj(&rhs) { Some(value) => { [INFO] [stdout] 2573 | return Ok(TyParam::value(value.clone())); [INFO] [stdout] 2574 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:2791:20 [INFO] [stdout] | [INFO] [stdout] 2791 | if let Predicate::Equal { rhs, .. } = refine.pred.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:2793:17 [INFO] [stdout] | [INFO] [stdout] 2793 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2791 ~ match refine.pred.as_ref() { Predicate::Equal { rhs, .. } => { [INFO] [stdout] 2792 | self.convert_tp_into_value(rhs.clone()).map_err(|_| typ) [INFO] [stdout] 2793 ~ } _ => { [INFO] [stdout] 2794 | Err(typ) [INFO] [stdout] 2795 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:3114:16 [INFO] [stdout] | [INFO] [stdout] 3114 | if let ValueObj::Type(quant_projected_t) = obj { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:3159:13 [INFO] [stdout] | [INFO] [stdout] 3159 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3114 ~ match obj { ValueObj::Type(quant_projected_t) => { [INFO] [stdout] 3115 | let projected_t = quant_projected_t.into_typ(); [INFO] [stdout] ... [INFO] [stdout] 3158 | } [INFO] [stdout] 3159 ~ } _ => { [INFO] [stdout] 3160 | log!(err "{obj}"); [INFO] [stdout] ... [INFO] [stdout] 3163 | } [INFO] [stdout] 3164 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:3117:36 [INFO] [stdout] | [INFO] [stdout] 3117 | let _sup_subs = if let Some((sup, quant_sup)) = opt_sup.zip(methods.impl_of()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:3125:17 [INFO] [stdout] | [INFO] [stdout] 3125 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3117 ~ let _sup_subs = match opt_sup.zip(methods.impl_of()) { Some((sup, quant_sup)) => { [INFO] [stdout] 3118 | // T -> Int, M -> 2 [INFO] [stdout] ... [INFO] [stdout] 3124 | } [INFO] [stdout] 3125 ~ } _ => { [INFO] [stdout] 3126 | None [INFO] [stdout] 3127 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:3153:20 [INFO] [stdout] | [INFO] [stdout] 3153 | if let Some(t) = res { [INFO] [stdout] | ^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:3158:17 [INFO] [stdout] | [INFO] [stdout] 3158 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3153 ~ match res { Some(t) => { [INFO] [stdout] 3154 | let mut tv_cache = TyVarCache::new(self.level, self); [INFO] [stdout] ... [INFO] [stdout] 3157 | return Triple::Ok(t); [INFO] [stdout] 3158 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:3178:20 [INFO] [stdout] | [INFO] [stdout] 3178 | if let Some(t) = tv_cache.get_tyvar(&name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:3180:17 [INFO] [stdout] | [INFO] [stdout] 3180 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3178 ~ match tv_cache.get_tyvar(&name) { Some(t) => { [INFO] [stdout] 3179 | t.clone() [INFO] [stdout] 3180 ~ } _ => { [INFO] [stdout] 3181 | let tv = Type::FreeVar(new_fv); [INFO] [stdout] ... [INFO] [stdout] 3184 | tv [INFO] [stdout] 3185 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:3207:20 [INFO] [stdout] | [INFO] [stdout] 3207 | if let Some(tp) = tv_cache.get_typaram(&name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:3209:17 [INFO] [stdout] | [INFO] [stdout] 3209 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3207 ~ match tv_cache.get_typaram(&name) { Some(tp) => { [INFO] [stdout] 3208 | tp.clone() [INFO] [stdout] 3209 ~ } _ => { [INFO] [stdout] 3210 | let tp = TyParam::FreeVar(new_fv); [INFO] [stdout] ... [INFO] [stdout] 3213 | tp [INFO] [stdout] 3214 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:3233:16 [INFO] [stdout] | [INFO] [stdout] 3233 | if let Ok(value) = self.convert_tp_into_value(lhs.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 3234 | pos_args.push(value); [INFO] [stdout] 3235 | } else if let Ok(value) = self.eval_tp_into_value(lhs.clone()) { [INFO] [stdout] | ------------------------------------ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:3235:13 [INFO] [stdout] | [INFO] [stdout] 3235 | } else if let Ok(value) = self.eval_tp_into_value(lhs.clone()) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:3237:13 [INFO] [stdout] | [INFO] [stdout] 3237 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3233 ~ match self.convert_tp_into_value(lhs.clone()) { Ok(value) => { [INFO] [stdout] 3234 | pos_args.push(value); [INFO] [stdout] 3235 ~ } _ => { match self.eval_tp_into_value(lhs.clone()) { Ok(value) => { [INFO] [stdout] 3236 | pos_args.push(value); [INFO] [stdout] 3237 ~ } _ => { [INFO] [stdout] 3238 | return feature_error!(self, t_loc.loc(), &format!("convert {lhs} to value")); [INFO] [stdout] 3239 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:3242:16 [INFO] [stdout] | [INFO] [stdout] 3242 | if let Ok(value) = self.convert_tp_into_value(pos_arg.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 3243 | pos_args.push(value); [INFO] [stdout] 3244 | } else if let Ok(value) = self.eval_tp_into_value(pos_arg.clone()) { [INFO] [stdout] | ---------------------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:3244:13 [INFO] [stdout] | [INFO] [stdout] 3244 | } else if let Ok(value) = self.eval_tp_into_value(pos_arg.clone()) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:3246:13 [INFO] [stdout] | [INFO] [stdout] 3246 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3242 ~ match self.convert_tp_into_value(pos_arg.clone()) { Ok(value) => { [INFO] [stdout] 3243 | pos_args.push(value); [INFO] [stdout] 3244 ~ } _ => { match self.eval_tp_into_value(pos_arg.clone()) { Ok(value) => { [INFO] [stdout] 3245 | pos_args.push(value); [INFO] [stdout] 3246 ~ } _ => { [INFO] [stdout] 3247 | return feature_error!(self, t_loc.loc(), &format!("convert {pos_arg} to value")); [INFO] [stdout] 3248 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:3261:12 [INFO] [stdout] | [INFO] [stdout] 3261 | if let ValueObj::Subr(subr) = obj { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:3265:9 [INFO] [stdout] | [INFO] [stdout] 3265 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3261 ~ match obj { ValueObj::Subr(subr) => { [INFO] [stdout] 3262 | let args = self.convert_args(Some(lhs), &subr, args, t_loc)?; [INFO] [stdout] 3263 | let tp = self.call(subr, args, t_loc.loc()).map_err(|(_, e)| e)?; [INFO] [stdout] 3264 | Ok(tp) [INFO] [stdout] 3265 ~ } _ => { [INFO] [stdout] 3266 | feature_error!(self, t_loc.loc(), "do_proj_call: ??") [INFO] [stdout] 3267 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:3337:20 [INFO] [stdout] | [INFO] [stdout] 3337 | if let Ok(obj) = methods.get_const_local(&Token::symbol(&attr_name), &self.name) { [INFO] [stdout] | ^^^^^^^^^^^^^^--------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:3339:17 [INFO] [stdout] | [INFO] [stdout] 3339 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3337 ~ match methods.get_const_local(&Token::symbol(&attr_name), &self.name) { Ok(obj) => { [INFO] [stdout] 3338 | return self.do_proj_call_t(obj, lhs, args, t_loc); [INFO] [stdout] 3339 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:3343:16 [INFO] [stdout] | [INFO] [stdout] 3343 | if let Some((sub, sup)) = fv.get_subsup() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:3367:13 [INFO] [stdout] | [INFO] [stdout] 3367 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3343 ~ match fv.get_subsup() { Some((sub, sup)) => { [INFO] [stdout] 3344 | if self.is_trait(&sup) && !self.trait_impl_exists(&sub, &sup) { [INFO] [stdout] ... [INFO] [stdout] 3366 | } [INFO] [stdout] 3367 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:3414:20 [INFO] [stdout] | [INFO] [stdout] 3414 | if let Ok(obj) = methods.get_const_local(&Token::symbol(&attr_name), &self.name) { [INFO] [stdout] | ^^^^^^^^^^^^^^--------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:3416:17 [INFO] [stdout] | [INFO] [stdout] 3416 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3414 ~ match methods.get_const_local(&Token::symbol(&attr_name), &self.name) { Ok(obj) => { [INFO] [stdout] 3415 | return self.do_proj_call(obj, lhs, args, t_loc); [INFO] [stdout] 3416 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:3420:16 [INFO] [stdout] | [INFO] [stdout] 3420 | if let Some((sub, sup)) = fv.get_subsup() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:3444:13 [INFO] [stdout] | [INFO] [stdout] 3444 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3420 ~ match fv.get_subsup() { Some((sub, sup)) => { [INFO] [stdout] 3421 | if self.is_trait(&sup) && !self.trait_impl_exists(&sub, &sup) { [INFO] [stdout] ... [INFO] [stdout] 3443 | } [INFO] [stdout] 3444 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:3529:30 [INFO] [stdout] | [INFO] [stdout] 3529 | let res = if let Some(name) = name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:3531:17 [INFO] [stdout] | [INFO] [stdout] 3531 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3529 ~ let res = match name { Some(name) => { [INFO] [stdout] 3530 | self.eval_proj_call(receiver, name, new_args, &()) [INFO] [stdout] 3531 ~ } _ => { [INFO] [stdout] 3532 | self.eval_call(receiver, new_args, &()) [INFO] [stdout] 3533 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:3541:20 [INFO] [stdout] | [INFO] [stdout] 3541 | if let Ok(v) = self.convert_tp_into_value(tp) { [INFO] [stdout] | ^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:3543:17 [INFO] [stdout] | [INFO] [stdout] 3543 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3541 ~ match self.convert_tp_into_value(tp) { Ok(v) => { [INFO] [stdout] 3542 | Predicate::Value(v) [INFO] [stdout] 3543 ~ } _ => { [INFO] [stdout] 3544 | errs.push(EvalError::feature_error( [INFO] [stdout] ... [INFO] [stdout] 3551 | Predicate::Failure [INFO] [stdout] 3552 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:3718:20 [INFO] [stdout] | [INFO] [stdout] 3718 | if let Some(t) = fv.get_type() { [INFO] [stdout] | ^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:3720:17 [INFO] [stdout] | [INFO] [stdout] 3720 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3718 ~ match fv.get_type() { Some(t) => { [INFO] [stdout] 3719 | Ok(t) [INFO] [stdout] 3720 ~ } _ => { [INFO] [stdout] 3721 | feature_error!(self, Location::Unknown, "??") [INFO] [stdout] 3722 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:3771:32 [INFO] [stdout] | [INFO] [stdout] 3771 | ... if let Some(typ) = p.local_name().and_then(|name| { [INFO] [stdout] | __________________________^ - [INFO] [stdout] | |__________________________________________| [INFO] [stdout] 3772 | || ... namespace.get_tp_t(&TyParam::app(name, args.clone())).ok() [INFO] [stdout] 3773 | || ... }) { [INFO] [stdout] | ||________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:3775:29 [INFO] [stdout] | [INFO] [stdout] 3775 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3771 ~ match p.local_name().and_then(|name| { [INFO] [stdout] 3772 | namespace.get_tp_t(&TyParam::app(name, args.clone())).ok() [INFO] [stdout] 3773 ~ }) { Some(typ) => { [INFO] [stdout] 3774 | return Some(typ); [INFO] [stdout] 3775 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:3788:31 [INFO] [stdout] | [INFO] [stdout] 3788 | let tp_t = if let Some(fst) = tps.first() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:3790:17 [INFO] [stdout] | [INFO] [stdout] 3790 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3788 ~ let tp_t = match tps.first() { Some(fst) => { [INFO] [stdout] 3789 | self.get_tp_t(fst)? [INFO] [stdout] 3790 ~ } _ => { [INFO] [stdout] 3791 | Never [INFO] [stdout] 3792 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:3857:32 [INFO] [stdout] | [INFO] [stdout] 3857 | ... if let Some(ret_t) = subr.sig_t().return_t() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:3859:29 [INFO] [stdout] | [INFO] [stdout] 3859 | ... } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3857 ~ match subr.sig_t().return_t() { Some(ret_t) => { [INFO] [stdout] 3858 | return Ok(ret_t.clone()); [INFO] [stdout] 3859 ~ } _ => { [INFO] [stdout] 3860 | return Err(EvalErrors::from(EvalError::unreachable( [INFO] [stdout] ... [INFO] [stdout] 3864 | ))); [INFO] [stdout] 3865 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:3896:20 [INFO] [stdout] | [INFO] [stdout] 3896 | if let Some(t) = fv.get_type() { [INFO] [stdout] | ^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:3898:17 [INFO] [stdout] | [INFO] [stdout] 3898 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3896 ~ match fv.get_type() { Some(t) => { [INFO] [stdout] 3897 | Ok(t) [INFO] [stdout] 3898 ~ } _ => { [INFO] [stdout] 3899 | feature_error!(self, Location::Unknown, "??") [INFO] [stdout] 3900 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:3971:20 [INFO] [stdout] | [INFO] [stdout] 3971 | if let Ok(tp) = Self::convert_value_into_tp(v.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^-------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:3973:17 [INFO] [stdout] | [INFO] [stdout] 3973 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3971 ~ match Self::convert_value_into_tp(v.clone()) { Ok(tp) => { [INFO] [stdout] 3972 | self.shallow_eq_tp(&tp, rhs) [INFO] [stdout] 3973 ~ } _ => { [INFO] [stdout] 3974 | false [INFO] [stdout] 3975 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/eval.rs:3978:20 [INFO] [stdout] | [INFO] [stdout] 3978 | if let Ok(tp) = Self::convert_value_into_tp(v.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^-------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/eval.rs:3980:17 [INFO] [stdout] | [INFO] [stdout] 3980 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3978 ~ match Self::convert_value_into_tp(v.clone()) { Ok(tp) => { [INFO] [stdout] 3979 | self.shallow_eq_tp(lhs, &tp) [INFO] [stdout] 3980 ~ } _ => { [INFO] [stdout] 3981 | false [INFO] [stdout] 3982 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/generalize.rs:181:20 [INFO] [stdout] | [INFO] [stdout] 181 | if let Some((sub, sup)) = fv.get_subsup() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/generalize.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 181 ~ match fv.get_subsup() { Some((sub, sup)) => { [INFO] [stdout] 182 | // |Int <: T <: Int| T -> T ==> Int -> Int [INFO] [stdout] ... [INFO] [stdout] 205 | } [INFO] [stdout] 206 ~ } _ => { [INFO] [stdout] 207 | // ?S(: Str) => 'S [INFO] [stdout] 208 | fv.update_constraint(self.generalize_constraint(&fv), true); [INFO] [stdout] 209 | Type::FreeVar(fv) [INFO] [stdout] 210 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/generalize.rs:333:12 [INFO] [stdout] | [INFO] [stdout] 333 | if let Some((sub, sup)) = fv.get_subsup() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 337 | } else if let Some(ty) = fv.get_type() { [INFO] [stdout] | ------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/generalize.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | } else if let Some(ty) = fv.get_type() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/generalize.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 333 ~ match fv.get_subsup() { Some((sub, sup)) => { [INFO] [stdout] 334 | let sub = self.generalize_t(sub, true); [INFO] [stdout] 335 | let sup = self.generalize_t(sup, true); [INFO] [stdout] 336 | Constraint::new_sandwiched(sub, sup) [INFO] [stdout] 337 ~ } _ => { match fv.get_type() { Some(ty) => { [INFO] [stdout] 338 | let t = self.generalize_t(ty, true); [INFO] [stdout] 339 | Constraint::new_type_of(t) [INFO] [stdout] 340 ~ } _ => { [INFO] [stdout] 341 | unreachable!() [INFO] [stdout] 342 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/generalize.rs:598:32 [INFO] [stdout] | [INFO] [stdout] 598 | ... if let Some(union) = self.ctx.union_tp(&mem::take(old_v), &v) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/generalize.rs:600:29 [INFO] [stdout] | [INFO] [stdout] 600 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 598 ~ match self.ctx.union_tp(&mem::take(old_v), &v) { Some(union) => { [INFO] [stdout] 599 | *old_v = union; [INFO] [stdout] 600 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/generalize.rs:777:33 [INFO] [stdout] | [INFO] [stdout] 777 | let evaled = if let Some(name) = &name { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/generalize.rs:780:17 [INFO] [stdout] | [INFO] [stdout] 780 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 777 ~ let evaled = match &name { Some(name) => { [INFO] [stdout] 778 | self.ctx [INFO] [stdout] 779 | .eval_proj_call(receiver.clone(), name.clone(), new_args.clone(), &()) [INFO] [stdout] 780 ~ } _ => { [INFO] [stdout] 781 | self.ctx.eval_call(receiver.clone(), new_args.clone(), &()) [INFO] [stdout] 782 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/generalize.rs:901:32 [INFO] [stdout] | [INFO] [stdout] 901 | ... if let Ok(ty) = self.ctx.convert_tp_into_type(tp.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^^----------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/generalize.rs:903:29 [INFO] [stdout] | [INFO] [stdout] 903 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 901 ~ match self.ctx.convert_tp_into_type(tp.clone()) { Ok(ty) => { [INFO] [stdout] 902 | union = self.ctx.union(&union, &ty); [INFO] [stdout] 903 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/generalize.rs:1024:32 [INFO] [stdout] | [INFO] [stdout] 1024 | let after = if let Some(after) = after { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/generalize.rs:1026:17 [INFO] [stdout] | [INFO] [stdout] 1026 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1024 ~ let after = match after { Some(after) => { [INFO] [stdout] 1025 | Some(self.deref_tyvar(*after)?) [INFO] [stdout] 1026 ~ } _ => { [INFO] [stdout] 1027 | None [INFO] [stdout] 1028 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/generalize.rs:1416:16 [INFO] [stdout] | [INFO] [stdout] 1416 | if let Err(es) = self.resolve_expr_t(chunk, &set! {}) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/generalize.rs:1418:13 [INFO] [stdout] | [INFO] [stdout] 1418 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1416 ~ match self.resolve_expr_t(chunk, &set! {}) { Err(es) => { [INFO] [stdout] 1417 | errs.extend(es); [INFO] [stdout] 1418 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/generalize.rs:1435:16 [INFO] [stdout] | [INFO] [stdout] 1435 | if let Ok(t) = derferencer.deref_tyvar(mem::take(&mut vi.t)) { [INFO] [stdout] | ^^^^^^^^^^^^--------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/generalize.rs:1437:13 [INFO] [stdout] | [INFO] [stdout] 1437 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1435 ~ match derferencer.deref_tyvar(mem::take(&mut vi.t)) { Ok(t) => { [INFO] [stdout] 1436 | vi.t = t; [INFO] [stdout] 1437 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/generalize.rs:1442:16 [INFO] [stdout] | [INFO] [stdout] 1442 | if let Ok(t) = derferencer.deref_tyvar(mem::take(&mut vi.t)) { [INFO] [stdout] | ^^^^^^^^^^^^--------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/generalize.rs:1444:13 [INFO] [stdout] | [INFO] [stdout] 1444 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1442 ~ match derferencer.deref_tyvar(mem::take(&mut vi.t)) { Ok(t) => { [INFO] [stdout] 1443 | vi.t = t; [INFO] [stdout] 1444 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/generalize.rs:1652:24 [INFO] [stdout] | [INFO] [stdout] 1652 | if let Err(es) = self.resolve_expr_t(chunk, &qnames) { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/generalize.rs:1654:21 [INFO] [stdout] | [INFO] [stdout] 1654 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1652 ~ match self.resolve_expr_t(chunk, &qnames) { Err(es) => { [INFO] [stdout] 1653 | errs.extend(es); [INFO] [stdout] 1654 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/generalize.rs:1708:25 [INFO] [stdout] | [INFO] [stdout] 1708 | let qnames = if let Type::Quantified(quant) = def.sig.ref_t() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/generalize.rs:1714:9 [INFO] [stdout] | [INFO] [stdout] 1714 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1708 ~ let qnames = match def.sig.ref_t() { Type::Quantified(quant) => { [INFO] [stdout] 1709 | // double quantification is not allowed [INFO] [stdout] ... [INFO] [stdout] 1713 | subr.essential_qnames() [INFO] [stdout] 1714 ~ } _ => { [INFO] [stdout] 1715 | qnames.clone() [INFO] [stdout] 1716 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/hint.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 50 | if let Predicate::Equal { rhs: accessed, .. } = pred { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/hint.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 50 ~ match pred { Predicate::Equal { rhs: accessed, .. } => { [INFO] [stdout] 51 | let accessed = if let TyParam::Value(value) = &accessed { [INFO] [stdout] ... [INFO] [stdout] 65 | }); [INFO] [stdout] 66 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/hint.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | let accessed = if let TyParam::Value(value) = &accessed { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/hint.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 51 ~ let accessed = match &accessed { TyParam::Value(value) => { [INFO] [stdout] 52 | value [INFO] [stdout] ... [INFO] [stdout] 56 | .unwrap_or_else(|| accessed.clone()) [INFO] [stdout] 57 ~ } _ => { [INFO] [stdout] 58 | accessed.clone() [INFO] [stdout] 59 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/hint.rs:115:20 [INFO] [stdout] | [INFO] [stdout] 115 | if let Some(hint) = self.get_record_type_mismatch_hint(&expt, &fnd) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/hint.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 115 ~ match self.get_record_type_mismatch_hint(&expt, &fnd) { Some(hint) => { [INFO] [stdout] 116 | return Some(hint); [INFO] [stdout] 117 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/initialize/mod.rs:762:16 [INFO] [stdout] | [INFO] [stdout] 762 | if let Type::Subr(subr) = &t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/initialize/mod.rs:766:13 [INFO] [stdout] | [INFO] [stdout] 766 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 762 ~ match &t { Type::Subr(subr) => { [INFO] [stdout] 763 | if subr.has_qvar() { [INFO] [stdout] 764 | panic!("not quantified subr: {subr}"); [INFO] [stdout] 765 | } [INFO] [stdout] 766 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/initialize/mod.rs:808:16 [INFO] [stdout] | [INFO] [stdout] 808 | if let Type::Subr(subr) = &t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/initialize/mod.rs:812:13 [INFO] [stdout] | [INFO] [stdout] 812 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 808 ~ match &t { Type::Subr(subr) => { [INFO] [stdout] 809 | if subr.has_qvar() { [INFO] [stdout] 810 | panic!("not quantified subr: {subr}"); [INFO] [stdout] 811 | } [INFO] [stdout] 812 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/initialize/mod.rs:824:12 [INFO] [stdout] | [INFO] [stdout] 824 | if let Some(_vi) = self.locals.get(&name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/initialize/mod.rs:828:9 [INFO] [stdout] | [INFO] [stdout] 828 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 824 ~ match self.locals.get(&name) { Some(_vi) => { [INFO] [stdout] 825 | if _vi != &vi { [INFO] [stdout] 826 | unreachable!("already registered: {} {name}", self.name); [INFO] [stdout] 827 | } [INFO] [stdout] 828 ~ } _ => { [INFO] [stdout] 829 | self.locals.insert(name, vi); [INFO] [stdout] 830 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/initialize/mod.rs:919:20 [INFO] [stdout] | [INFO] [stdout] 919 | if let ValueObj::Subr(ConstSubr::Builtin(BuiltinConstSubr { [INFO] [stdout] | ____________________^ [INFO] [stdout] 920 | | sig_t: Type::Subr(subr), [INFO] [stdout] 921 | | .. [INFO] [stdout] 922 | | })) = &obj [INFO] [stdout] | |________________________--^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/initialize/mod.rs:927:17 [INFO] [stdout] | [INFO] [stdout] 927 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 919 ~ match &obj [INFO] [stdout] 920 ~ { ValueObj::Subr(ConstSubr::Builtin(BuiltinConstSubr { [INFO] [stdout] 921 + sig_t: Type::Subr(subr), [INFO] [stdout] 922 + .. [INFO] [stdout] 923 ~ })) => { [INFO] [stdout] 924 | if subr.has_qvar() { [INFO] [stdout] 925 | panic!("not quantified subr: {subr}"); [INFO] [stdout] 926 | } [INFO] [stdout] 927 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/initialize/mod.rs:959:20 [INFO] [stdout] | [INFO] [stdout] 959 | if let ValueObj::Subr(ConstSubr::Builtin(BuiltinConstSubr { [INFO] [stdout] | ____________________^ [INFO] [stdout] 960 | | sig_t: Type::Subr(subr), [INFO] [stdout] 961 | | .. [INFO] [stdout] 962 | | })) = &obj [INFO] [stdout] | |________________________--^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/initialize/mod.rs:967:17 [INFO] [stdout] | [INFO] [stdout] 967 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 959 ~ match &obj [INFO] [stdout] 960 ~ { ValueObj::Subr(ConstSubr::Builtin(BuiltinConstSubr { [INFO] [stdout] 961 + sig_t: Type::Subr(subr), [INFO] [stdout] 962 + .. [INFO] [stdout] 963 ~ })) => { [INFO] [stdout] 964 | if subr.has_qvar() { [INFO] [stdout] 965 | panic!("not quantified subr: {subr}"); [INFO] [stdout] 966 | } [INFO] [stdout] 967 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/initialize/mod.rs:1079:12 [INFO] [stdout] | [INFO] [stdout] 1079 | if let Some(root_ctx) = self.poly_types.get_mut(&t.local_name()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/initialize/mod.rs:1083:9 [INFO] [stdout] | [INFO] [stdout] 1083 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1079 ~ match self.poly_types.get_mut(&t.local_name()) { Some(root_ctx) => { [INFO] [stdout] 1080 | root_ctx [INFO] [stdout] 1081 | .methods_list [INFO] [stdout] 1082 | .push(MethodContext::new(DefId(0), ClassDefType::Simple(t), ctx)); [INFO] [stdout] 1083 ~ } _ => { [INFO] [stdout] 1084 | let ret_val = match ctx.kind { [INFO] [stdout] ... [INFO] [stdout] 1144 | self.poly_types.insert(name, TypeContext::new(t, ctx)); [INFO] [stdout] 1145 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/initialize/mod.rs:1152:16 [INFO] [stdout] | [INFO] [stdout] 1152 | if let Some(mut impls) = self.trait_impls().get_mut(&impl_trait.qual_name()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^--------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/initialize/mod.rs:1158:13 [INFO] [stdout] | [INFO] [stdout] 1158 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1152 ~ match self.trait_impls().get_mut(&impl_trait.qual_name()) { Some(mut impls) => { [INFO] [stdout] 1153 | impls.insert(TraitImpl::new( [INFO] [stdout] ... [INFO] [stdout] 1157 | )); [INFO] [stdout] 1158 ~ } _ => { [INFO] [stdout] 1159 | self.trait_impls().register( [INFO] [stdout] ... [INFO] [stdout] 1166 | ); [INFO] [stdout] 1167 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/initialize/mod.rs:1170:16 [INFO] [stdout] | [INFO] [stdout] 1170 | if let Some(traits) = self.method_to_traits.get_mut(trait_method.inspect()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/initialize/mod.rs:1172:13 [INFO] [stdout] | [INFO] [stdout] 1172 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1170 ~ match self.method_to_traits.get_mut(trait_method.inspect()) { Some(traits) => { [INFO] [stdout] 1171 | traits.push(MethodPair::new(t.clone(), vi.clone())); [INFO] [stdout] 1172 ~ } _ => { [INFO] [stdout] 1173 | self.method_to_traits.insert( [INFO] [stdout] ... [INFO] [stdout] 1176 | ); [INFO] [stdout] 1177 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/initialize/mod.rs:1180:16 [INFO] [stdout] | [INFO] [stdout] 1180 | if let Some(types) = self.method_to_classes.get_mut(class_method.inspect()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/initialize/mod.rs:1182:13 [INFO] [stdout] | [INFO] [stdout] 1182 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1180 ~ match self.method_to_classes.get_mut(class_method.inspect()) { Some(types) => { [INFO] [stdout] 1181 | types.push(MethodPair::new(t.clone(), vi.clone())); [INFO] [stdout] 1182 ~ } _ => { [INFO] [stdout] 1183 | self.method_to_classes.insert( [INFO] [stdout] ... [INFO] [stdout] 1186 | ); [INFO] [stdout] 1187 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/initialize/mod.rs:1217:20 [INFO] [stdout] | [INFO] [stdout] 1217 | if let Some(patches) = self.method_impl_patches.get_mut(method_name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------------------^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/initialize/mod.rs:1219:17 [INFO] [stdout] | [INFO] [stdout] 1219 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1217 ~ match self.method_impl_patches.get_mut(method_name) { Some(patches) => { [INFO] [stdout] 1218 | patches.push(name.clone()); [INFO] [stdout] 1219 ~ } _ => { [INFO] [stdout] 1220 | self.method_impl_patches [INFO] [stdout] 1221 | .insert(method_name.clone(), vec![name.clone()]); [INFO] [stdout] 1222 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/initialize/mod.rs:1225:20 [INFO] [stdout] | [INFO] [stdout] 1225 | if let Some(mut impls) = self.trait_impls().get_mut(&tr_impl.sup_trait.qual_name()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/initialize/mod.rs:1228:17 [INFO] [stdout] | [INFO] [stdout] 1228 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1225 ~ match self.trait_impls().get_mut(&tr_impl.sup_trait.qual_name()) [INFO] [stdout] 1226 ~ { Some(mut impls) => { [INFO] [stdout] 1227 | impls.insert(tr_impl.clone()); [INFO] [stdout] 1228 ~ } _ => { [INFO] [stdout] 1229 | self.trait_impls() [INFO] [stdout] 1230 | .register(tr_impl.sup_trait.qual_name(), set![tr_impl.clone()]); [INFO] [stdout] 1231 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/initialize/const_func.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 80 | if let Some(base) = value.as_type(ctx) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/initialize/const_func.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 80 ~ match value.as_type(ctx) { Some(base) => { [INFO] [stdout] 81 | Ok(ValueObj::gen_t(GenTypeObj::class(t, Some(base), impls, true)).into()) [INFO] [stdout] 82 ~ } _ => { [INFO] [stdout] 83 | Err(type_mismatch("type", value, "Base")) [INFO] [stdout] 84 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/initialize/const_func.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 216 | if let Some(v) = slf.get(index) { [INFO] [stdout] | ^^^^^^^^^^^^^^---^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/initialize/const_func.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 216 ~ match slf.get(index) { Some(v) => { [INFO] [stdout] 217 | Ok(v.clone().into()) [INFO] [stdout] 218 ~ } _ => { [INFO] [stdout] 219 | Err(ErrorCore::new( [INFO] [stdout] ... [INFO] [stdout] 231 | .into()) [INFO] [stdout] 232 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/initialize/const_func.rs:345:8 [INFO] [stdout] | [INFO] [stdout] 345 | if let Some(v) = slf [INFO] [stdout] | ^ --- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | ________| [INFO] [stdout] | | [INFO] [stdout] 346 | | .linear_get(&index) [INFO] [stdout] 347 | | .or_else(|| sub_vdict_get(&slf, &index, ctx)) [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 350 | } else if let Some(v) = sub_vdict_get(&homogenize_dict(&slf, ctx), &index, ctx).cloned() { [INFO] [stdout] | ---------------------------------------------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/initialize/const_func.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | } else if let Some(v) = sub_vdict_get(&homogenize_dict(&slf, ctx), &index, ctx).cloned() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/initialize/const_func.rs:352:5 [INFO] [stdout] | [INFO] [stdout] 352 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 345 ~ match slf [INFO] [stdout] 346 | .linear_get(&index) [INFO] [stdout] 347 | .or_else(|| sub_vdict_get(&slf, &index, ctx)) [INFO] [stdout] 348 ~ { Some(v) => { [INFO] [stdout] 349 | Ok(v.clone().into()) [INFO] [stdout] 350 ~ } _ => { match sub_vdict_get(&homogenize_dict(&slf, ctx), &index, ctx).cloned() { Some(v) => { [INFO] [stdout] 351 | Ok(v.into()) [INFO] [stdout] 352 ~ } _ => { [INFO] [stdout] 353 | let index = if let ValueObj::Type(t) = &index { [INFO] [stdout] ... [INFO] [stdout] 358 | Err(no_key(slf, index)) [INFO] [stdout] 359 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/initialize/const_func.rs:353:24 [INFO] [stdout] | [INFO] [stdout] 353 | let index = if let ValueObj::Type(t) = &index { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/initialize/const_func.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 353 ~ let index = match &index { ValueObj::Type(t) => { [INFO] [stdout] 354 | ValueObj::builtin_type(ctx.readable_type(t.typ().clone())) [INFO] [stdout] 355 ~ } _ => { [INFO] [stdout] 356 | index [INFO] [stdout] 357 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/initialize/const_func.rs:378:8 [INFO] [stdout] | [INFO] [stdout] 378 | if let Ok(slf) = dict_type { [INFO] [stdout] | ^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/initialize/const_func.rs:384:5 [INFO] [stdout] | [INFO] [stdout] 384 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 378 ~ match dict_type { Ok(slf) => { [INFO] [stdout] 379 | let union = slf [INFO] [stdout] ... [INFO] [stdout] 383 | Ok(ValueObj::builtin_type(union).into()) [INFO] [stdout] 384 ~ } _ => { [INFO] [stdout] 385 | Ok(ValueObj::List(slf.into_keys().collect::>().into()).into()) [INFO] [stdout] 386 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/initialize/const_func.rs:405:8 [INFO] [stdout] | [INFO] [stdout] 405 | if let Ok(slf) = dict_type { [INFO] [stdout] | ^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/initialize/const_func.rs:411:5 [INFO] [stdout] | [INFO] [stdout] 411 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 405 ~ match dict_type { Ok(slf) => { [INFO] [stdout] 406 | let union = slf [INFO] [stdout] ... [INFO] [stdout] 410 | Ok(ValueObj::builtin_type(union).into()) [INFO] [stdout] 411 ~ } _ => { [INFO] [stdout] 412 | Ok(ValueObj::List(slf.into_values().collect::>().into()).into()) [INFO] [stdout] 413 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/initialize/const_func.rs:432:8 [INFO] [stdout] | [INFO] [stdout] 432 | if let Ok(slf) = dict_type { [INFO] [stdout] | ^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/initialize/const_func.rs:438:5 [INFO] [stdout] | [INFO] [stdout] 438 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 432 ~ match dict_type { Ok(slf) => { [INFO] [stdout] 433 | let union = slf.iter().fold(Type::Never, |union, (k, v)| { [INFO] [stdout] ... [INFO] [stdout] 437 | Ok(ValueObj::builtin_type(union).into()) [INFO] [stdout] 438 ~ } _ => { [INFO] [stdout] 439 | Ok(ValueObj::List( [INFO] [stdout] ... [INFO] [stdout] 445 | .into()) [INFO] [stdout] 446 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/initialize/const_func.rs:901:8 [INFO] [stdout] | [INFO] [stdout] 901 | if let Some((_, t)) = fields.get(index) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/initialize/const_func.rs:903:5 [INFO] [stdout] | [INFO] [stdout] 903 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 901 ~ match fields.get(index) { Some((_, t)) => { [INFO] [stdout] 902 | Ok(TyParam::t(t.clone())) [INFO] [stdout] 903 ~ } _ => { [INFO] [stdout] 904 | Err(no_key(Type::NamedTuple(fields), index)) [INFO] [stdout] 905 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/initialize/const_func.rs:978:20 [INFO] [stdout] | [INFO] [stdout] 978 | if let Some(values) = k_t.refinement_values() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/initialize/const_func.rs:986:17 [INFO] [stdout] | [INFO] [stdout] 986 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 978 ~ match k_t.refinement_values() { Some(values) => { [INFO] [stdout] 979 | for value in values { [INFO] [stdout] ... [INFO] [stdout] 985 | } [INFO] [stdout] 986 ~ } _ => { [INFO] [stdout] 987 | return Err(type_mismatch("Str refinement type", k_t, "Key")); [INFO] [stdout] 988 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | if let Some(vi) = methods.get_current_scope_non_param(&__call__) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 99 ~ match methods.get_current_scope_non_param(&__call__) { Some(vi) => { [INFO] [stdout] 100 | return Some(vi); [INFO] [stdout] 101 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:285:24 [INFO] [stdout] | [INFO] [stdout] 285 | if let Predicate::Equal { rhs, .. } = refine.pred.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 285 ~ match refine.pred.as_ref() { Predicate::Equal { rhs, .. } => { [INFO] [stdout] 286 | if let Ok(t) = <&Type>::try_from(rhs) { [INFO] [stdout] ... [INFO] [stdout] 290 | } [INFO] [stdout] 291 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:604:16 [INFO] [stdout] | [INFO] [stdout] 604 | if let Some(self_t) = self.rec_get_self_t() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:611:13 [INFO] [stdout] | [INFO] [stdout] 611 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 604 ~ match self.rec_get_self_t() { Some(self_t) => { [INFO] [stdout] 605 | return self.rec_get_var_info( [INFO] [stdout] ... [INFO] [stdout] 610 | ); [INFO] [stdout] 611 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:613:12 [INFO] [stdout] | [INFO] [stdout] 613 | if let Some(vi) = self.get_current_scope_var(&ident.name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 625 | } else if let Some((name, vi)) = self [INFO] [stdout] | __________________________________________- [INFO] [stdout] 626 | | .future_defined_locals [INFO] [stdout] | |__________________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 642 | } else if let Some((name, _vi)) = self.deleted_locals.get_key_value(&ident.inspect()[..]) { [INFO] [stdout] | ------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:625:9 [INFO] [stdout] | [INFO] [stdout] 625 | } else if let Some((name, vi)) = self [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:642:9 [INFO] [stdout] | [INFO] [stdout] 642 | } else if let Some((name, _vi)) = self.deleted_locals.get_key_value(&ident.inspect()[..]) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:652:9 [INFO] [stdout] | [INFO] [stdout] 652 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 613 ~ match self.get_current_scope_var(&ident.name) { Some(vi) => { [INFO] [stdout] 614 | match self.validate_visibility(ident, vi, input, namespace) { [INFO] [stdout] ... [INFO] [stdout] 624 | } [INFO] [stdout] 625 ~ } _ => { match self [INFO] [stdout] 626 | .future_defined_locals [INFO] [stdout] 627 | .get_key_value(&ident.inspect()[..]) [INFO] [stdout] 628 ~ { Some((name, vi)) => { [INFO] [stdout] 629 | if name.loc().is_real() && ident.loc() != name.loc() { [INFO] [stdout] ... [INFO] [stdout] 641 | } [INFO] [stdout] 642 ~ } _ => { match self.deleted_locals.get_key_value(&ident.inspect()[..]) { Some((name, _vi)) => { [INFO] [stdout] 643 | return Triple::Err(TyCheckError::access_deleted_var_error( [INFO] [stdout] ... [INFO] [stdout] 651 | )); [INFO] [stdout] 652 ~ } _ => {}}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:751:20 [INFO] [stdout] | [INFO] [stdout] 751 | if let Some((_sub, sup)) = fv.get_subsup() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:763:17 [INFO] [stdout] | [INFO] [stdout] 763 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 751 ~ match fv.get_subsup() { Some((_sub, sup)) => { [INFO] [stdout] 752 | let vis = self [INFO] [stdout] ... [INFO] [stdout] 762 | } [INFO] [stdout] 763 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:834:20 [INFO] [stdout] | [INFO] [stdout] 834 | if let Some(vi) = methods_ctx.get_current_scope_non_param(&ident.name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:839:17 [INFO] [stdout] | [INFO] [stdout] 839 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 834 ~ match methods_ctx.get_current_scope_non_param(&ident.name) { Some(vi) => { [INFO] [stdout] 835 | return match self.validate_visibility(ident, vi, input, namespace) { [INFO] [stdout] ... [INFO] [stdout] 838 | }; [INFO] [stdout] 839 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:882:20 [INFO] [stdout] | [INFO] [stdout] 882 | if let Triple::Ok(vi) = self.get_attr_info(obj, ident, input, namespace, expect) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:886:17 [INFO] [stdout] | [INFO] [stdout] 886 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 882 ~ match self.get_attr_info(obj, ident, input, namespace, expect) { Triple::Ok(vi) => { [INFO] [stdout] 883 | drop(list); [INFO] [stdout] 884 | obj.ref_t().coerce(None); [INFO] [stdout] 885 | return Triple::Ok(vi); [INFO] [stdout] 886 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:912:20 [INFO] [stdout] | [INFO] [stdout] 912 | if let Some(ctx) = self.get_same_name_context(&ctx.name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:922:17 [INFO] [stdout] | [INFO] [stdout] 922 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 912 ~ match self.get_same_name_context(&ctx.name) { Some(ctx) => { [INFO] [stdout] 913 | match ctx.rec_get_var_info(ident, AccessKind::BoundAttr, input, namespace) { [INFO] [stdout] ... [INFO] [stdout] 921 | } [INFO] [stdout] 922 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:957:20 [INFO] [stdout] | [INFO] [stdout] 957 | if let Some(ctx) = self.get_same_name_context(&ctx.name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:967:17 [INFO] [stdout] | [INFO] [stdout] 967 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 957 ~ match self.get_same_name_context(&ctx.name) { Some(ctx) => { [INFO] [stdout] 958 | match ctx.rec_get_var_info(ident, AccessKind::BoundAttr, input, namespace) { [INFO] [stdout] ... [INFO] [stdout] 966 | } [INFO] [stdout] 967 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:1213:24 [INFO] [stdout] | [INFO] [stdout] 1213 | if let Ok(instance) = self.instantiate(ty.clone(), obj) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^--------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:1229:21 [INFO] [stdout] | [INFO] [stdout] 1229 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1213 ~ match self.instantiate(ty.clone(), obj) { Ok(instance) => { [INFO] [stdout] 1214 | let subst = self [INFO] [stdout] ... [INFO] [stdout] 1228 | } [INFO] [stdout] 1229 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:1299:20 [INFO] [stdout] | [INFO] [stdout] 1299 | if let Some((_sub, sup)) = fv.get_subsup() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:1311:17 [INFO] [stdout] | [INFO] [stdout] 1311 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1299 ~ match fv.get_subsup() { Some((_sub, sup)) => { [INFO] [stdout] 1300 | let vis = self [INFO] [stdout] ... [INFO] [stdout] 1310 | } [INFO] [stdout] 1311 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:1352:20 [INFO] [stdout] | [INFO] [stdout] 1352 | if let Some(vi) = methods_ctx.get_current_scope_non_param(&attr_name.name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:1355:17 [INFO] [stdout] | [INFO] [stdout] 1355 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1352 ~ match methods_ctx.get_current_scope_non_param(&attr_name.name) { Some(vi) => { [INFO] [stdout] 1353 | self.validate_visibility(attr_name, vi, input, namespace)?; [INFO] [stdout] 1354 | return Ok(vi.clone()); [INFO] [stdout] 1355 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:1357:16 [INFO] [stdout] | [INFO] [stdout] 1357 | if let Some(ctx) = self.get_same_name_context(&ctx.name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:1367:13 [INFO] [stdout] | [INFO] [stdout] 1367 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1357 ~ match self.get_same_name_context(&ctx.name) { Some(ctx) => { [INFO] [stdout] 1358 | match ctx.rec_get_var_info(attr_name, AccessKind::BoundAttr, input, namespace) { [INFO] [stdout] ... [INFO] [stdout] 1366 | } [INFO] [stdout] 1367 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:1376:24 [INFO] [stdout] | [INFO] [stdout] 1376 | if let Some(vi) = method_ctx.get_current_scope_non_param(&attr_name.name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:1379:21 [INFO] [stdout] | [INFO] [stdout] 1379 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1376 ~ match method_ctx.get_current_scope_non_param(&attr_name.name) { Some(vi) => { [INFO] [stdout] 1377 | self.validate_visibility(attr_name, vi, input, namespace)?; [INFO] [stdout] 1378 | return Ok(vi.clone()); [INFO] [stdout] 1379 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:1415:16 [INFO] [stdout] | [INFO] [stdout] 1415 | if let Some(subr_t) = self.get_union_attr_type_by_name(attr_name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:1428:13 [INFO] [stdout] | [INFO] [stdout] 1428 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1415 ~ match self.get_union_attr_type_by_name(attr_name) { Some(subr_t) => { [INFO] [stdout] 1416 | let muty = Mutability::from(&attr_name.inspect()[..]); [INFO] [stdout] ... [INFO] [stdout] 1427 | return Ok(vi); [INFO] [stdout] 1428 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:1436:20 [INFO] [stdout] | [INFO] [stdout] 1436 | if let Some(vi) = methods_ctx.get_current_scope_non_param(&attr_name.name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:1439:17 [INFO] [stdout] | [INFO] [stdout] 1439 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1436 ~ match methods_ctx.get_current_scope_non_param(&attr_name.name) { Some(vi) => { [INFO] [stdout] 1437 | self.validate_visibility(attr_name, vi, input, namespace)?; [INFO] [stdout] 1438 | return Ok(vi.clone()); [INFO] [stdout] 1439 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:1497:20 [INFO] [stdout] | [INFO] [stdout] 1497 | if let Some(vi) = methods_ctx.get_current_scope_callable(&attr_name.name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:1500:17 [INFO] [stdout] | [INFO] [stdout] 1500 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1497 ~ match methods_ctx.get_current_scope_callable(&attr_name.name) { Some(vi) => { [INFO] [stdout] 1498 | self.validate_visibility(attr_name, vi, input, namespace)?; [INFO] [stdout] 1499 | return Ok(vi.clone()); [INFO] [stdout] 1500 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:1502:16 [INFO] [stdout] | [INFO] [stdout] 1502 | if let Some(ctx) = self.get_same_name_context(&ctx.name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:1512:13 [INFO] [stdout] | [INFO] [stdout] 1512 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1502 ~ match self.get_same_name_context(&ctx.name) { Some(ctx) => { [INFO] [stdout] 1503 | match ctx.rec_get_var_info(attr_name, AccessKind::BoundAttr, input, namespace) { [INFO] [stdout] ... [INFO] [stdout] 1511 | } [INFO] [stdout] 1512 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:1521:24 [INFO] [stdout] | [INFO] [stdout] 1521 | if let Some(vi) = method_ctx.get_current_scope_callable(&attr_name.name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:1524:21 [INFO] [stdout] | [INFO] [stdout] 1524 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1521 ~ match method_ctx.get_current_scope_callable(&attr_name.name) { Some(vi) => { [INFO] [stdout] 1522 | self.validate_visibility(attr_name, vi, input, namespace)?; [INFO] [stdout] 1523 | return Ok(vi.clone()); [INFO] [stdout] 1524 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:1560:16 [INFO] [stdout] | [INFO] [stdout] 1560 | if let Some(subr_t) = self.get_union_attr_type_by_name(attr_name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:1573:13 [INFO] [stdout] | [INFO] [stdout] 1573 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1560 ~ match self.get_union_attr_type_by_name(attr_name) { Some(subr_t) => { [INFO] [stdout] 1561 | let muty = Mutability::from(&attr_name.inspect()[..]); [INFO] [stdout] ... [INFO] [stdout] 1572 | return Ok(vi); [INFO] [stdout] 1573 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:1581:20 [INFO] [stdout] | [INFO] [stdout] 1581 | if let Some(vi) = methods_ctx.get_current_scope_callable(&attr_name.name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:1584:17 [INFO] [stdout] | [INFO] [stdout] 1584 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1581 ~ match methods_ctx.get_current_scope_callable(&attr_name.name) { Some(vi) => { [INFO] [stdout] 1582 | self.validate_visibility(attr_name, vi, input, namespace)?; [INFO] [stdout] 1583 | return Ok(vi.clone()); [INFO] [stdout] 1584 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:1780:28 [INFO] [stdout] | [INFO] [stdout] 1780 | if let Some(vi) = self.rec_get_mut_var_info(&ident.raw, AccessKind::Name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:1782:25 [INFO] [stdout] | [INFO] [stdout] 1782 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1780 ~ match self.rec_get_mut_var_info(&ident.raw, AccessKind::Name) { Some(vi) => { [INFO] [stdout] 1781 | vi.t = self_t.clone(); [INFO] [stdout] 1782 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:2051:20 [INFO] [stdout] | [INFO] [stdout] 2051 | if let Err(mut es) = self.substitute_pos_arg( [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |______________________________________| [INFO] [stdout] 2052 | || &callee, [INFO] [stdout] 2053 | || attr_name, [INFO] [stdout] 2054 | || &nd_arg.expr, [INFO] [stdout] ... || [INFO] [stdout] 2057 | || &mut passed_params, [INFO] [stdout] 2058 | || ) { [INFO] [stdout] | ||_________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:2060:17 [INFO] [stdout] | [INFO] [stdout] 2060 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2051 ~ match self.substitute_pos_arg( [INFO] [stdout] 2052 | &callee, [INFO] [stdout] ... [INFO] [stdout] 2057 | &mut passed_params, [INFO] [stdout] 2058 ~ ) { Err(mut es) => { [INFO] [stdout] 2059 | errs.append(&mut es); [INFO] [stdout] 2060 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:2063:16 [INFO] [stdout] | [INFO] [stdout] 2063 | if let Some(var_param) = subr.var_params.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:2072:13 [INFO] [stdout] | [INFO] [stdout] 2072 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2063 ~ match subr.var_params.as_ref() { Some(var_param) => { [INFO] [stdout] 2064 | for var_arg in var_args.iter() { [INFO] [stdout] ... [INFO] [stdout] 2071 | } [INFO] [stdout] 2072 ~ } _ => { [INFO] [stdout] 2073 | for (arg, pt) in var_args.iter().zip(subr.default_params.iter()) { [INFO] [stdout] ... [INFO] [stdout] 2085 | } [INFO] [stdout] 2086 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:2106:24 [INFO] [stdout] | [INFO] [stdout] 2106 | if let Err(mut es) = self.sub_unify(default, ty, obj, not_passed.name()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:2108:21 [INFO] [stdout] | [INFO] [stdout] 2108 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2106 ~ match self.sub_unify(default, ty, obj, not_passed.name()) { Err(mut es) => { [INFO] [stdout] 2107 | errs.append(&mut es); [INFO] [stdout] 2108 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:2299:23 [INFO] [stdout] | [INFO] [stdout] 2299 | } else if let Some(call_vi) = typ_ctx [INFO] [stdout] | _______________________^ [INFO] [stdout] 2300 | | .get_method_context_of(&mono("GenericCallable")) [INFO] [stdout] | | ----------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 2301 | | .and_then(|method_ctx| { [INFO] [stdout] 2302 | | method_ctx.get_current_scope_var(&VarName::from_static("__call__")) [INFO] [stdout] 2303 | | }) [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:2321:13 [INFO] [stdout] | [INFO] [stdout] 2321 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2299 ~ } else { match typ_ctx [INFO] [stdout] 2300 | .get_method_context_of(&mono("GenericCallable")) [INFO] [stdout] ... [INFO] [stdout] 2303 | }) [INFO] [stdout] 2304 ~ { Some(call_vi) => { [INFO] [stdout] 2305 | let instance = self.instantiate_def_type(&call_vi.t)?; [INFO] [stdout] ... [INFO] [stdout] 2320 | return Ok(SubstituteResult::__Call__(instance)); [INFO] [stdout] 2321 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:2271:20 [INFO] [stdout] | [INFO] [stdout] 2271 | if let Some(call_vi) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 2272 | | typ_ctx.get_current_scope_var(&VarName::from_static("__call__")) [INFO] [stdout] | |____________________________________________________--------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:2297:17 [INFO] [stdout] | [INFO] [stdout] 2297 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2271 ~ match typ_ctx.get_current_scope_var(&VarName::from_static("__call__")) [INFO] [stdout] 2272 ~ { Some(call_vi) => { [INFO] [stdout] 2273 | if ERG_MODE && call_vi.vis.is_private() { [INFO] [stdout] ... [INFO] [stdout] 2295 | return Ok(SubstituteResult::__Call__(instance)); [INFO] [stdout] 2296 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:2547:12 [INFO] [stdout] | [INFO] [stdout] 2547 | if let Some(pt) = subr_ty [INFO] [stdout] | _____________^ - [INFO] [stdout] | | ___________________________| [INFO] [stdout] 2548 | || .non_default_params [INFO] [stdout] | ||_______________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 2549 | | .iter() [INFO] [stdout] 2550 | | .chain(subr_ty.default_params.iter()) [INFO] [stdout] 2551 | | .find(|pt| pt.name().as_ref() == Some(&kw_name)) [INFO] [stdout] | |_____________________________________________________________^ [INFO] [stdout] ... [INFO] [stdout] 2586 | } else if let Some(kw_var) = subr_ty.kw_var_params.as_deref() { [INFO] [stdout] | --------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:2586:9 [INFO] [stdout] | [INFO] [stdout] 2586 | } else if let Some(kw_var) = subr_ty.kw_var_params.as_deref() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:2588:9 [INFO] [stdout] | [INFO] [stdout] 2588 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2547 ~ match subr_ty [INFO] [stdout] 2548 | .non_default_params [INFO] [stdout] ... [INFO] [stdout] 2551 | .find(|pt| pt.name().as_ref() == Some(&kw_name)) [INFO] [stdout] 2552 ~ { Some(pt) => { [INFO] [stdout] 2553 | let param_t = pt.typ(); [INFO] [stdout] ... [INFO] [stdout] 2585 | })?; [INFO] [stdout] 2586 ~ } _ => { match subr_ty.kw_var_params.as_deref() { Some(kw_var) => { [INFO] [stdout] 2587 | self.sub_unify_with_coercion(arg_t, kw_var.typ(), arg, Some(kw_name))?; [INFO] [stdout] 2588 ~ } _ => { [INFO] [stdout] 2589 | let similar = [INFO] [stdout] ... [INFO] [stdout] 2599 | ))); [INFO] [stdout] 2600 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:2735:12 [INFO] [stdout] | [INFO] [stdout] 2735 | if let Some(obj) = self.consts.get(name.inspect()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:2737:9 [INFO] [stdout] | [INFO] [stdout] 2737 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2735 ~ match self.consts.get(name.inspect()) { Some(obj) => { [INFO] [stdout] 2736 | Ok(obj.clone()) [INFO] [stdout] 2737 ~ } _ => { [INFO] [stdout] 2738 | /*if let Some(parent) = self.get_outer().or_else(|| self.get_builtins()) { [INFO] [stdout] ... [INFO] [stdout] 2748 | )) [INFO] [stdout] 2749 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:2768:16 [INFO] [stdout] | [INFO] [stdout] 2768 | if let Ok(t) = ctx.get_const_local(name, namespace) { [INFO] [stdout] | ^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:2770:13 [INFO] [stdout] | [INFO] [stdout] 2770 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2768 ~ match ctx.get_const_local(name, namespace) { Ok(t) => { [INFO] [stdout] 2769 | return Ok(t); [INFO] [stdout] 2770 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:2851:20 [INFO] [stdout] | [INFO] [stdout] 2851 | if let Some(prev) = free.get_previous() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:2853:17 [INFO] [stdout] | [INFO] [stdout] 2853 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2851 ~ match free.get_previous() { Some(prev) => { [INFO] [stdout] 2852 | return prev.unbound_name().as_ref() == Some(name.inspect()); [INFO] [stdout] 2853 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:2855:20 [INFO] [stdout] | [INFO] [stdout] 2855 | if let Some(prev) = free.get_previous() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:2857:17 [INFO] [stdout] | [INFO] [stdout] 2857 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2855 ~ match free.get_previous() { Some(prev) => { [INFO] [stdout] 2856 | return prev.unbound_name().as_ref() == Some(name.inspect()); [INFO] [stdout] 2857 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:2873:24 [INFO] [stdout] | [INFO] [stdout] 2873 | if let Some(variance_trait) = self [INFO] [stdout] | _________________________^ - [INFO] [stdout] | | ___________________________________________________| [INFO] [stdout] 2874 | || .super_traits [INFO] [stdout] | ||_____________________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 2875 | | .iter() [INFO] [stdout] 2876 | | .chain(self.super_classes.iter()) [INFO] [stdout] 2877 | | .find(|t| in_inout(t, name)) [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:2884:21 [INFO] [stdout] | [INFO] [stdout] 2884 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2873 ~ match self [INFO] [stdout] 2874 | .super_traits [INFO] [stdout] ... [INFO] [stdout] 2877 | .find(|t| in_inout(t, name)) [INFO] [stdout] 2878 ~ { Some(variance_trait) => { [INFO] [stdout] 2879 | match &variance_trait.qual_name()[..] { [INFO] [stdout] ... [INFO] [stdout] 2883 | } [INFO] [stdout] 2884 ~ } _ => { [INFO] [stdout] 2885 | Variance::Invariant [INFO] [stdout] 2886 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3009:20 [INFO] [stdout] | [INFO] [stdout] 3009 | if let Some(sup) = fv.get_super() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3011:17 [INFO] [stdout] | [INFO] [stdout] 3011 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3009 ~ match fv.get_super() { Some(sup) => { [INFO] [stdout] 3010 | self.get_nominal_super_type_ctxs(&sup) [INFO] [stdout] 3011 ~ } _ => { [INFO] [stdout] 3012 | self.get_nominal_super_type_ctxs(&Type) [INFO] [stdout] 3013 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> context/inquire.rs:3051:17 [INFO] [stdout] | [INFO] [stdout] 3051 | ) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> context/inquire.rs:3050:12 [INFO] [stdout] | [INFO] [stdout] 3050 | t: &Type, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 3051 | ) -> Option + use<'a>> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> context/inquire.rs:3065:65 [INFO] [stdout] | [INFO] [stdout] 3065 | pub(crate) fn get_super_traits(&self, typ: &Type) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> context/inquire.rs:3065:36 [INFO] [stdout] | [INFO] [stdout] 3065 | pub(crate) fn get_super_traits(&self, typ: &Type) -> Option> { [INFO] [stdout] | ^ ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 3065 | pub(crate) fn get_super_traits(&self, typ: &Type) -> Option + use<>> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator + Clone` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> context/inquire.rs:3075:17 [INFO] [stdout] | [INFO] [stdout] 3075 | ) -> Option + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> context/inquire.rs:3073:9 [INFO] [stdout] | [INFO] [stdout] 3073 | &self, [INFO] [stdout] | ^ [INFO] [stdout] 3074 | typ: &Type, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 3075 | ) -> Option + Clone + use<>> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator + Clone` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> context/inquire.rs:3090:64 [INFO] [stdout] | [INFO] [stdout] 3090 | pub(crate) fn get_super_types(&self, typ: &Type) -> Option + Clone> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> context/inquire.rs:3090:35 [INFO] [stdout] | [INFO] [stdout] 3090 | pub(crate) fn get_super_types(&self, typ: &Type) -> Option + Clone> { [INFO] [stdout] | ^ ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 3090 | pub(crate) fn get_super_types(&self, typ: &Type) -> Option + Clone + use<>> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3119:20 [INFO] [stdout] | [INFO] [stdout] 3119 | if let Some(res) = self.get_nominal_type_ctx(&sup) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3121:17 [INFO] [stdout] | [INFO] [stdout] 3121 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3119 ~ match self.get_nominal_type_ctx(&sup) { Some(res) => { [INFO] [stdout] 3120 | return Some(res); [INFO] [stdout] 3121 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3133:20 [INFO] [stdout] | [INFO] [stdout] 3133 | if let Some(res) = self.get_nominal_type_ctx(&refine.t) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3135:17 [INFO] [stdout] | [INFO] [stdout] 3135 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3133 ~ match self.get_nominal_type_ctx(&refine.t) { Some(res) => { [INFO] [stdout] 3134 | return Some(res); [INFO] [stdout] 3135 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3235:20 [INFO] [stdout] | [INFO] [stdout] 3235 | if let Some(ctx) = self.get_nominal_type_ctx(&poly("Or", vec![])) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3237:17 [INFO] [stdout] | [INFO] [stdout] 3237 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3235 ~ match self.get_nominal_type_ctx(&poly("Or", vec![])) { Some(ctx) => { [INFO] [stdout] 3236 | return Some(ctx); [INFO] [stdout] 3237 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3241:20 [INFO] [stdout] | [INFO] [stdout] 3241 | if let Some(ctx) = self.rec_local_get_mono_type(&other.local_name()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3243:17 [INFO] [stdout] | [INFO] [stdout] 3243 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3241 ~ match self.rec_local_get_mono_type(&other.local_name()) { Some(ctx) => { [INFO] [stdout] 3242 | return Some(ctx); [INFO] [stdout] 3243 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3256:20 [INFO] [stdout] | [INFO] [stdout] 3256 | if let Ok(typ) = self.eval_proj(*lhs.clone(), rhs.clone(), self.level, &()) { [INFO] [stdout] | ^^^^^^^^^^^^^^---------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3258:17 [INFO] [stdout] | [INFO] [stdout] 3258 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3256 ~ match self.eval_proj(*lhs.clone(), rhs.clone(), self.level, &()) { Ok(typ) => { [INFO] [stdout] 3257 | return self.get_nominal_type_ctx(&typ); [INFO] [stdout] 3258 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3265:20 [INFO] [stdout] | [INFO] [stdout] 3265 | if let Ok(typ) = self.eval_proj_call_t( [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |__________________________________| [INFO] [stdout] 3266 | || *lhs.clone(), [INFO] [stdout] 3267 | || attr_name.clone(), [INFO] [stdout] 3268 | || args.clone(), [INFO] [stdout] 3269 | || self.level, [INFO] [stdout] 3270 | || &(), [INFO] [stdout] 3271 | || ) { [INFO] [stdout] | ||_________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3273:17 [INFO] [stdout] | [INFO] [stdout] 3273 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3265 ~ match self.eval_proj_call_t( [INFO] [stdout] 3266 | *lhs.clone(), [INFO] [stdout] ... [INFO] [stdout] 3270 | &(), [INFO] [stdout] 3271 ~ ) { Ok(typ) => { [INFO] [stdout] 3272 | return self.get_nominal_type_ctx(&typ); [INFO] [stdout] 3273 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3295:20 [INFO] [stdout] | [INFO] [stdout] 3295 | if let Some(res) = fv [INFO] [stdout] | _____________________^ - [INFO] [stdout] | | ____________________________________| [INFO] [stdout] 3296 | || .get_super() [INFO] [stdout] | ||________________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 3297 | | .and_then(|sup| self.get_mut_nominal_type_ctx(&sup)) [INFO] [stdout] | |_________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3300:17 [INFO] [stdout] | [INFO] [stdout] 3300 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3295 ~ match fv [INFO] [stdout] 3296 | .get_super() [INFO] [stdout] 3297 | .and_then(|sup| self.get_mut_nominal_type_ctx(&sup)) [INFO] [stdout] 3298 ~ { Some(res) => { [INFO] [stdout] 3299 | return Some(res); [INFO] [stdout] 3300 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3303:20 [INFO] [stdout] | [INFO] [stdout] 3303 | if let Some(res) = self.get_mut_nominal_type_ctx(&refine.t) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3305:17 [INFO] [stdout] | [INFO] [stdout] 3305 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3303 ~ match self.get_mut_nominal_type_ctx(&refine.t) { Some(res) => { [INFO] [stdout] 3304 | return Some(res); [INFO] [stdout] 3305 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3308:20 [INFO] [stdout] | [INFO] [stdout] 3308 | if let Some(res) = self.get_mut_nominal_type_ctx(&mono("QuantifiedFunc")) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3310:17 [INFO] [stdout] | [INFO] [stdout] 3310 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3308 ~ match self.get_mut_nominal_type_ctx(&mono("QuantifiedFunc")) { Some(res) => { [INFO] [stdout] 3309 | return Some(res); [INFO] [stdout] 3310 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3313:20 [INFO] [stdout] | [INFO] [stdout] 3313 | if let Some(ctx) = self.rec_get_mut_mono_type(&typ.local_name()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3315:17 [INFO] [stdout] | [INFO] [stdout] 3315 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3313 ~ match self.rec_get_mut_mono_type(&typ.local_name()) { Some(ctx) => { [INFO] [stdout] 3314 | return Some(ctx); [INFO] [stdout] 3315 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3318:20 [INFO] [stdout] | [INFO] [stdout] 3318 | if let Some(ctx) = self.rec_get_mut_poly_type(&typ.local_name()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3320:17 [INFO] [stdout] | [INFO] [stdout] 3320 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3318 ~ match self.rec_get_mut_poly_type(&typ.local_name()) { Some(ctx) => { [INFO] [stdout] 3319 | return Some(ctx); [INFO] [stdout] 3320 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3324:20 [INFO] [stdout] | [INFO] [stdout] 3324 | if let Some(ctx) = self.rec_get_mut_mono_type(&other.local_name()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3326:17 [INFO] [stdout] | [INFO] [stdout] 3326 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3324 ~ match self.rec_get_mut_mono_type(&other.local_name()) { Some(ctx) => { [INFO] [stdout] 3325 | return Some(ctx); [INFO] [stdout] 3326 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3339:20 [INFO] [stdout] | [INFO] [stdout] 3339 | if let Ok(typ) = self.eval_proj(*lhs.clone(), rhs.clone(), self.level, &()) { [INFO] [stdout] | ^^^^^^^^^^^^^^---------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3341:17 [INFO] [stdout] | [INFO] [stdout] 3341 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3339 ~ match self.eval_proj(*lhs.clone(), rhs.clone(), self.level, &()) { Ok(typ) => { [INFO] [stdout] 3340 | return self.get_mut_nominal_type_ctx(&typ); [INFO] [stdout] 3341 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3348:20 [INFO] [stdout] | [INFO] [stdout] 3348 | if let Ok(typ) = self.eval_proj_call_t( [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |__________________________________| [INFO] [stdout] 3349 | || *lhs.clone(), [INFO] [stdout] 3350 | || attr_name.clone(), [INFO] [stdout] 3351 | || args.clone(), [INFO] [stdout] 3352 | || self.level, [INFO] [stdout] 3353 | || &(), [INFO] [stdout] 3354 | || ) { [INFO] [stdout] | ||_________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3356:17 [INFO] [stdout] | [INFO] [stdout] 3356 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3348 ~ match self.eval_proj_call_t( [INFO] [stdout] 3349 | *lhs.clone(), [INFO] [stdout] ... [INFO] [stdout] 3353 | &(), [INFO] [stdout] 3354 ~ ) { Ok(typ) => { [INFO] [stdout] 3355 | return self.get_mut_nominal_type_ctx(&typ); [INFO] [stdout] 3356 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3395:26 [INFO] [stdout] | [INFO] [stdout] 3395 | let current = if let Some(impls) = self.trait_impls().get(&trait_.qual_name()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3397:9 [INFO] [stdout] | [INFO] [stdout] 3397 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3395 ~ let current = match self.trait_impls().get(&trait_.qual_name()) { Some(impls) => { [INFO] [stdout] 3396 | impls.clone() [INFO] [stdout] 3397 ~ } _ => { [INFO] [stdout] 3398 | set! {} [INFO] [stdout] 3399 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3443:16 [INFO] [stdout] | [INFO] [stdout] 3443 | if let Some(ty) = self.rec_get_self_t() { [INFO] [stdout] | ^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3445:13 [INFO] [stdout] | [INFO] [stdout] 3445 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3443 ~ match self.rec_get_self_t() { Some(ty) => { [INFO] [stdout] 3444 | return self.rec_get_const_obj(&ty.local_name()); [INFO] [stdout] 3445 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3451:16 [INFO] [stdout] | [INFO] [stdout] 3451 | if let Some(val) = ctx.consts.get(name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3453:13 [INFO] [stdout] | [INFO] [stdout] 3453 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3451 ~ match ctx.consts.get(name) { Some(val) => { [INFO] [stdout] 3452 | return Some(val); [INFO] [stdout] 3453 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3463:12 [INFO] [stdout] | [INFO] [stdout] 3463 | if let Some(impls) = self.const_param_defaults.get(name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-------------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3465:9 [INFO] [stdout] | [INFO] [stdout] 3465 | } else if let Some(outer) = self.get_outer_scope_or_builtins() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3463 ~ match self.const_param_defaults.get(name) { Some(impls) => { [INFO] [stdout] 3464 | Some(impls) [INFO] [stdout] 3465 ~ } _ => if let Some(outer) = self.get_outer_scope_or_builtins() { [INFO] [stdout] 3466 | outer._rec_get_const_param_defaults(name) [INFO] [stdout] 3467 | } else { [INFO] [stdout] 3468 | None [INFO] [stdout] 3469 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3476:19 [INFO] [stdout] | [INFO] [stdout] 3476 | } else if let ContextKind::PatchMethodDefs(t) = &self.kind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3478:9 [INFO] [stdout] | [INFO] [stdout] 3478 | } else if let Some(outer) = self.get_outer_scope() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3476 ~ } else { match &self.kind { ContextKind::PatchMethodDefs(t) => { [INFO] [stdout] 3477 | Some(t.clone()) [INFO] [stdout] 3478 ~ } _ => if let Some(outer) = self.get_outer_scope() { [INFO] [stdout] 3479 | outer.rec_get_self_t() [INFO] [stdout] 3480 | } else { [INFO] [stdout] 3481 | None [INFO] [stdout] 3482 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3493:16 [INFO] [stdout] | [INFO] [stdout] 3493 | if let Some(path) = vi.t.module_path() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3495:13 [INFO] [stdout] | [INFO] [stdout] 3495 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3493 ~ match vi.t.module_path() { Some(path) => { [INFO] [stdout] 3494 | return Some(path); [INFO] [stdout] 3495 ~ } _ => { [INFO] [stdout] 3496 | namespace.clone() [INFO] [stdout] 3497 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3534:16 [INFO] [stdout] | [INFO] [stdout] 3534 | if let Some(ctx) = self.rec_local_get_mono_type(&typ.local_name()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3536:13 [INFO] [stdout] | [INFO] [stdout] 3536 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3534 ~ match self.rec_local_get_mono_type(&typ.local_name()) { Some(ctx) => { [INFO] [stdout] 3535 | return Some(ctx); [INFO] [stdout] 3536 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3539:16 [INFO] [stdout] | [INFO] [stdout] 3539 | if let Some(ctx) = ctx.rec_local_get_mono_type(&typ.local_name()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3541:13 [INFO] [stdout] | [INFO] [stdout] 3541 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3539 ~ match ctx.rec_local_get_mono_type(&typ.local_name()) { Some(ctx) => { [INFO] [stdout] 3540 | return Some(ctx); [INFO] [stdout] 3541 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3550:12 [INFO] [stdout] | [INFO] [stdout] 3550 | if let Some(ctx) = self.mono_types.get(name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3552:9 [INFO] [stdout] | [INFO] [stdout] 3552 | } else if let Some(outer) = self.get_outer_scope_or_builtins() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3550 ~ match self.mono_types.get(name) { Some(ctx) => { [INFO] [stdout] 3551 | Some(ctx) [INFO] [stdout] 3552 ~ } _ => if let Some(outer) = self.get_outer_scope_or_builtins() { [INFO] [stdout] 3553 | outer.rec_local_get_mono_type(name) [INFO] [stdout] 3554 | } else { [INFO] [stdout] 3555 | None [INFO] [stdout] 3556 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3562:12 [INFO] [stdout] | [INFO] [stdout] 3562 | if let Some(ctx) = self.poly_types.get(name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3564:9 [INFO] [stdout] | [INFO] [stdout] 3564 | } else if let Some(outer) = self.get_outer_scope_or_builtins() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3562 ~ match self.poly_types.get(name) { Some(ctx) => { [INFO] [stdout] 3563 | Some(ctx) [INFO] [stdout] 3564 ~ } _ => if let Some(outer) = self.get_outer_scope_or_builtins() { [INFO] [stdout] 3565 | outer.rec_local_get_poly_type(name) [INFO] [stdout] 3566 | } else { [INFO] [stdout] 3567 | None [INFO] [stdout] 3568 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3577:16 [INFO] [stdout] | [INFO] [stdout] 3577 | if let Some(ctx) = self.rec_local_get_poly_type(&typ.local_name()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3579:13 [INFO] [stdout] | [INFO] [stdout] 3579 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3577 ~ match self.rec_local_get_poly_type(&typ.local_name()) { Some(ctx) => { [INFO] [stdout] 3578 | return Some(ctx); [INFO] [stdout] 3579 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3582:16 [INFO] [stdout] | [INFO] [stdout] 3582 | if let Some(ctx) = ctx.rec_local_get_poly_type(&typ.local_name()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3584:13 [INFO] [stdout] | [INFO] [stdout] 3584 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3582 ~ match ctx.rec_local_get_poly_type(&typ.local_name()) { Some(ctx) => { [INFO] [stdout] 3583 | return Some(ctx); [INFO] [stdout] 3584 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3592:12 [INFO] [stdout] | [INFO] [stdout] 3592 | if let Some(ctx) = self.mono_types.get_mut(name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 3593 | Some(ctx) [INFO] [stdout] 3594 | } else if let Some(outer) = self.outer.as_mut() { [INFO] [stdout] | ---------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3594:9 [INFO] [stdout] | [INFO] [stdout] 3594 | } else if let Some(outer) = self.outer.as_mut() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3597:9 [INFO] [stdout] | [INFO] [stdout] 3597 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3592 ~ match self.mono_types.get_mut(name) { Some(ctx) => { [INFO] [stdout] 3593 | Some(ctx) [INFO] [stdout] 3594 ~ } _ => { match self.outer.as_mut() { Some(outer) => { [INFO] [stdout] 3595 | // builtins cannot be got as mutable [INFO] [stdout] 3596 | outer.rec_get_mut_mono_type(name) [INFO] [stdout] 3597 ~ } _ => { [INFO] [stdout] 3598 | None [INFO] [stdout] 3599 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3605:12 [INFO] [stdout] | [INFO] [stdout] 3605 | if let Some(ctx) = self.poly_types.get_mut(name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 3606 | Some(ctx) [INFO] [stdout] 3607 | } else if let Some(outer) = self.outer.as_mut() { [INFO] [stdout] | ---------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3607:9 [INFO] [stdout] | [INFO] [stdout] 3607 | } else if let Some(outer) = self.outer.as_mut() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3609:9 [INFO] [stdout] | [INFO] [stdout] 3609 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3605 ~ match self.poly_types.get_mut(name) { Some(ctx) => { [INFO] [stdout] 3606 | Some(ctx) [INFO] [stdout] 3607 ~ } _ => { match self.outer.as_mut() { Some(outer) => { [INFO] [stdout] 3608 | outer.rec_get_mut_poly_type(name) [INFO] [stdout] 3609 ~ } _ => { [INFO] [stdout] 3610 | None [INFO] [stdout] 3611 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3617:12 [INFO] [stdout] | [INFO] [stdout] 3617 | if let Some(ctx) = self.mono_types.get_mut(name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 3618 | Some(ctx) [INFO] [stdout] 3619 | } else if let Some(ctx) = self.poly_types.get_mut(name) { [INFO] [stdout] | --------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 3620 | Some(ctx) [INFO] [stdout] 3621 | } else if let Some(outer) = self.outer.as_mut() { [INFO] [stdout] | ---------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3619:9 [INFO] [stdout] | [INFO] [stdout] 3619 | } else if let Some(ctx) = self.poly_types.get_mut(name) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3621:9 [INFO] [stdout] | [INFO] [stdout] 3621 | } else if let Some(outer) = self.outer.as_mut() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3623:9 [INFO] [stdout] | [INFO] [stdout] 3623 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3617 ~ match self.mono_types.get_mut(name) { Some(ctx) => { [INFO] [stdout] 3618 | Some(ctx) [INFO] [stdout] 3619 ~ } _ => { match self.poly_types.get_mut(name) { Some(ctx) => { [INFO] [stdout] 3620 | Some(ctx) [INFO] [stdout] 3621 ~ } _ => { match self.outer.as_mut() { Some(outer) => { [INFO] [stdout] 3622 | outer.rec_get_mut_type(name) [INFO] [stdout] 3623 ~ } _ => { [INFO] [stdout] 3624 | None [INFO] [stdout] 3625 ~ }}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3634:16 [INFO] [stdout] | [INFO] [stdout] 3634 | if let Some(ctx) = self.rec_local_get_type(&typ.local_name()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3636:13 [INFO] [stdout] | [INFO] [stdout] 3636 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3634 ~ match self.rec_local_get_type(&typ.local_name()) { Some(ctx) => { [INFO] [stdout] 3635 | return Some(ctx); [INFO] [stdout] 3636 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3639:16 [INFO] [stdout] | [INFO] [stdout] 3639 | if let Some(ctx) = ctx.rec_local_get_type(&typ.local_name()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3641:13 [INFO] [stdout] | [INFO] [stdout] 3641 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3639 ~ match ctx.rec_local_get_type(&typ.local_name()) { Some(ctx) => { [INFO] [stdout] 3640 | return Some(ctx); [INFO] [stdout] 3641 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3655:12 [INFO] [stdout] | [INFO] [stdout] 3655 | if let Some(ctx) = self.mono_types.get(name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 3656 | Some(ctx) [INFO] [stdout] 3657 | } else if let Some(ctx) = self.poly_types.get(name) { [INFO] [stdout] | --------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 3658 | Some(ctx) [INFO] [stdout] 3659 | } else if let Some(value) = self.consts.get(name) { [INFO] [stdout] | ----------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3657:9 [INFO] [stdout] | [INFO] [stdout] 3657 | } else if let Some(ctx) = self.poly_types.get(name) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3659:9 [INFO] [stdout] | [INFO] [stdout] 3659 | } else if let Some(value) = self.consts.get(name) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3663:9 [INFO] [stdout] | [INFO] [stdout] 3663 | } else if let Some(outer) = self.get_outer_scope_or_builtins() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3655 ~ match self.mono_types.get(name) { Some(ctx) => { [INFO] [stdout] 3656 | Some(ctx) [INFO] [stdout] 3657 ~ } _ => { match self.poly_types.get(name) { Some(ctx) => { [INFO] [stdout] 3658 | Some(ctx) [INFO] [stdout] 3659 ~ } _ => { match self.consts.get(name) { Some(value) => { [INFO] [stdout] 3660 | value [INFO] [stdout] 3661 | .as_type(self) [INFO] [stdout] 3662 | .and_then(|typ_obj| self.get_nominal_type_ctx(typ_obj.typ())) [INFO] [stdout] 3663 ~ } _ => if let Some(outer) = self.get_outer_scope_or_builtins() { [INFO] [stdout] 3664 | outer.rec_local_get_type(name) [INFO] [stdout] 3665 | } else { [INFO] [stdout] 3666 | None [INFO] [stdout] 3667 ~ }}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3671:12 [INFO] [stdout] | [INFO] [stdout] 3671 | if let Some(ctx) = self.patches.get(name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3673:9 [INFO] [stdout] | [INFO] [stdout] 3673 | } else if let Some(outer) = self.get_outer_scope_or_builtins() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3671 ~ match self.patches.get(name) { Some(ctx) => { [INFO] [stdout] 3672 | Some(ctx) [INFO] [stdout] 3673 ~ } _ => if let Some(outer) = self.get_outer_scope_or_builtins() { [INFO] [stdout] 3674 | outer.rec_get_patch(name) [INFO] [stdout] 3675 | } else { [INFO] [stdout] 3676 | None [INFO] [stdout] 3677 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:3927:20 [INFO] [stdout] | [INFO] [stdout] 3927 | if let Some(sup) = fv.get_super() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:3934:17 [INFO] [stdout] | [INFO] [stdout] 3934 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 3927 ~ match fv.get_super() { Some(sup) => { [INFO] [stdout] 3928 | if self.is_trait(&sup) { [INFO] [stdout] ... [INFO] [stdout] 3933 | } [INFO] [stdout] 3934 ~ } _ => { [INFO] [stdout] 3935 | set! {} [INFO] [stdout] 3936 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:4017:28 [INFO] [stdout] | [INFO] [stdout] 4017 | if let Ok(t) = self.convert_tp_into_type(tp.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:4019:25 [INFO] [stdout] | [INFO] [stdout] 4019 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 4017 ~ match self.convert_tp_into_type(tp.clone()) { Ok(t) => { [INFO] [stdout] 4018 | TyParam::t(self.meta_type(&t)) [INFO] [stdout] 4019 ~ } _ => { [INFO] [stdout] 4020 | tp.clone() [INFO] [stdout] 4021 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:4049:19 [INFO] [stdout] | [INFO] [stdout] 4049 | } else if let Some(tv_ctx) = &self.tv_cache { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:4058:9 [INFO] [stdout] | [INFO] [stdout] 4058 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 4049 ~ } else { match &self.tv_cache { Some(tv_ctx) => { [INFO] [stdout] 4050 | if let Some(t) = tv_ctx.get_tyvar(name) { [INFO] [stdout] ... [INFO] [stdout] 4057 | } [INFO] [stdout] 4058 ~ } _ => { [INFO] [stdout] 4059 | None [INFO] [stdout] 4060 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/inquire.rs:4149:12 [INFO] [stdout] | [INFO] [stdout] 4149 | if let Some((k, v)) = self.locals.remove_entry(name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 4155 | } else if let Some((k, v)) = self.decls.remove_entry(name) { [INFO] [stdout] | ----------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:4155:9 [INFO] [stdout] | [INFO] [stdout] 4155 | } else if let Some((k, v)) = self.decls.remove_entry(name) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/inquire.rs:4161:9 [INFO] [stdout] | [INFO] [stdout] 4161 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 4149 ~ match self.locals.remove_entry(name) { Some((k, v)) => { [INFO] [stdout] 4150 | if v.kind.is_instance_attr() { [INFO] [stdout] ... [INFO] [stdout] 4154 | } [INFO] [stdout] 4155 ~ } _ => { match self.decls.remove_entry(name) { Some((k, v)) => { [INFO] [stdout] 4156 | if v.kind.is_instance_attr() { [INFO] [stdout] ... [INFO] [stdout] 4160 | } [INFO] [stdout] 4161 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 177 | if let Some(inst) = self.tyvar_instances.get(name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 178 | self.update_tyvar(inst, tv, ctx); [INFO] [stdout] 179 | } else if let Some(inst) = self.typaram_instances.get(name) { [INFO] [stdout] | ---------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | } else if let Some(inst) = self.typaram_instances.get(name) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 177 ~ match self.tyvar_instances.get(name) { Some(inst) => { [INFO] [stdout] 178 | self.update_tyvar(inst, tv, ctx); [INFO] [stdout] 179 ~ } _ => { match self.typaram_instances.get(name) { Some(inst) => { [INFO] [stdout] 180 | if let Ok(inst) = <&Type>::try_from(inst) { [INFO] [stdout] ... [INFO] [stdout] 186 | } [INFO] [stdout] 187 ~ } _ => { [INFO] [stdout] 188 | self.tyvar_instances.insert(name.clone(), tv.clone()); [INFO] [stdout] 189 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | if let Some(inst) = self.tyvar_instances.get(name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 198 | self.update_tyvar(inst, tv, ctx); [INFO] [stdout] 199 | } else if let Some(inst) = self.typaram_instances.get(name) { [INFO] [stdout] | ---------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | } else if let Some(inst) = self.typaram_instances.get(name) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 197 ~ match self.tyvar_instances.get(name) { Some(inst) => { [INFO] [stdout] 198 | self.update_tyvar(inst, tv, ctx); [INFO] [stdout] 199 ~ } _ => { match self.typaram_instances.get(name) { Some(inst) => { [INFO] [stdout] 200 | if let Ok(inst) = <&Type>::try_from(inst) { [INFO] [stdout] ... [INFO] [stdout] 206 | } [INFO] [stdout] 207 ~ } _ => { [INFO] [stdout] 208 | self.tyvar_instances.insert(name.clone(), tv.clone()); [INFO] [stdout] 209 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate.rs:284:12 [INFO] [stdout] | [INFO] [stdout] 284 | if let Some(inst) = self.typaram_instances.get(name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 285 | self.update_typaram(inst, tp, ctx); [INFO] [stdout] 286 | } else if let Some(inst) = self.tyvar_instances.get(name) { [INFO] [stdout] | -------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | } else if let Some(inst) = self.tyvar_instances.get(name) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 284 ~ match self.typaram_instances.get(name) { Some(inst) => { [INFO] [stdout] 285 | self.update_typaram(inst, tp, ctx); [INFO] [stdout] 286 ~ } _ => { match self.tyvar_instances.get(name) { Some(inst) => { [INFO] [stdout] 287 | if let Ok(tv) = <&Type>::try_from(tp) { [INFO] [stdout] ... [INFO] [stdout] 291 | } [INFO] [stdout] 292 ~ } _ => { [INFO] [stdout] 293 | self.typaram_instances.insert(name.clone(), tp.clone()); [INFO] [stdout] 294 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate.rs:319:12 [INFO] [stdout] | [INFO] [stdout] 319 | if let Some(inst) = self.typaram_instances.get(name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------------^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 320 | self.update_typaram(inst, tp, ctx); [INFO] [stdout] 321 | } else if let Some(inst) = self.tyvar_instances.get(name) { [INFO] [stdout] | -------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate.rs:321:9 [INFO] [stdout] | [INFO] [stdout] 321 | } else if let Some(inst) = self.tyvar_instances.get(name) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 319 ~ match self.typaram_instances.get(name) { Some(inst) => { [INFO] [stdout] 320 | self.update_typaram(inst, tp, ctx); [INFO] [stdout] 321 ~ } _ => { match self.tyvar_instances.get(name) { Some(inst) => { [INFO] [stdout] 322 | if let Ok(tv) = <&Type>::try_from(tp) { [INFO] [stdout] ... [INFO] [stdout] 326 | } [INFO] [stdout] 327 ~ } _ => { [INFO] [stdout] 328 | self.typaram_instances.insert(name.clone(), tp.clone()); [INFO] [stdout] 329 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate.rs:408:20 [INFO] [stdout] | [INFO] [stdout] 408 | if let Some(tp) = tmp_tv_cache.get_typaram(&name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 424 | } else if let Some(t) = tmp_tv_cache.get_tyvar(&name) { [INFO] [stdout] | ---- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate.rs:424:17 [INFO] [stdout] | [INFO] [stdout] 424 | } else if let Some(t) = tmp_tv_cache.get_tyvar(&name) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate.rs:440:17 [INFO] [stdout] | [INFO] [stdout] 440 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 408 ~ match tmp_tv_cache.get_typaram(&name) { Some(tp) => { [INFO] [stdout] 409 | let tp = tp.clone(); [INFO] [stdout] ... [INFO] [stdout] 423 | Ok(tp) [INFO] [stdout] 424 ~ } _ => { match tmp_tv_cache.get_tyvar(&name) { Some(t) => { [INFO] [stdout] 425 | let t = t.clone(); [INFO] [stdout] ... [INFO] [stdout] 439 | Ok(TyParam::t(t)) [INFO] [stdout] 440 ~ } _ => { [INFO] [stdout] 441 | let varname = VarName::from_str(name.clone()); [INFO] [stdout] ... [INFO] [stdout] 459 | Ok(tp) [INFO] [stdout] 460 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate.rs:410:24 [INFO] [stdout] | [INFO] [stdout] 410 | if let TyParam::FreeVar(fv) = &tp { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate.rs:420:21 [INFO] [stdout] | [INFO] [stdout] 420 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 410 ~ match &tp { TyParam::FreeVar(fv) => { [INFO] [stdout] 411 | if fv [INFO] [stdout] ... [INFO] [stdout] 419 | } [INFO] [stdout] 420 ~ } _ => { [INFO] [stdout] 421 | todo!("{tp}"); [INFO] [stdout] 422 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate.rs:426:24 [INFO] [stdout] | [INFO] [stdout] 426 | if let Some(fv) = t.as_free() { [INFO] [stdout] | ^^^^^^^^^^^^^^^-^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate.rs:436:21 [INFO] [stdout] | [INFO] [stdout] 436 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 426 ~ match t.as_free() { Some(fv) => { [INFO] [stdout] 427 | if fv [INFO] [stdout] ... [INFO] [stdout] 435 | } [INFO] [stdout] 436 ~ } _ => { [INFO] [stdout] 437 | todo!("{t}"); [INFO] [stdout] 438 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate.rs:449:28 [INFO] [stdout] | [INFO] [stdout] 449 | if let Some(tp) = tv_cache.get_typaram(&name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 450 | return Ok(tp.clone()); [INFO] [stdout] 451 | } else if let Some(t) = tv_cache.get_tyvar(&name) { [INFO] [stdout] | ---- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate.rs:451:25 [INFO] [stdout] | [INFO] [stdout] 451 | } else if let Some(t) = tv_cache.get_tyvar(&name) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate.rs:453:25 [INFO] [stdout] | [INFO] [stdout] 453 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 449 ~ match tv_cache.get_typaram(&name) { Some(tp) => { [INFO] [stdout] 450 | return Ok(tp.clone()); [INFO] [stdout] 451 ~ } _ => { match tv_cache.get_tyvar(&name) { Some(t) => { [INFO] [stdout] 452 | return Ok(TyParam::t(t.clone())); [INFO] [stdout] 453 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate.rs:797:20 [INFO] [stdout] | [INFO] [stdout] 797 | if let Some(t) = tmp_tv_cache.get_tyvar(&name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 800 | } else if let Some(tp) = tmp_tv_cache.get_typaram(&name) { [INFO] [stdout] | ---- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate.rs:800:17 [INFO] [stdout] | [INFO] [stdout] 800 | } else if let Some(tp) = tmp_tv_cache.get_typaram(&name) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate.rs:810:17 [INFO] [stdout] | [INFO] [stdout] 810 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 797 ~ match tmp_tv_cache.get_tyvar(&name) { Some(t) => { [INFO] [stdout] 798 | let t = t.clone(); [INFO] [stdout] 799 | Ok(t) [INFO] [stdout] 800 ~ } _ => { match tmp_tv_cache.get_typaram(&name) { Some(tp) => { [INFO] [stdout] 801 | if let Ok(t) = self.convert_tp_into_type(tp.clone()) { [INFO] [stdout] ... [INFO] [stdout] 809 | } [INFO] [stdout] 810 ~ } _ => { [INFO] [stdout] 811 | let varname = VarName::from_str(name.clone()); [INFO] [stdout] ... [INFO] [stdout] 836 | Ok(tyvar) [INFO] [stdout] 837 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate.rs:801:24 [INFO] [stdout] | [INFO] [stdout] 801 | if let Ok(t) = self.convert_tp_into_type(tp.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate.rs:803:21 [INFO] [stdout] | [INFO] [stdout] 803 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 801 ~ match self.convert_tp_into_type(tp.clone()) { Ok(t) => { [INFO] [stdout] 802 | Ok(t) [INFO] [stdout] 803 ~ } _ => { [INFO] [stdout] 804 | todo!( [INFO] [stdout] ... [INFO] [stdout] 808 | ) [INFO] [stdout] 809 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate.rs:818:28 [INFO] [stdout] | [INFO] [stdout] 818 | if let Some(t) = tv_ctx.get_tyvar(&name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 819 | return Ok(t.clone()); [INFO] [stdout] 820 | } else if let Some(tp) = tv_ctx.get_typaram(&name) { [INFO] [stdout] | ---- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate.rs:820:25 [INFO] [stdout] | [INFO] [stdout] 820 | } else if let Some(tp) = tv_ctx.get_typaram(&name) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate.rs:830:25 [INFO] [stdout] | [INFO] [stdout] 830 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 818 ~ match tv_ctx.get_tyvar(&name) { Some(t) => { [INFO] [stdout] 819 | return Ok(t.clone()); [INFO] [stdout] 820 ~ } _ => { match tv_ctx.get_typaram(&name) { Some(tp) => { [INFO] [stdout] 821 | if let Ok(t) = self.convert_tp_into_type(tp.clone()) { [INFO] [stdout] ... [INFO] [stdout] 829 | } [INFO] [stdout] 830 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate.rs:821:32 [INFO] [stdout] | [INFO] [stdout] 821 | ... if let Ok(t) = self.convert_tp_into_type(tp.clone()) { [INFO] [stdout] | ^^^^^^^^^^^^------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate.rs:823:29 [INFO] [stdout] | [INFO] [stdout] 823 | ... } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 821 ~ match self.convert_tp_into_type(tp.clone()) { Ok(t) => { [INFO] [stdout] 822 | return Ok(t); [INFO] [stdout] 823 ~ } _ => { [INFO] [stdout] 824 | todo!( [INFO] [stdout] ... [INFO] [stdout] 828 | ) [INFO] [stdout] 829 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate.rs:840:20 [INFO] [stdout] | [INFO] [stdout] 840 | if let Some((sub, sup)) = fv.get_subsup() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^--------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 853 | } else if let Some(ty) = fv.get_type() { [INFO] [stdout] | ------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate.rs:853:17 [INFO] [stdout] | [INFO] [stdout] 853 | } else if let Some(ty) = fv.get_type() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate.rs:861:17 [INFO] [stdout] | [INFO] [stdout] 861 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 840 ~ match fv.get_subsup() { Some((sub, sup)) => { [INFO] [stdout] 841 | let sub = if sub.is_recursive() { [INFO] [stdout] ... [INFO] [stdout] 852 | fv.update_constraint(new_constraint, true); [INFO] [stdout] 853 ~ } _ => { match fv.get_type() { Some(ty) => { [INFO] [stdout] 854 | let ty = if ty.is_recursive() { [INFO] [stdout] ... [INFO] [stdout] 860 | fv.update_constraint(new_constraint, true); [INFO] [stdout] 861 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:215:16 [INFO] [stdout] | [INFO] [stdout] 215 | if let Err(es) = self.instantiate_ty_bound(bound, &mut tv_cache, mode) { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 215 ~ match self.instantiate_ty_bound(bound, &mut tv_cache, mode) { Err(es) => { [INFO] [stdout] 216 | errs.extend(es); [INFO] [stdout] 217 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:311:29 [INFO] [stdout] | [INFO] [stdout] 311 | let var_params = if let Some(var_args) = sig.params.var_params.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 311 ~ let var_params = match sig.params.var_params.as_ref() { Some(var_args) => { [INFO] [stdout] 312 | let opt_decl_t = opt_decl_sig_t [INFO] [stdout] ... [INFO] [stdout] 329 | Some(pt) [INFO] [stdout] 330 ~ } _ => { [INFO] [stdout] 331 | None [INFO] [stdout] 332 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:355:32 [INFO] [stdout] | [INFO] [stdout] 355 | let kw_var_params = if let Some(kw_var_args) = sig.params.kw_var_params.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:374:9 [INFO] [stdout] | [INFO] [stdout] 374 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 355 ~ let kw_var_params = match sig.params.kw_var_params.as_ref() { Some(kw_var_args) => { [INFO] [stdout] 356 | let opt_decl_t = opt_decl_sig_t [INFO] [stdout] ... [INFO] [stdout] 373 | Some(pt) [INFO] [stdout] 374 ~ } _ => { [INFO] [stdout] 375 | None [INFO] [stdout] 376 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:377:32 [INFO] [stdout] | [INFO] [stdout] 377 | let spec_return_t = if let Some(t_spec) = sig.return_t_spec.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-----------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 377 ~ let spec_return_t = match sig.return_t_spec.as_ref() { Some(t_spec) => { [INFO] [stdout] 378 | let opt_decl_t = opt_decl_sig_t [INFO] [stdout] ... [INFO] [stdout] 401 | } [INFO] [stdout] 402 ~ } _ => { [INFO] [stdout] 403 | // preregisterならouter scopeで型宣言(see inference.md) [INFO] [stdout] ... [INFO] [stdout] 409 | free_var(level, Constraint::new_type_of(Type)) [INFO] [stdout] 410 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:455:25 [INFO] [stdout] | [INFO] [stdout] 455 | let spec_t = if let Some(spec_with_op) = &sig.t_spec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:472:9 [INFO] [stdout] | [INFO] [stdout] 472 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 455 ~ let spec_t = match &sig.t_spec { Some(spec_with_op) => { [INFO] [stdout] 456 | match self.instantiate_typespec_full( [INFO] [stdout] ... [INFO] [stdout] 471 | } [INFO] [stdout] 472 ~ } _ => { [INFO] [stdout] 473 | match &sig.pat { [INFO] [stdout] ... [INFO] [stdout] 484 | } [INFO] [stdout] 485 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:497:23 [INFO] [stdout] | [INFO] [stdout] 497 | } else if let Err(es) = self.sub_unify( [INFO] [stdout] | _______________________^ - [INFO] [stdout] | |_____________________________________| [INFO] [stdout] 498 | || decl_pt.typ(), [INFO] [stdout] 499 | || &spec_t, [INFO] [stdout] 500 | || &sig.t_spec.as_ref().ok_or(sig), [INFO] [stdout] 501 | || None, [INFO] [stdout] 502 | || ) { [INFO] [stdout] | ||_____________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:504:13 [INFO] [stdout] | [INFO] [stdout] 504 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 497 ~ } else { match self.sub_unify( [INFO] [stdout] 498 | decl_pt.typ(), [INFO] [stdout] ... [INFO] [stdout] 501 | None, [INFO] [stdout] 502 ~ ) { Err(es) => { [INFO] [stdout] 503 | return Err((spec_t, errs.concat(es))); [INFO] [stdout] 504 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:489:20 [INFO] [stdout] | [INFO] [stdout] 489 | if let Err(es) = self.sub_unify( [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |__________________________________| [INFO] [stdout] 490 | || decl_pt.typ(), [INFO] [stdout] 491 | || &spec_t, [INFO] [stdout] 492 | || &sig.t_spec.as_ref().ok_or(sig), [INFO] [stdout] 493 | || None, [INFO] [stdout] 494 | || ) { [INFO] [stdout] | ||_________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:496:17 [INFO] [stdout] | [INFO] [stdout] 496 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 489 ~ match self.sub_unify( [INFO] [stdout] 490 | decl_pt.typ(), [INFO] [stdout] ... [INFO] [stdout] 493 | None, [INFO] [stdout] 494 ~ ) { Err(es) => { [INFO] [stdout] 495 | return Err((spec_t, errs.concat(es))); [INFO] [stdout] 496 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:525:12 [INFO] [stdout] | [INFO] [stdout] 525 | if let Some(value) = sig [INFO] [stdout] | ____________^ - [INFO] [stdout] | |______________________________| [INFO] [stdout] 526 | || .name() [INFO] [stdout] 527 | || .and_then(|name| self.get_const_local(name.token(), &self.name).ok()) [INFO] [stdout] | ||_________________________________________________________________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_________________________________________________________________________________| [INFO] [stdout] | [INFO] [stdout] ... [INFO] [stdout] 530 | } else if let Some((tp, _vi)) = sig [INFO] [stdout] | _________________________________________- [INFO] [stdout] 531 | | .name() [INFO] [stdout] 532 | | .and_then(|name| self.get_tp_from_tv_cache(name.inspect(), tmp_tv_cache)) [INFO] [stdout] | |_____________________________________________________________________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:530:9 [INFO] [stdout] | [INFO] [stdout] 530 | } else if let Some((tp, _vi)) = sig [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:549:9 [INFO] [stdout] | [INFO] [stdout] 549 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 525 ~ match sig [INFO] [stdout] 526 | .name() [INFO] [stdout] 527 | .and_then(|name| self.get_const_local(name.token(), &self.name).ok()) [INFO] [stdout] 528 ~ { Some(value) => { [INFO] [stdout] 529 | return Ok(ParamTy::Pos(v_enum(set! { value }))); [INFO] [stdout] 530 ~ } _ => { match sig [INFO] [stdout] 531 | .name() [INFO] [stdout] 532 | .and_then(|name| self.get_tp_from_tv_cache(name.inspect(), tmp_tv_cache)) [INFO] [stdout] 533 ~ { Some((tp, _vi)) => { [INFO] [stdout] 534 | match tp { [INFO] [stdout] ... [INFO] [stdout] 548 | } [INFO] [stdout] 549 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:600:28 [INFO] [stdout] | [INFO] [stdout] 600 | if let Ok(typ) = ctx.instantiate_local_poly_t( [INFO] [stdout] | ____________________________^ - [INFO] [stdout] | |__________________________________________| [INFO] [stdout] 601 | || &attr.name, [INFO] [stdout] 602 | || &poly.args, [INFO] [stdout] 603 | || opt_decl_t, [INFO] [stdout] 604 | || tmp_tv_cache, [INFO] [stdout] 605 | || not_found_is_qvar, [INFO] [stdout] 606 | || ) { [INFO] [stdout] | ||_________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:608:25 [INFO] [stdout] | [INFO] [stdout] 608 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 600 ~ match ctx.instantiate_local_poly_t( [INFO] [stdout] 601 | &attr.name, [INFO] [stdout] ... [INFO] [stdout] 605 | not_found_is_qvar, [INFO] [stdout] 606 ~ ) { Ok(typ) => { [INFO] [stdout] 607 | return Ok(typ); [INFO] [stdout] 608 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:627:24 [INFO] [stdout] | [INFO] [stdout] 627 | if let Ok(receiver_t) = self.instantiate_const_expr_as_type( [INFO] [stdout] | ________________________^ - [INFO] [stdout] | |_____________________________________________| [INFO] [stdout] 628 | || &receiver, [INFO] [stdout] 629 | || None, [INFO] [stdout] 630 | || tmp_tv_cache, [INFO] [stdout] 631 | || not_found_is_qvar, [INFO] [stdout] 632 | || ) { [INFO] [stdout] | ||_____________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_____________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:636:21 [INFO] [stdout] | [INFO] [stdout] 636 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 627 ~ match self.instantiate_const_expr_as_type( [INFO] [stdout] 628 | &receiver, [INFO] [stdout] ... [INFO] [stdout] 631 | not_found_is_qvar, [INFO] [stdout] 632 ~ ) { Ok(receiver_t) => { [INFO] [stdout] 633 | return self [INFO] [stdout] 634 | .eval_proj(receiver_t, t.inspect().clone(), self.level, predecl) [INFO] [stdout] 635 | .map_err(|errs| (Type::Failure, errs)); [INFO] [stdout] 636 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:721:24 [INFO] [stdout] | [INFO] [stdout] 721 | if let Ok(t) = outer.instantiate_mono_t( [INFO] [stdout] | ________________________^ - [INFO] [stdout] | |____________________________________| [INFO] [stdout] 722 | || ident, [INFO] [stdout] 723 | || opt_decl_pt, [INFO] [stdout] 724 | || tmp_tv_cache, [INFO] [stdout] 725 | || not_found_is_qvar, [INFO] [stdout] 726 | || ) { [INFO] [stdout] | ||_____________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_____________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:728:21 [INFO] [stdout] | [INFO] [stdout] 728 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 721 ~ match outer.instantiate_mono_t( [INFO] [stdout] 722 | ident, [INFO] [stdout] ... [INFO] [stdout] 725 | not_found_is_qvar, [INFO] [stdout] 726 ~ ) { Ok(t) => { [INFO] [stdout] 727 | return Ok(t); [INFO] [stdout] 728 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:774:20 [INFO] [stdout] | [INFO] [stdout] 774 | if let Some(first) = pos_args.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:808:17 [INFO] [stdout] | [INFO] [stdout] 808 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 774 ~ match pos_args.next() { Some(first) => { [INFO] [stdout] 775 | let t = match self.instantiate_const_expr_as_type( [INFO] [stdout] ... [INFO] [stdout] 807 | } [INFO] [stdout] 808 ~ } _ => { [INFO] [stdout] 809 | Ok(mono("GenericList")) [INFO] [stdout] 810 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:787:34 [INFO] [stdout] | [INFO] [stdout] 787 | let len = if let Some(len) = pos_args.next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:800:21 [INFO] [stdout] | [INFO] [stdout] 800 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 787 ~ let len = match pos_args.next() { Some(len) => { [INFO] [stdout] 788 | match self.instantiate_const_expr( [INFO] [stdout] ... [INFO] [stdout] 799 | } [INFO] [stdout] 800 ~ } _ => { [INFO] [stdout] 801 | TyParam::erased(Nat) [INFO] [stdout] 802 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:1005:28 [INFO] [stdout] | [INFO] [stdout] 1005 | if let Ok(t) = outer.instantiate_local_poly_t( [INFO] [stdout] | ____________________________^ - [INFO] [stdout] | |________________________________________| [INFO] [stdout] 1006 | || name, [INFO] [stdout] 1007 | || args, [INFO] [stdout] 1008 | || opt_decl_t, [INFO] [stdout] 1009 | || tmp_tv_cache, [INFO] [stdout] 1010 | || not_found_is_qvar, [INFO] [stdout] 1011 | || ) { [INFO] [stdout] | ||_________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:1013:25 [INFO] [stdout] | [INFO] [stdout] 1013 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1005 ~ match outer.instantiate_local_poly_t( [INFO] [stdout] 1006 | name, [INFO] [stdout] ... [INFO] [stdout] 1010 | not_found_is_qvar, [INFO] [stdout] 1011 ~ ) { Ok(t) => { [INFO] [stdout] 1012 | return Ok(t); [INFO] [stdout] 1013 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:1092:28 [INFO] [stdout] | [INFO] [stdout] 1092 | if let Some(old) = new_params.get_mut(args.pos_args.len() + idx) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:1094:25 [INFO] [stdout] | [INFO] [stdout] 1094 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1092 ~ match new_params.get_mut(args.pos_args.len() + idx) { Some(old) => { [INFO] [stdout] 1093 | *old = tp; [INFO] [stdout] 1094 ~ } _ => { [INFO] [stdout] 1095 | log!(err "{tp} / {} / {idx}", args.pos_args.len()); [INFO] [stdout] 1096 | // TODO: too many kw args [INFO] [stdout] 1097 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:1238:32 [INFO] [stdout] | [INFO] [stdout] 1238 | ... if let Some(value) = ctx.rec_get_const_obj(attr.name.inspect()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:1240:29 [INFO] [stdout] | [INFO] [stdout] 1240 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1238 ~ match ctx.rec_get_const_obj(attr.name.inspect()) { Some(value) => { [INFO] [stdout] 1239 | return Ok(TyParam::Value(value.clone())); [INFO] [stdout] 1240 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:1349:29 [INFO] [stdout] | [INFO] [stdout] 1349 | let tp = if let Some(attr_name) = app.attr_name.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:1351:17 [INFO] [stdout] | [INFO] [stdout] 1351 | } else if ctx.kind.is_type() && !ctx.params.is_empty() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1349 ~ let tp = match app.attr_name.as_ref() { Some(attr_name) => { [INFO] [stdout] 1350 | obj.proj_call(attr_name.inspect().clone(), args) [INFO] [stdout] 1351 ~ } _ => if ctx.kind.is_type() && !ctx.params.is_empty() { [INFO] [stdout] 1352 | TyParam::t(poly(ctx.name.clone(), args)) [INFO] [stdout] ... [INFO] [stdout] 1363 | TyParam::app(ident.inspect().clone(), args) [INFO] [stdout] 1364 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:1472:24 [INFO] [stdout] | [INFO] [stdout] 1472 | if let Ok(elem_t) = self.instantiate_tp_as_type(elem, lis) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:1474:21 [INFO] [stdout] | [INFO] [stdout] 1474 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1472 ~ match self.instantiate_tp_as_type(elem, lis) { Ok(elem_t) => { [INFO] [stdout] 1473 | return Ok(TyParam::t(unknown_len_list_t(elem_t))); [INFO] [stdout] 1474 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:1528:24 [INFO] [stdout] | [INFO] [stdout] 1528 | if let Ok(t) = self.instantiate_tp_as_type(iter, set) { [INFO] [stdout] | ^^^^^^^^^^^^-------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:1535:21 [INFO] [stdout] | [INFO] [stdout] 1535 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1528 ~ match self.instantiate_tp_as_type(iter, set) { Ok(t) => { [INFO] [stdout] 1529 | let tp = TyParam::t(refinement(ident.inspect().clone(), t, pred)); [INFO] [stdout] ... [INFO] [stdout] 1534 | } [INFO] [stdout] 1535 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:1667:37 [INFO] [stdout] | [INFO] [stdout] 1667 | let var_params = if let Some(p) = lambda.sig.params.var_params.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:1683:17 [INFO] [stdout] | [INFO] [stdout] 1683 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1667 ~ let var_params = match lambda.sig.params.var_params.as_ref() { Some(p) => { [INFO] [stdout] 1668 | let pt = match self.instantiate_param_ty( [INFO] [stdout] ... [INFO] [stdout] 1682 | Some(pt) [INFO] [stdout] 1683 ~ } _ => { [INFO] [stdout] 1684 | None [INFO] [stdout] 1685 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:1711:40 [INFO] [stdout] | [INFO] [stdout] 1711 | let kw_var_params = if let Some(p) = lambda.sig.params.kw_var_params.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^-------------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:1727:17 [INFO] [stdout] | [INFO] [stdout] 1727 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1711 ~ let kw_var_params = match lambda.sig.params.kw_var_params.as_ref() { Some(p) => { [INFO] [stdout] 1712 | let pt = match self.instantiate_param_ty( [INFO] [stdout] ... [INFO] [stdout] 1726 | Some(pt) [INFO] [stdout] 1727 ~ } _ => { [INFO] [stdout] 1728 | None [INFO] [stdout] 1729 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:2310:33 [INFO] [stdout] | [INFO] [stdout] 2310 | let target = if let Some(nth) = params.position(|p| Some(p) == expr.get_name()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:2312:17 [INFO] [stdout] | [INFO] [stdout] 2312 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2310 ~ let target = match params.position(|p| Some(p) == expr.get_name()) { Some(nth) => { [INFO] [stdout] 2311 | CastTarget::arg(nth, expr.get_name().unwrap().clone(), ().loc()) [INFO] [stdout] 2312 ~ } _ => { [INFO] [stdout] 2313 | CastTarget::Expr(expr) [INFO] [stdout] 2314 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:2562:32 [INFO] [stdout] | [INFO] [stdout] 2562 | ... if let Ok(to) = self.instantiate_const_expr_as_type( [INFO] [stdout] | __________________________^ - [INFO] [stdout] | |_______________________________________| [INFO] [stdout] 2563 | || ... &bin.rhs, [INFO] [stdout] 2564 | || ... None, [INFO] [stdout] 2565 | || ... tmp_tv_cache, [INFO] [stdout] 2566 | || ... not_found_is_qvar, [INFO] [stdout] 2567 | || ... ) { [INFO] [stdout] | ||_______________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_______________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:2574:29 [INFO] [stdout] | [INFO] [stdout] 2574 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2562 ~ match self.instantiate_const_expr_as_type( [INFO] [stdout] 2563 | &bin.rhs, [INFO] [stdout] ... [INFO] [stdout] 2566 | not_found_is_qvar, [INFO] [stdout] 2567 ~ ) { Ok(to) => { [INFO] [stdout] 2568 | let target = CastTarget::expr(bin.lhs.clone().downgrade()); [INFO] [stdout] ... [INFO] [stdout] 2573 | ))); [INFO] [stdout] 2574 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:2671:37 [INFO] [stdout] | [INFO] [stdout] 2671 | let tmp_tv_ctx = if let Some(inner) = &mut inner_tv_ctx { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/instantiate_spec.rs:2673:17 [INFO] [stdout] | [INFO] [stdout] 2673 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2671 ~ let tmp_tv_ctx = match &mut inner_tv_ctx { Some(inner) => { [INFO] [stdout] 2672 | inner [INFO] [stdout] 2673 ~ } _ => { [INFO] [stdout] 2674 | tmp_tv_cache [INFO] [stdout] 2675 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | if let Some((name, vi)) = self.params.iter().find(|(maybe_name, _)| { [INFO] [stdout] | ^ ----------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | ____________| [INFO] [stdout] | | [INFO] [stdout] 63 | | maybe_name [INFO] [stdout] 64 | | .as_ref() [INFO] [stdout] 65 | | .map(|n| &n.inspect()[..] == name) [INFO] [stdout] 66 | | .unwrap_or(false) [INFO] [stdout] 67 | | }) { [INFO] [stdout] | |__________^ [INFO] [stdout] 68 | return Some((name.as_ref().unwrap(), vi)); [INFO] [stdout] 69 | } else if let Some((name, vi)) = self.locals.get_key_value(name) { [INFO] [stdout] | ----------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | } else if let Some((name, vi)) = self.locals.get_key_value(name) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 62 ~ match self.params.iter().find(|(maybe_name, _)| { [INFO] [stdout] 63 | maybe_name [INFO] [stdout] ... [INFO] [stdout] 66 | .unwrap_or(false) [INFO] [stdout] 67 ~ }) { Some((name, vi)) => { [INFO] [stdout] 68 | return Some((name.as_ref().unwrap(), vi)); [INFO] [stdout] 69 ~ } _ => { match self.locals.get_key_value(name) { Some((name, vi)) => { [INFO] [stdout] 70 | return Some((name, vi)); [INFO] [stdout] 71 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:107:26 [INFO] [stdout] | [INFO] [stdout] 107 | let py_name = if let ContextKind::PatchMethodDefs(_base) = &self.kind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 107 ~ let py_name = match &self.kind { ContextKind::PatchMethodDefs(_base) => { [INFO] [stdout] 108 | Some(Str::from(format!("::{}{}", self.name, ident))) [INFO] [stdout] 109 ~ } _ => { [INFO] [stdout] 110 | None [INFO] [stdout] 111 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:168:26 [INFO] [stdout] | [INFO] [stdout] 168 | let py_name = if let ContextKind::PatchMethodDefs(_base) = &self.kind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 168 ~ let py_name = match &self.kind { ContextKind::PatchMethodDefs(_base) => { [INFO] [stdout] 169 | Some(Str::from(format!("::{}{}", self.name, sig.ident))) [INFO] [stdout] 170 ~ } _ => { [INFO] [stdout] 171 | None [INFO] [stdout] 172 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:326:12 [INFO] [stdout] | [INFO] [stdout] 326 | if let Some(self_t) = self.rec_get_self_t() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 326 ~ match self.rec_get_self_t() { Some(self_t) => { [INFO] [stdout] 327 | let self_t = match pat { [INFO] [stdout] ... [INFO] [stdout] 335 | } [INFO] [stdout] 336 ~ } _ => { [INFO] [stdout] 337 | log!(err "self_t is None"); [INFO] [stdout] 338 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:333:16 [INFO] [stdout] | [INFO] [stdout] 333 | if let Err(es) = self.sub_unify(spec_t, &self_t, name, Some(name.inspect())) { [INFO] [stdout] | ^^^^^^^^^^^^^^----------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:335:13 [INFO] [stdout] | [INFO] [stdout] 335 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 333 ~ match self.sub_unify(spec_t, &self_t, name, Some(name.inspect())) { Err(es) => { [INFO] [stdout] 334 | errs.extend(es); [INFO] [stdout] 335 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:567:12 [INFO] [stdout] | [INFO] [stdout] 567 | if let Some(subr_t) = expect { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:638:9 [INFO] [stdout] | [INFO] [stdout] 638 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 567 ~ match expect { Some(subr_t) => { [INFO] [stdout] 568 | if params.non_defaults.len() > subr_t.non_default_params.len() { [INFO] [stdout] ... [INFO] [stdout] 637 | } [INFO] [stdout] 638 ~ } _ => { [INFO] [stdout] 639 | for non_default in params.non_defaults.iter_mut() { [INFO] [stdout] ... [INFO] [stdout] 669 | } [INFO] [stdout] 670 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:591:20 [INFO] [stdout] | [INFO] [stdout] 591 | if let Err(es) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 592 | | self.assign_param(non_default, Some(pt), tmp_tv_cache, ParamKind::NonDefault) [INFO] [stdout] | |_____________________----------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:595:17 [INFO] [stdout] | [INFO] [stdout] 595 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 591 ~ match self.assign_param(non_default, Some(pt), tmp_tv_cache, ParamKind::NonDefault) [INFO] [stdout] 592 ~ { Err(es) => { [INFO] [stdout] 593 | errs.extend(es); [INFO] [stdout] 594 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:598:20 [INFO] [stdout] | [INFO] [stdout] 598 | if let Some(pt) = &subr_t.var_params { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 606 | self.assign_param(var_params, None, tmp_tv_cache, ParamKind::VarParams) [INFO] [stdout] | ----------------------------------------------------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:605:17 [INFO] [stdout] | [INFO] [stdout] 605 | } else if let Err(es) = [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:609:17 [INFO] [stdout] | [INFO] [stdout] 609 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 598 ~ match &subr_t.var_params { Some(pt) => { [INFO] [stdout] 599 | let pt = pt.clone().map_type(&mut unknown_len_list_t); [INFO] [stdout] ... [INFO] [stdout] 604 | } [INFO] [stdout] 605 ~ } _ => { match self.assign_param(var_params, None, tmp_tv_cache, ParamKind::VarParams) [INFO] [stdout] 606 ~ { Err(es) => { [INFO] [stdout] 607 | errs.extend(es); [INFO] [stdout] 608 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:600:24 [INFO] [stdout] | [INFO] [stdout] 600 | if let Err(es) = [INFO] [stdout] | ________________________^ [INFO] [stdout] 601 | | self.assign_param(var_params, Some(&pt), tmp_tv_cache, ParamKind::VarParams) [INFO] [stdout] | |_________________________---------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:604:21 [INFO] [stdout] | [INFO] [stdout] 604 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 600 ~ match self.assign_param(var_params, Some(&pt), tmp_tv_cache, ParamKind::VarParams) [INFO] [stdout] 601 ~ { Err(es) => { [INFO] [stdout] 602 | errs.extend(es); [INFO] [stdout] 603 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:612:20 [INFO] [stdout] | [INFO] [stdout] 612 | if let Err(es) = self.assign_param( [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |__________________________________| [INFO] [stdout] 613 | || &mut default.sig, [INFO] [stdout] 614 | || Some(pt), [INFO] [stdout] 615 | || tmp_tv_cache, [INFO] [stdout] 616 | || ParamKind::Default(default.default_val.t()), [INFO] [stdout] 617 | || ) { [INFO] [stdout] | ||_________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:619:17 [INFO] [stdout] | [INFO] [stdout] 619 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 612 ~ match self.assign_param( [INFO] [stdout] 613 | &mut default.sig, [INFO] [stdout] ... [INFO] [stdout] 616 | ParamKind::Default(default.default_val.t()), [INFO] [stdout] 617 ~ ) { Err(es) => { [INFO] [stdout] 618 | errs.extend(es); [INFO] [stdout] 619 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:621:16 [INFO] [stdout] | [INFO] [stdout] 621 | if let Some(kw_var_params) = &mut params.kw_var_params { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:637:13 [INFO] [stdout] | [INFO] [stdout] 637 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 621 ~ match &mut params.kw_var_params { Some(kw_var_params) => { [INFO] [stdout] 622 | if let Some(pt) = &subr_t.var_params { [INFO] [stdout] ... [INFO] [stdout] 636 | } [INFO] [stdout] 637 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:622:20 [INFO] [stdout] | [INFO] [stdout] 622 | if let Some(pt) = &subr_t.var_params { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 633 | self.assign_param(kw_var_params, None, tmp_tv_cache, ParamKind::KwVarParams) [INFO] [stdout] | ---------------------------------------------------------------------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:632:17 [INFO] [stdout] | [INFO] [stdout] 632 | } else if let Err(es) = [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:636:17 [INFO] [stdout] | [INFO] [stdout] 636 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 622 ~ match &subr_t.var_params { Some(pt) => { [INFO] [stdout] 623 | let pt = pt.clone().map_type(&mut str_dict_t); [INFO] [stdout] ... [INFO] [stdout] 631 | } [INFO] [stdout] 632 ~ } _ => { match self.assign_param(kw_var_params, None, tmp_tv_cache, ParamKind::KwVarParams) [INFO] [stdout] 633 ~ { Err(es) => { [INFO] [stdout] 634 | errs.extend(es); [INFO] [stdout] 635 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:624:24 [INFO] [stdout] | [INFO] [stdout] 624 | if let Err(es) = self.assign_param( [INFO] [stdout] | ________________________^ - [INFO] [stdout] | |______________________________________| [INFO] [stdout] 625 | || kw_var_params, [INFO] [stdout] 626 | || Some(&pt), [INFO] [stdout] 627 | || tmp_tv_cache, [INFO] [stdout] 628 | || ParamKind::KwVarParams, [INFO] [stdout] 629 | || ) { [INFO] [stdout] | ||_____________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_____________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:631:21 [INFO] [stdout] | [INFO] [stdout] 631 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 624 ~ match self.assign_param( [INFO] [stdout] 625 | kw_var_params, [INFO] [stdout] ... [INFO] [stdout] 628 | ParamKind::KwVarParams, [INFO] [stdout] 629 ~ ) { Err(es) => { [INFO] [stdout] 630 | errs.extend(es); [INFO] [stdout] 631 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:640:20 [INFO] [stdout] | [INFO] [stdout] 640 | if let Err(es) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 641 | | self.assign_param(non_default, None, tmp_tv_cache, ParamKind::NonDefault) [INFO] [stdout] | |_____________________------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:644:17 [INFO] [stdout] | [INFO] [stdout] 644 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 640 ~ match self.assign_param(non_default, None, tmp_tv_cache, ParamKind::NonDefault) [INFO] [stdout] 641 ~ { Err(es) => { [INFO] [stdout] 642 | errs.extend(es); [INFO] [stdout] 643 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:647:20 [INFO] [stdout] | [INFO] [stdout] 647 | if let Err(es) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 648 | | self.assign_param(var_params, None, tmp_tv_cache, ParamKind::VarParams) [INFO] [stdout] | |_____________________----------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:651:17 [INFO] [stdout] | [INFO] [stdout] 651 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 647 ~ match self.assign_param(var_params, None, tmp_tv_cache, ParamKind::VarParams) [INFO] [stdout] 648 ~ { Err(es) => { [INFO] [stdout] 649 | errs.extend(es); [INFO] [stdout] 650 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:654:20 [INFO] [stdout] | [INFO] [stdout] 654 | if let Err(es) = self.assign_param( [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |__________________________________| [INFO] [stdout] 655 | || &mut default.sig, [INFO] [stdout] 656 | || None, [INFO] [stdout] 657 | || tmp_tv_cache, [INFO] [stdout] 658 | || ParamKind::Default(default.default_val.t()), [INFO] [stdout] 659 | || ) { [INFO] [stdout] | ||_________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:661:17 [INFO] [stdout] | [INFO] [stdout] 661 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 654 ~ match self.assign_param( [INFO] [stdout] 655 | &mut default.sig, [INFO] [stdout] ... [INFO] [stdout] 658 | ParamKind::Default(default.default_val.t()), [INFO] [stdout] 659 ~ ) { Err(es) => { [INFO] [stdout] 660 | errs.extend(es); [INFO] [stdout] 661 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:663:16 [INFO] [stdout] | [INFO] [stdout] 663 | if let Some(kw_var_params) = &mut params.kw_var_params { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:669:13 [INFO] [stdout] | [INFO] [stdout] 669 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 663 ~ match &mut params.kw_var_params { Some(kw_var_params) => { [INFO] [stdout] 664 | if let Err(es) = [INFO] [stdout] ... [INFO] [stdout] 668 | } [INFO] [stdout] 669 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:664:20 [INFO] [stdout] | [INFO] [stdout] 664 | if let Err(es) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 665 | | self.assign_param(kw_var_params, None, tmp_tv_cache, ParamKind::KwVarParams) [INFO] [stdout] | |_____________________---------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:668:17 [INFO] [stdout] | [INFO] [stdout] 668 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 664 ~ match self.assign_param(kw_var_params, None, tmp_tv_cache, ParamKind::KwVarParams) [INFO] [stdout] 665 ~ { Err(es) => { [INFO] [stdout] 666 | errs.extend(es); [INFO] [stdout] 667 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:720:38 [INFO] [stdout] | [INFO] [stdout] 720 | let unify_return_result = if let Some(t_spec) = sig.return_t_spec.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-----------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:722:9 [INFO] [stdout] | [INFO] [stdout] 722 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 720 ~ let unify_return_result = match sig.return_t_spec.as_ref() { Some(t_spec) => { [INFO] [stdout] 721 | self.force_sub_unify(body_t, spec_ret_t, t_spec, None) [INFO] [stdout] 722 ~ } _ => { [INFO] [stdout] 723 | self.force_sub_unify(body_t, spec_ret_t, body_loc, None) [INFO] [stdout] 724 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:828:26 [INFO] [stdout] | [INFO] [stdout] 828 | let py_name = if let Some(vi) = self.decls.remove(name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:842:9 [INFO] [stdout] | [INFO] [stdout] 842 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 828 ~ let py_name = match self.decls.remove(name) { Some(vi) => { [INFO] [stdout] 829 | if !self.supertype_of(&vi.t, &found_t) { [INFO] [stdout] ... [INFO] [stdout] 841 | vi.py_name [INFO] [stdout] 842 ~ } _ => { [INFO] [stdout] 843 | None [INFO] [stdout] 844 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:883:16 [INFO] [stdout] | [INFO] [stdout] 883 | if let Some(vi) = self.decls.remove(ident.inspect()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:885:13 [INFO] [stdout] | [INFO] [stdout] 885 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 883 ~ match self.decls.remove(ident.inspect()) { Some(vi) => { [INFO] [stdout] 884 | self.locals.insert(ident.name.clone(), vi); [INFO] [stdout] 885 ~ } _ => { [INFO] [stdout] 886 | log!(err "not found: {}", ident.name); [INFO] [stdout] 887 | return Ok(()); [INFO] [stdout] 888 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:1047:12 [INFO] [stdout] | [INFO] [stdout] 1047 | if let Some(mut impls) = self.trait_impls().get_mut(&trait_.qual_name()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:1049:9 [INFO] [stdout] | [INFO] [stdout] 1049 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1047 ~ match self.trait_impls().get_mut(&trait_.qual_name()) { Some(mut impls) => { [INFO] [stdout] 1048 | impls.insert(TraitImpl::new(class.clone(), trait_.clone(), declared_in)); [INFO] [stdout] 1049 ~ } _ => { [INFO] [stdout] 1050 | self.trait_impls().register( [INFO] [stdout] ... [INFO] [stdout] 1053 | ); [INFO] [stdout] 1054 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:1087:24 [INFO] [stdout] | [INFO] [stdout] 1087 | if let Err(errs) = self.preregister_const_def(def) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:1089:21 [INFO] [stdout] | [INFO] [stdout] 1089 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1087 ~ match self.preregister_const_def(def) { Err(errs) => { [INFO] [stdout] 1088 | total_errs.extend(errs); [INFO] [stdout] 1089 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:1092:24 [INFO] [stdout] | [INFO] [stdout] 1092 | if let Err(errs) = self.preregister_const_def(&class_def.def) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:1094:21 [INFO] [stdout] | [INFO] [stdout] 1094 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1092 ~ match self.preregister_const_def(&class_def.def) { Err(errs) => { [INFO] [stdout] 1093 | total_errs.extend(errs); [INFO] [stdout] 1094 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:1097:24 [INFO] [stdout] | [INFO] [stdout] 1097 | if let Err(errs) = self.preregister_const_def(&patch_def.def) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:1099:21 [INFO] [stdout] | [INFO] [stdout] 1099 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1097 ~ match self.preregister_const_def(&patch_def.def) { Err(errs) => { [INFO] [stdout] 1098 | total_errs.extend(errs); [INFO] [stdout] 1099 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:1102:24 [INFO] [stdout] | [INFO] [stdout] 1102 | if let Err(errs) = self.preregister_consts(&dummy.exprs) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:1104:21 [INFO] [stdout] | [INFO] [stdout] 1104 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1102 ~ match self.preregister_consts(&dummy.exprs) { Err(errs) => { [INFO] [stdout] 1103 | total_errs.extend(errs); [INFO] [stdout] 1104 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:1125:28 [INFO] [stdout] | [INFO] [stdout] 1125 | if let Err(errs) = self.pre_import(def) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:1127:25 [INFO] [stdout] | [INFO] [stdout] 1127 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1125 ~ match self.pre_import(def) { Err(errs) => { [INFO] [stdout] 1126 | total_errs.extend(errs); [INFO] [stdout] 1127 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:1144:32 [INFO] [stdout] | [INFO] [stdout] 1144 | ... if let Err(errs) = self.register_trait_impl(&class, trait_, *trait_loc) [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:1147:29 [INFO] [stdout] | [INFO] [stdout] 1147 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1144 ~ match self.register_trait_impl(&class, trait_, *trait_loc) [INFO] [stdout] 1145 ~ { Err(errs) => { [INFO] [stdout] 1146 | total_errs.extend(errs); [INFO] [stdout] 1147 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:1154:36 [INFO] [stdout] | [INFO] [stdout] 1154 | ... if let Err(errs) = self.register_def(def) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:1156:33 [INFO] [stdout] | [INFO] [stdout] 1156 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1154 ~ match self.register_def(def) { Err(errs) => { [INFO] [stdout] 1155 | total_errs.extend(errs); [INFO] [stdout] 1156 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:1164:38 [INFO] [stdout] | [INFO] [stdout] 1164 | let typ = if let Some((impl_trait, _)) = impl_trait { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:1166:25 [INFO] [stdout] | [INFO] [stdout] 1166 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1164 ~ let typ = match impl_trait { Some((impl_trait, _)) => { [INFO] [stdout] 1165 | ClassDefType::impl_trait(class, impl_trait) [INFO] [stdout] 1166 ~ } _ => { [INFO] [stdout] 1167 | ClassDefType::Simple(class) [INFO] [stdout] 1168 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:1175:24 [INFO] [stdout] | [INFO] [stdout] 1175 | if let Err(errs) = self.register_def(&patch_def.def) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:1177:21 [INFO] [stdout] | [INFO] [stdout] 1177 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1175 ~ match self.register_def(&patch_def.def) { Err(errs) => { [INFO] [stdout] 1176 | total_errs.extend(errs); [INFO] [stdout] 1177 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:1180:24 [INFO] [stdout] | [INFO] [stdout] 1180 | if let Err(errs) = self.register_defs(&dummy.exprs) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:1182:21 [INFO] [stdout] | [INFO] [stdout] 1182 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1180 ~ match self.register_defs(&dummy.exprs) { Err(errs) => { [INFO] [stdout] 1181 | total_errs.extend(errs); [INFO] [stdout] 1182 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:1207:22 [INFO] [stdout] | [INFO] [stdout] 1207 | let arg = if let Ok(path) = &path { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:1209:9 [INFO] [stdout] | [INFO] [stdout] 1209 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1207 ~ let arg = match &path { Ok(path) => { [INFO] [stdout] 1208 | TyParam::Value(ValueObj::Str(path.to_string_lossy().into())) [INFO] [stdout] 1209 ~ } _ => { [INFO] [stdout] 1210 | TyParam::Value(ValueObj::Str( [INFO] [stdout] 1211 | mod_name.token.content.replace('\"', "").into(), [INFO] [stdout] 1212 | )) [INFO] [stdout] 1213 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:1271:23 [INFO] [stdout] | [INFO] [stdout] 1271 | let call = if let Some(ast::Expr::Call(call)) = &def.body.block.first() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:1273:9 [INFO] [stdout] | [INFO] [stdout] 1273 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1271 ~ let call = match &def.body.block.first() { Some(ast::Expr::Call(call)) => { [INFO] [stdout] 1272 | Some(call) [INFO] [stdout] 1273 ~ } _ => { [INFO] [stdout] 1274 | None [INFO] [stdout] 1275 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:1335:27 [INFO] [stdout] | [INFO] [stdout] 1335 | } else if let Err(es) = self.declare_sub(sig, id) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:1337:17 [INFO] [stdout] | [INFO] [stdout] 1337 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1335 ~ } else { match self.declare_sub(sig, id) { Err(es) => { [INFO] [stdout] 1336 | errs.extend(es); [INFO] [stdout] 1337 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:1322:28 [INFO] [stdout] | [INFO] [stdout] 1322 | if let Err(es) = self.sub_unify(&const_t, &spec_t, &def.body, None) { [INFO] [stdout] | ^^^^^^^^^^^^^^-------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:1324:25 [INFO] [stdout] | [INFO] [stdout] 1324 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1322 ~ match self.sub_unify(&const_t, &spec_t, &def.body, None) { Err(es) => { [INFO] [stdout] 1323 | errs.extend(es); [INFO] [stdout] 1324 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:1327:24 [INFO] [stdout] | [INFO] [stdout] 1327 | if let Err(es) = self.register_gen_const( [INFO] [stdout] | ________________________^ - [INFO] [stdout] | |______________________________________| [INFO] [stdout] 1328 | || def.sig.ident().unwrap(), [INFO] [stdout] 1329 | || obj, [INFO] [stdout] 1330 | || call, [INFO] [stdout] 1331 | || def.def_kind().is_other(), [INFO] [stdout] 1332 | || ) { [INFO] [stdout] | ||_____________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_____________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:1334:21 [INFO] [stdout] | [INFO] [stdout] 1334 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1327 ~ match self.register_gen_const( [INFO] [stdout] 1328 | def.sig.ident().unwrap(), [INFO] [stdout] ... [INFO] [stdout] 1331 | def.def_kind().is_other(), [INFO] [stdout] 1332 ~ ) { Err(es) => { [INFO] [stdout] 1333 | errs.extend(es); [INFO] [stdout] 1334 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:1397:27 [INFO] [stdout] | [INFO] [stdout] 1397 | } else if let Err((_, es)) = self.pre_define_var(sig, id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:1399:17 [INFO] [stdout] | [INFO] [stdout] 1399 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1397 ~ } else { match self.pre_define_var(sig, id) { Err((_, es)) => { [INFO] [stdout] 1398 | errs.extend(es); [INFO] [stdout] 1399 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:1385:28 [INFO] [stdout] | [INFO] [stdout] 1385 | if let Err(es) = self.sub_unify(&const_t, &spec_t, &def.body, None) { [INFO] [stdout] | ^^^^^^^^^^^^^^-------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:1387:25 [INFO] [stdout] | [INFO] [stdout] 1387 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1385 ~ match self.sub_unify(&const_t, &spec_t, &def.body, None) { Err(es) => { [INFO] [stdout] 1386 | errs.extend(es); [INFO] [stdout] 1387 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:1391:28 [INFO] [stdout] | [INFO] [stdout] 1391 | if let Err(es) = [INFO] [stdout] | ____________________________^ [INFO] [stdout] 1392 | | self.register_gen_const(ident, obj, call, def.def_kind().is_other()) [INFO] [stdout] | |_____________________________-------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:1395:25 [INFO] [stdout] | [INFO] [stdout] 1395 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1391 ~ match self.register_gen_const(ident, obj, call, def.def_kind().is_other()) [INFO] [stdout] 1392 ~ { Err(es) => { [INFO] [stdout] 1393 | errs.extend(es); [INFO] [stdout] 1394 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:1554:25 [INFO] [stdout] | [INFO] [stdout] 1554 | let trait_ = if let ContextKind::MethodDefs(Some(tr)) = &methods.kind { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:1556:9 [INFO] [stdout] | [INFO] [stdout] 1556 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1554 ~ let trait_ = match &methods.kind { ContextKind::MethodDefs(Some(tr)) => { [INFO] [stdout] 1555 | tr.clone() [INFO] [stdout] 1556 ~ } _ => { [INFO] [stdout] 1557 | unreachable!() [INFO] [stdout] 1558 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:1760:34 [INFO] [stdout] | [INFO] [stdout] 1760 | let res = if let Some(TypeObj::Builtin { [INFO] [stdout] | __________________________________^ [INFO] [stdout] 1761 | | t: Type::Record(req), [INFO] [stdout] 1762 | | .. [INFO] [stdout] 1763 | | }) = gen.base_or_sup() [INFO] [stdout] | |__________________________---_____________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:1766:21 [INFO] [stdout] | [INFO] [stdout] 1766 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1760 ~ let res = match gen.base_or_sup() [INFO] [stdout] 1761 ~ { Some(TypeObj::Builtin { [INFO] [stdout] 1762 + t: Type::Record(req), [INFO] [stdout] 1763 + .. [INFO] [stdout] 1764 ~ }) => { [INFO] [stdout] 1765 | self.register_instance_attrs(&mut ctx, req, call) [INFO] [stdout] 1766 ~ } _ => { [INFO] [stdout] 1767 | Ok(()) [INFO] [stdout] 1768 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:1792:41 [INFO] [stdout] | [INFO] [stdout] 1792 | let additional = if let Some(TypeObj::Builtin { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 1793 | | t: Type::Record(additional), [INFO] [stdout] 1794 | | .. [INFO] [stdout] 1795 | | }) = gen.additional() [INFO] [stdout] | |__________________________---____________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:1798:21 [INFO] [stdout] | [INFO] [stdout] 1798 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1792 ~ let additional = match gen.additional() [INFO] [stdout] 1793 ~ { Some(TypeObj::Builtin { [INFO] [stdout] 1794 + t: Type::Record(additional), [INFO] [stdout] 1795 + .. [INFO] [stdout] 1796 ~ }) => { [INFO] [stdout] 1797 | Some(additional) [INFO] [stdout] 1798 ~ } _ => { [INFO] [stdout] 1799 | None [INFO] [stdout] 1800 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:1807:28 [INFO] [stdout] | [INFO] [stdout] 1807 | if let Some(sup_ctx) = self.get_nominal_type_ctx(&sup) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:1809:25 [INFO] [stdout] | [INFO] [stdout] 1809 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1807 ~ match self.get_nominal_type_ctx(&sup) { Some(sup_ctx) => { [INFO] [stdout] 1808 | ctx.register_supertrait(sup, sup_ctx); [INFO] [stdout] 1809 ~ } _ => { [INFO] [stdout] 1810 | log!(err "{sup} not found"); [INFO] [stdout] 1811 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:1899:16 [INFO] [stdout] | [INFO] [stdout] 1899 | if let Some(sup) = gen.base_or_sup() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:2013:13 [INFO] [stdout] | [INFO] [stdout] 2013 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1899 ~ match gen.base_or_sup() { Some(sup) => { [INFO] [stdout] 1900 | let param_t = match sup { [INFO] [stdout] ... [INFO] [stdout] 2012 | } [INFO] [stdout] 2013 ~ } _ => { [INFO] [stdout] 2014 | let class_name = gen [INFO] [stdout] ... [INFO] [stdout] 2025 | ))) [INFO] [stdout] 2026 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:1908:28 [INFO] [stdout] | [INFO] [stdout] 1908 | if let Some(additional) = gen.additional() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^---^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:1923:25 [INFO] [stdout] | [INFO] [stdout] 1923 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1908 ~ match gen.additional() { Some(additional) => { [INFO] [stdout] 1909 | if let TypeObj::Builtin { [INFO] [stdout] ... [INFO] [stdout] 1922 | (nd_params, None, vec![], None) [INFO] [stdout] 1923 ~ } _ => { [INFO] [stdout] 1924 | self.get_nominal_type_ctx(sup.typ()) [INFO] [stdout] ... [INFO] [stdout] 1936 | .unwrap_or((vec![], None, vec![], None)) [INFO] [stdout] 1937 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:1914:36 [INFO] [stdout] | [INFO] [stdout] 1914 | ... if let Err(es) = self.register_instance_attrs(&mut ctx, rec, call) { [INFO] [stdout] | ^^^^^^^^^^^^^^------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:1916:33 [INFO] [stdout] | [INFO] [stdout] 1916 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1914 ~ match self.register_instance_attrs(&mut ctx, rec, call) { Err(es) => { [INFO] [stdout] 1915 | errs.extend(es); [INFO] [stdout] 1916 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:1947:79 [INFO] [stdout] | [INFO] [stdout] 1947 | let (nd_params, var_params, d_params, kw_var_params) = if let Some(additional) = [INFO] [stdout] | _______________________________________________________________________________^ [INFO] [stdout] 1948 | | gen.additional() [INFO] [stdout] | |_________________________---____________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:1955:21 [INFO] [stdout] | [INFO] [stdout] 1955 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1947 ~ let (nd_params, var_params, d_params, kw_var_params) = match gen.additional() [INFO] [stdout] 1948 ~ { Some(additional) => { [INFO] [stdout] 1949 | let nd_params = param_t [INFO] [stdout] ... [INFO] [stdout] 1953 | (nd_params, None, vec![], None) [INFO] [stdout] 1954 ~ } _ => { [INFO] [stdout] 1955 | self.get_nominal_type_ctx(sup.typ()) [INFO] [stdout] ... [INFO] [stdout] 1970 | .unwrap_or((vec![], None, vec![], None)) [INFO] [stdout] 1971 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:2045:16 [INFO] [stdout] | [INFO] [stdout] 2045 | if let Some(ast::Expr::Record(record)) = call [INFO] [stdout] | _________________^ - [INFO] [stdout] | | ______________________________________________________| [INFO] [stdout] 2046 | || .args [INFO] [stdout] | ||_____________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 2047 | | .get_left_or_key("Base") [INFO] [stdout] 2048 | | .or_else(|| call.args.get_left_or_key("Requirement")) [INFO] [stdout] 2049 | | .or_else(|| call.args.get_left_or_key("Super")) [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:2052:13 [INFO] [stdout] | [INFO] [stdout] 2052 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2045 ~ match call [INFO] [stdout] 2046 | .args [INFO] [stdout] ... [INFO] [stdout] 2049 | .or_else(|| call.args.get_left_or_key("Super")) [INFO] [stdout] 2050 ~ { Some(ast::Expr::Record(record)) => { [INFO] [stdout] 2051 | Some(record) [INFO] [stdout] 2052 ~ } _ => { [INFO] [stdout] 2053 | None [INFO] [stdout] 2054 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:2076:16 [INFO] [stdout] | [INFO] [stdout] 2076 | if let Some(_ent) = ctx.decls.insert(varname.clone(), vi) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:2084:13 [INFO] [stdout] | [INFO] [stdout] 2084 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2076 ~ match ctx.decls.insert(varname.clone(), vi) { Some(_ent) => { [INFO] [stdout] 2077 | return Err(CompileErrors::from(CompileError::duplicate_decl_error( [INFO] [stdout] ... [INFO] [stdout] 2083 | ))); [INFO] [stdout] 2084 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:2569:16 [INFO] [stdout] | [INFO] [stdout] 2569 | if let CastTarget::Expr(target) = &guard.target { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:2583:13 [INFO] [stdout] | [INFO] [stdout] 2583 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2569 ~ match &guard.target { CastTarget::Expr(target) => { [INFO] [stdout] 2570 | if expr == target.as_ref() { [INFO] [stdout] ... [INFO] [stdout] 2582 | } [INFO] [stdout] 2583 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:2599:29 [INFO] [stdout] | [INFO] [stdout] 2599 | let vi = if let Some((name, vi)) = self.locals.remove_entry(name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:2602:17 [INFO] [stdout] | [INFO] [stdout] 2602 | } else if let Some((n, vi)) = self.get_var_kv(name) { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2599 ~ let vi = match self.locals.remove_entry(name) { Some((name, vi)) => { [INFO] [stdout] 2600 | overwritten.push((name, vi.clone())); [INFO] [stdout] 2601 | vi [INFO] [stdout] 2602 ~ } _ => if let Some((n, vi)) = self.get_var_kv(name) { [INFO] [stdout] 2603 | overwritten.push((n.clone(), vi.clone())); [INFO] [stdout] ... [INFO] [stdout] 2610 | ) [INFO] [stdout] 2611 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> context/register.rs:2635:33 [INFO] [stdout] | [INFO] [stdout] 2635 | let vi = if let Some((name, vi)) = self.locals.remove_entry(name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> context/register.rs:2638:21 [INFO] [stdout] | [INFO] [stdout] 2638 | } else if let Some((n, vi)) = self.get_var_kv(name) { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2635 ~ let vi = match self.locals.remove_entry(name) { Some((name, vi)) => { [INFO] [stdout] 2636 | overwritten.push((name, vi.clone())); [INFO] [stdout] 2637 | vi [INFO] [stdout] 2638 ~ } _ => if let Some((n, vi)) = self.get_var_kv(name) { [INFO] [stdout] 2639 | overwritten.push((n.clone(), vi.clone())); [INFO] [stdout] ... [INFO] [stdout] 2646 | ) [INFO] [stdout] 2647 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [WARN] too many lines in the log, truncating it