[INFO] fetching crate els 0.1.55... [INFO] checking els-0.1.55 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate els 0.1.55 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate els 0.1.55 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 els 0.1.55 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate els 0.1.55 [INFO] tweaked toml for crates.io crate els 0.1.55 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate els 0.1.55 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] dc85f445d788f32fa2979b77cf485a8a2d2249af0ed512b9a8ea6a7dfdb6db93 [INFO] running `Command { std: "docker" "start" "-a" "dc85f445d788f32fa2979b77cf485a8a2d2249af0ed512b9a8ea6a7dfdb6db93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc85f445d788f32fa2979b77cf485a8a2d2249af0ed512b9a8ea6a7dfdb6db93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc85f445d788f32fa2979b77cf485a8a2d2249af0ed512b9a8ea6a7dfdb6db93", kill_on_drop: false }` [INFO] [stdout] dc85f445d788f32fa2979b77cf485a8a2d2249af0ed512b9a8ea6a7dfdb6db93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 6b7902070c5c7e5e4b8b2785914b0eb55731847a9eaf0474517a29107bc5e224 [INFO] running `Command { std: "docker" "start" "-a" "6b7902070c5c7e5e4b8b2785914b0eb55731847a9eaf0474517a29107bc5e224", 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 unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling erg_common v0.6.43 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking unicode-xid v0.2.5 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling serde_repr v0.1.19 [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 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking lsp-types v0.93.2 [INFO] [stderr] Checking molc v0.3.0 [INFO] [stderr] Checking els v0.1.55 (/tmp/fixit) [INFO] [stderr] Migrating lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `els` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * diagnostics.rs [INFO] [stderr] * hir_visitor.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] --> diagnostics.rs:395:22 [INFO] [stderr] | [INFO] [stderr] 395 | ($token: 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] --> diagnostics.rs:413:22 [INFO] [stderr] | [INFO] [stderr] 413 | ($token: expr_2021, $uris: 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] --> diagnostics.rs:413:41 [INFO] [stderr] | [INFO] [stderr] 413 | ($token: expr_2021, $uris: 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] --> hir_visitor.rs:244:92 [INFO] [stderr] | [INFO] [stderr] 244 | fn return_expr_if_same<'e>(&'e self, expr: &'e Expr, l: &Token, r: Position) -> Option<&Expr> { [INFO] [stderr] | -- lifetime `'e` declared here ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:260:17 [INFO] [stderr] | [INFO] [stderr] 255 | fn return_expr_if_contains<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 260 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:298:17 [INFO] [stderr] | [INFO] [stderr] 293 | fn get_expr_from_acc<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 298 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:312:17 [INFO] [stderr] | [INFO] [stderr] 307 | fn get_expr_from_bin<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 312 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:325:17 [INFO] [stderr] | [INFO] [stderr] 320 | fn get_expr_from_call<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 325 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:341:82 [INFO] [stderr] | [INFO] [stderr] 341 | fn get_expr_from_args<'e>(&'e self, args: &'e Args, pos: Position) -> Option<&Expr> { [INFO] [stderr] | -- lifetime `'e` declared here ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:365:17 [INFO] [stderr] | [INFO] [stderr] 360 | fn get_expr_from_def<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 365 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:381:17 [INFO] [stderr] | [INFO] [stderr] 376 | fn get_expr_from_class_def<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 381 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:394:17 [INFO] [stderr] | [INFO] [stderr] 390 | fn get_expr_from_block<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> inlay_hint.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | let gen = InlayHintGenerator { [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] --> inlay_hint.rs:315:31 [INFO] [stdout] | [INFO] [stdout] 315 | result.extend(gen.get_expr_hint(chunk)); [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] 394 | ) -> Option<&Expr> { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> diagnostics.rs:395:30 [INFO] [stdout] | [INFO] [stdout] 395 | ($token: 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] 395 | ($token: expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> diagnostics.rs:413:30 [INFO] [stdout] | [INFO] [stdout] 413 | ($token: expr, $uris: 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] 413 | ($token: expr_2021, $uris: expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> diagnostics.rs:413:43 [INFO] [stdout] | [INFO] [stdout] 413 | ($token: expr, $uris: 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] 413 | ($token: expr, $uris: expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:244:92 [INFO] [stdout] | [INFO] [stdout] 244 | fn return_expr_if_same<'e>(&'e self, expr: &'e Expr, l: &Token, r: Position) -> Option<&Expr> { [INFO] [stdout] | -- lifetime `'e` declared here ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> hir_visitor.rs:408:17 [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 255 | fn return_expr_if_contains<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 260 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 293 | fn get_expr_from_acc<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 298 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 403 | fn get_expr_from_redef<'e>( [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:312:17 [INFO] [stdout] | [INFO] [stdout] 307 | fn get_expr_from_bin<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 312 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:325:17 [INFO] [stdout] | [INFO] [stdout] 320 | fn get_expr_from_call<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 325 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] ... [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:341:82 [INFO] [stdout] | [INFO] [stdout] 341 | fn get_expr_from_args<'e>(&'e self, args: &'e Args, pos: Position) -> Option<&Expr> { [INFO] [stdout] | -- lifetime `'e` declared here ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 408 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:413:85 [INFO] [stderr] | [INFO] [stderr] 413 | fn get_expr_from_dummy<'e>(&'e self, dummy: &'e Dummy, pos: Position) -> Option<&Expr> { [INFO] [stderr] | -- lifetime `'e` declared here ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:427:17 [INFO] [stderr] | [INFO] [stderr] 422 | fn get_expr_from_patch_def<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 427 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:439:17 [INFO] [stderr] | [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:365:17 [INFO] [stdout] | [INFO] [stdout] 360 | fn get_expr_from_def<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 365 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 434 | fn get_expr_from_lambda<'e>( [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 376 | fn get_expr_from_class_def<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 381 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 439 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:453:17 [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:394:17 [INFO] [stdout] | [INFO] [stdout] 390 | fn get_expr_from_block<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 394 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 403 | fn get_expr_from_redef<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 408 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 448 | fn get_expr_from_list<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 453 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:469:17 [INFO] [stderr] | [INFO] [stderr] 464 | fn get_expr_from_dict<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 469 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:495:17 [INFO] [stderr] | [INFO] [stderr] 490 | fn get_expr_from_record<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 495 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:413:85 [INFO] [stdout] | [INFO] [stdout] 413 | fn get_expr_from_dummy<'e>(&'e self, dummy: &'e Dummy, pos: Position) -> Option<&Expr> { [INFO] [stdout] | -- lifetime `'e` declared here ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:427:17 [INFO] [stdout] | [INFO] [stdout] 422 | fn get_expr_from_patch_def<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 427 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:439:17 [INFO] [stdout] | [INFO] [stdout] 434 | fn get_expr_from_lambda<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 439 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> hir_visitor.rs:513:17 [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:453:17 [INFO] [stdout] | [INFO] [stdout] 448 | fn get_expr_from_list<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 453 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:469:17 [INFO] [stdout] | [INFO] [stdout] 464 | fn get_expr_from_dict<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 469 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 508 | fn get_expr_from_set<'e>( [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:495:17 [INFO] [stdout] | [INFO] [stdout] 490 | fn get_expr_from_record<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 495 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:513:17 [INFO] [stdout] | [INFO] [stdout] 508 | fn get_expr_from_set<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 513 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] ... [INFO] [stderr] 513 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:529:17 [INFO] [stdout] | [INFO] [stdout] 524 | fn get_expr_from_tuple<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 529 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> hir_visitor.rs:529:17 [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:548:17 [INFO] [stdout] | [INFO] [stdout] 543 | fn get_expr_from_type_asc<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 548 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 524 | fn get_expr_from_tuple<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 529 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:548:17 [INFO] [stderr] | [INFO] [stderr] 543 | fn get_expr_from_type_asc<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 548 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 19 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: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> call_hierarchy.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | if let Some(def) = self.get_min::(&uri, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> call_hierarchy.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | } [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] 57 ~ match self.get_min::(&uri, pos) { Some(def) => { [INFO] [stdout] 58 | if def.sig.is_subr() { [INFO] [stdout] ... [INFO] [stdout] 69 | } [INFO] [stdout] 70 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> call_hierarchy.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | if let Some(attr) = call.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] 127 | } else if let Expr::Accessor(acc) = call.obj.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] --> call_hierarchy.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | } else if let Expr::Accessor(acc) = call.obj.as_ref() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> call_hierarchy.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 118 ~ match call.attr_name.as_ref() { Some(attr) => { [INFO] [stdout] 119 | let Some(to) = hierarchy_item(attr.inspect().to_string(), &attr.vi) else { [INFO] [stdout] ... [INFO] [stdout] 126 | calls.push(call); [INFO] [stdout] 127 ~ } _ => { match call.obj.as_ref() { Expr::Accessor(acc) => { [INFO] [stdout] 128 | let Some(to) = hierarchy_item(acc.last_name().to_string(), acc.var_info()) [INFO] [stdout] ... [INFO] [stdout] 136 | calls.push(call); [INFO] [stdout] 137 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> call_hierarchy.rs:200:16 [INFO] [stdout] | [INFO] [stdout] 200 | if let Some(vi) = self.get_definition(&uri, &token)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> call_hierarchy.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] 200 ~ match self.get_definition(&uri, &token)? { Some(vi) => { [INFO] [stdout] 201 | let Some(item) = hierarchy_item(token.content.to_string(), &vi) else { [INFO] [stdout] ... [INFO] [stdout] 204 | res.push(item); [INFO] [stdout] 205 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> code_action.rs:364:20 [INFO] [stdout] | [INFO] [stdout] 364 | if let Some(Expr::Def(def)) = visitor.get_min_expr(range.start) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> code_action.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 366 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 364 ~ match visitor.get_min_expr(range.start) { Some(Expr::Def(def)) => { [INFO] [stdout] 365 | action.edit = Some(WorkspaceEdit::new(self.inline_var_def(def))); [INFO] [stdout] 366 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> completion.rs:464:16 [INFO] [stdout] | [INFO] [stdout] 464 | if let Some(comps) = self.cache.borrow_mut().get_mut(&k) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> completion.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | } 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] 464 ~ match self.cache.borrow_mut().get_mut(&k) { Some(comps) => { [INFO] [stdout] 465 | comps.extend(v); [INFO] [stdout] 466 ~ } _ => { [INFO] [stdout] 467 | self.cache.borrow_mut().insert(k, v); [INFO] [stdout] 468 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> completion.rs:626:16 [INFO] [stdout] | [INFO] [stdout] 626 | if let Some(receiver_t) = &receiver_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] --> completion.rs:642:13 [INFO] [stdout] | [INFO] [stdout] 642 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 626 ~ match &receiver_t { Some(receiver_t) => { [INFO] [stdout] 627 | for (field, ty) in mod_ctx.context.fields(receiver_t) { [INFO] [stdout] ... [INFO] [stdout] 641 | } [INFO] [stdout] 642 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> completion.rs:689:16 [INFO] [stdout] | [INFO] [stdout] 689 | if let Some(comps) = self.comp_cache.get("") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> completion.rs:691:13 [INFO] [stdout] | [INFO] [stdout] 691 | } 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] 689 ~ match self.comp_cache.get("") { Some(comps) => { [INFO] [stdout] 690 | result.extend(comps.clone()); [INFO] [stdout] 691 ~ } _ => { [INFO] [stdout] 692 | let comps = module_completions(); [INFO] [stdout] 693 | self.comp_cache.insert("".into(), comps.clone()); [INFO] [stdout] 694 | result.extend(comps); [INFO] [stdout] 695 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> definition.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | } else if let Some(visitor) = self.get_visitor(uri) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> definition.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | } 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] 25 ~ } else { match self.get_visitor(uri) { Some(visitor) => { [INFO] [stdout] 26 | Ok(visitor.get_info(token)) [INFO] [stdout] 27 ~ } _ => { [INFO] [stdout] 28 | self.send_log("definition not found")?; [INFO] [stdout] 29 | Ok(None) [INFO] [stdout] 30 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> definition.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(token) = self.file_cache.get_symbol(uri, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> definition.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | } 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] 38 ~ match self.file_cache.get_symbol(uri, pos) { Some(token) => { [INFO] [stdout] 39 | if let Some(vi) = self.get_definition(uri, &token)? { [INFO] [stdout] ... [INFO] [stdout] 117 | } [INFO] [stdout] 118 ~ } _ => { [INFO] [stdout] 119 | self.send_log("lex error occurred")?; [INFO] [stdout] 120 | Ok(None) [INFO] [stdout] 121 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> definition.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | if let Some(vi) = self.get_definition(uri, &token)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^--------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> definition.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | } 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] 39 ~ match self.get_definition(uri, &token)? { Some(vi) => { [INFO] [stdout] 40 | // If the target variable is an imported one, jump to the definition file. [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] 115 ~ } _ => { [INFO] [stdout] 116 | Ok(None) [INFO] [stdout] 117 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> definition.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | if let Some(def) = self.get_min::(uri, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> definition.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 47 ~ match self.get_min::(uri, pos) { Some(def) => { [INFO] [stdout] 48 | if def.def_kind().is_import() { [INFO] [stdout] ... [INFO] [stdout] 102 | } [INFO] [stdout] 103 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> definition.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 76 | } else if let Some(Expr::Accessor(acc)) = def.body.block.last() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> definition.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 76 ~ } else { match def.body.block.last() { Some(Expr::Accessor(acc)) => { [INFO] [stdout] 77 | let vi = acc.var_info(); [INFO] [stdout] ... [INFO] [stdout] 101 | } [INFO] [stdout] 102 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> definition.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | ... if let Some(mod_uri) = [INFO] [stdout] | __________________________^ [INFO] [stdout] 50 | | ... vi.t.module_path() [INFO] [stdout] | | ---- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 51 | | ... .and_then(|path| Url::from_file_path(path).ok()) [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] --> definition.rs:57:29 [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] 49 ~ match vi.t.module_path() [INFO] [stdout] 50 | .and_then(|path| Url::from_file_path(path).ok()) [INFO] [stdout] 51 ~ { Some(mod_uri) => { [INFO] [stdout] 52 | return Ok(Some(lsp_types::Location::new( [INFO] [stdout] ... [INFO] [stdout] 55 | ))); [INFO] [stdout] 56 ~ } _ => { [INFO] [stdout] 57 | // line of module member definitions may no longer match after the desugaring process [INFO] [stdout] ... [INFO] [stdout] 73 | } [INFO] [stdout] 74 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> diagnostics.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | if let Ok(new) = self.build_ast(&dep) { [INFO] [stdout] | ^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> diagnostics.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | } 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] 76 ~ match self.build_ast(&dep) { Ok(new) => { [INFO] [stdout] 77 | if !ASTDiff::diff(old, &new).is_nop() { [INFO] [stdout] 78 | return ChangeKind::Valid; [INFO] [stdout] 79 | } [INFO] [stdout] 80 ~ } _ => { [INFO] [stdout] 81 | return ChangeKind::Invalid; [INFO] [stdout] 82 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> diagnostics.rs:215:20 [INFO] [stdout] | [INFO] [stdout] 215 | if let Some(new) = err.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] --> diagnostics.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | } 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] 215 ~ match err.ast { Some(new) => { [INFO] [stdout] 216 | new [INFO] [stdout] 217 ~ } _ => { [INFO] [stdout] 218 | return Ok(()); [INFO] [stdout] 219 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> diagnostics.rs:355:32 [INFO] [stdout] | [INFO] [stdout] 355 | ... if let Ok(code) = _self.file_cache.get_entire_code(&uri) { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> diagnostics.rs:358:29 [INFO] [stdout] | [INFO] [stdout] 358 | ... } [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 ~ match _self.file_cache.get_entire_code(&uri) { Ok(code) => { [INFO] [stdout] 356 | let _ = _self.check_file(uri.clone(), code); [INFO] [stdout] 357 | file_vers.insert(uri, latest_ver); [INFO] [stdout] 358 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> diagnostics.rs:380:20 [INFO] [stdout] | [INFO] [stdout] 380 | if let Ok(uri) = NormalizedUrl::from_file_path(entry.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] --> diagnostics.rs:382:17 [INFO] [stdout] | [INFO] [stdout] 382 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 380 ~ match NormalizedUrl::from_file_path(entry.path()) { Ok(uri) => { [INFO] [stdout] 381 | uris.push(uri); [INFO] [stdout] 382 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> diff.rs:109:24 [INFO] [stdout] | [INFO] [stdout] 109 | if let Some(name) = def.sig.name_as_str() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> diff.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 109 ~ match def.sig.name_as_str() { Some(name) => { [INFO] [stdout] 110 | lowerer.unregister(name); [INFO] [stdout] 111 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> diff.rs:140:20 [INFO] [stdout] | [INFO] [stdout] 140 | if let Some(old_expr) = old.module.get_mut(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] --> diff.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 140 ~ match old.module.get_mut(idx) { Some(old_expr) => { [INFO] [stdout] 141 | *old_expr = expr; [INFO] [stdout] 142 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | if let Some(ns) = self.get_exprs_ns(namespace.clone(), self.hir.module.iter(), pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | } 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] 115 ~ match self.get_exprs_ns(namespace.clone(), self.hir.module.iter(), pos) { Some(ns) => { [INFO] [stdout] 116 | ns [INFO] [stdout] 117 ~ } _ => { [INFO] [stdout] 118 | namespace [INFO] [stdout] 119 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:170:16 [INFO] [stdout] | [INFO] [stdout] 170 | if let Some(ns) = self.get_expr_ns(cur_ns.clone(), expr, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 170 ~ match self.get_expr_ns(cur_ns.clone(), expr, pos) { Some(ns) => { [INFO] [stdout] 171 | namespaces.push(ns); [INFO] [stdout] 172 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:343:16 [INFO] [stdout] | [INFO] [stdout] 343 | if let Some(expr) = self.get_expr(&arg.expr, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 345 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 343 ~ match self.get_expr(&arg.expr, pos) { Some(expr) => { [INFO] [stdout] 344 | return Some(expr); [INFO] [stdout] 345 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:348:16 [INFO] [stdout] | [INFO] [stdout] 348 | if let Some(expr) = self.get_expr(&var.expr, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:350:13 [INFO] [stdout] | [INFO] [stdout] 350 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 348 ~ match self.get_expr(&var.expr, pos) { Some(expr) => { [INFO] [stdout] 349 | return Some(expr); [INFO] [stdout] 350 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:353:16 [INFO] [stdout] | [INFO] [stdout] 353 | if let Some(expr) = self.get_expr(&arg.expr, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:355:13 [INFO] [stdout] | [INFO] [stdout] 355 | } [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 ~ match self.get_expr(&arg.expr, pos) { Some(expr) => { [INFO] [stdout] 354 | return Some(expr); [INFO] [stdout] 355 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:477:24 [INFO] [stdout] | [INFO] [stdout] 477 | if let Some(expr) = self [INFO] [stdout] | ________________________^ [INFO] [stdout] 478 | | .get_expr(&kv.key, pos) [INFO] [stdout] | | ------ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 479 | | .or_else(|| self.get_expr(&kv.value, pos)) [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] --> hir_visitor.rs:482:21 [INFO] [stdout] | [INFO] [stdout] 482 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 477 ~ match self [INFO] [stdout] 478 | .get_expr(&kv.key, pos) [INFO] [stdout] 479 | .or_else(|| self.get_expr(&kv.value, pos)) [INFO] [stdout] 480 ~ { Some(expr) => { [INFO] [stdout] 481 | return Some(expr); [INFO] [stdout] 482 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:501:16 [INFO] [stdout] | [INFO] [stdout] 501 | if let Some(expr) = self.get_expr_from_block(field.body.block.iter(), pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 501 ~ match self.get_expr_from_block(field.body.block.iter(), pos) { Some(expr) => { [INFO] [stdout] 502 | return Some(expr); [INFO] [stdout] 503 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:559:16 [INFO] [stdout] | [INFO] [stdout] 559 | if let Some(expr) = self.get_expr_info(chunk, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:561:13 [INFO] [stdout] | [INFO] [stdout] 561 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 559 ~ match self.get_expr_info(chunk, token) { Some(expr) => { [INFO] [stdout] 560 | return Some(expr); [INFO] [stdout] 561 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:626:16 [INFO] [stdout] | [INFO] [stdout] 626 | if let Some(t) = self.return_var_info_if_same(attr, attr.raw.name.token(), token) { [INFO] [stdout] | ^^^^^^^^^^^^^^---------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:628:13 [INFO] [stdout] | [INFO] [stdout] 628 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 626 ~ match self.return_var_info_if_same(attr, attr.raw.name.token(), token) { Some(t) => { [INFO] [stdout] 627 | return Some(t); [INFO] [stdout] 628 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:636:16 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(vi) = self.get_expr_info(&arg.expr, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:638:13 [INFO] [stdout] | [INFO] [stdout] 638 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 636 ~ match self.get_expr_info(&arg.expr, token) { Some(vi) => { [INFO] [stdout] 637 | return Some(vi); [INFO] [stdout] 638 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:641:16 [INFO] [stdout] | [INFO] [stdout] 641 | if let Some(vi) = self.get_expr_info(&var.expr, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | } [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 self.get_expr_info(&var.expr, token) { Some(vi) => { [INFO] [stdout] 642 | return Some(vi); [INFO] [stdout] 643 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:646:16 [INFO] [stdout] | [INFO] [stdout] 646 | if let Some(vi) = self.get_expr_info(&arg.expr, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:648:13 [INFO] [stdout] | [INFO] [stdout] 648 | } [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.get_expr_info(&arg.expr, token) { Some(vi) => { [INFO] [stdout] 647 | return Some(vi); [INFO] [stdout] 648 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:676:16 [INFO] [stdout] | [INFO] [stdout] 676 | if let Some(vi) = param [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_______________________________| [INFO] [stdout] 677 | || .t_spec_as_expr [INFO] [stdout] 678 | || .as_ref() [INFO] [stdout] 679 | || .and_then(|t_spec| self.get_expr_info(t_spec, token)) [INFO] [stdout] | ||_____________________________________________________________________^ 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] --> hir_visitor.rs:682:13 [INFO] [stdout] | [INFO] [stdout] 682 | } else if param.raw.pat.loc() == token.loc() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 676 ~ match param [INFO] [stdout] 677 | .t_spec_as_expr [INFO] [stdout] 678 | .as_ref() [INFO] [stdout] 679 | .and_then(|t_spec| self.get_expr_info(t_spec, token)) [INFO] [stdout] 680 ~ { Some(vi) => { [INFO] [stdout] 681 | return Some(vi); [INFO] [stdout] 682 ~ } _ => if param.raw.pat.loc() == token.loc() { [INFO] [stdout] 683 | return Some(param.vi.clone()); [INFO] [stdout] 684 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:687:16 [INFO] [stdout] | [INFO] [stdout] 687 | if let Some(vi) = var [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_______________________________| [INFO] [stdout] 688 | || .t_spec_as_expr [INFO] [stdout] 689 | || .as_ref() [INFO] [stdout] 690 | || .and_then(|t_spec| self.get_expr_info(t_spec, token)) [INFO] [stdout] | ||_____________________________________________________________________^ 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] --> hir_visitor.rs:693:13 [INFO] [stdout] | [INFO] [stdout] 693 | } else if var.raw.pat.loc() == token.loc() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 687 ~ match var [INFO] [stdout] 688 | .t_spec_as_expr [INFO] [stdout] 689 | .as_ref() [INFO] [stdout] 690 | .and_then(|t_spec| self.get_expr_info(t_spec, token)) [INFO] [stdout] 691 ~ { Some(vi) => { [INFO] [stdout] 692 | return Some(vi); [INFO] [stdout] 693 ~ } _ => if var.raw.pat.loc() == token.loc() { [INFO] [stdout] 694 | return Some(var.vi.clone()); [INFO] [stdout] 695 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:698:16 [INFO] [stdout] | [INFO] [stdout] 698 | if let Some(vi) = self.get_expr_info(¶m.default_val, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^--------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 699 | return Some(vi); [INFO] [stdout] 700 | } else if let Some(vi) = param [INFO] [stdout] | ______________________________________- [INFO] [stdout] 701 | | .sig [INFO] [stdout] 702 | | .t_spec_as_expr [INFO] [stdout] 703 | | .as_ref() [INFO] [stdout] 704 | | .and_then(|t_spec| self.get_expr_info(t_spec, token)) [INFO] [stdout] | |_____________________________________________________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:700:13 [INFO] [stdout] | [INFO] [stdout] 700 | } else if let Some(vi) = param [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:707:13 [INFO] [stdout] | [INFO] [stdout] 707 | } else if param.sig.raw.pat.loc() == token.loc() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 698 ~ match self.get_expr_info(¶m.default_val, token) { Some(vi) => { [INFO] [stdout] 699 | return Some(vi); [INFO] [stdout] 700 ~ } _ => { match param [INFO] [stdout] 701 | .sig [INFO] [stdout] ... [INFO] [stdout] 704 | .and_then(|t_spec| self.get_expr_info(t_spec, token)) [INFO] [stdout] 705 ~ { Some(vi) => { [INFO] [stdout] 706 | return Some(vi); [INFO] [stdout] 707 ~ } _ => if param.sig.raw.pat.loc() == token.loc() { [INFO] [stdout] 708 | return Some(param.sig.vi.clone()); [INFO] [stdout] 709 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:713:20 [INFO] [stdout] | [INFO] [stdout] 713 | if let Some(vi) = self.get_def_info(bind, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:715:17 [INFO] [stdout] | [INFO] [stdout] 715 | } [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 ~ match self.get_def_info(bind, token) { Some(vi) => { [INFO] [stdout] 714 | return Some(vi); [INFO] [stdout] 715 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:747:16 [INFO] [stdout] | [INFO] [stdout] 747 | if let Some(expr) = self.get_expr_info(chunk, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:749:13 [INFO] [stdout] | [INFO] [stdout] 749 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 747 ~ match self.get_expr_info(chunk, token) { Some(expr) => { [INFO] [stdout] 748 | return Some(expr); [INFO] [stdout] 749 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:761:16 [INFO] [stdout] | [INFO] [stdout] 761 | if let Some(expr) = self.get_expr_info(chunk, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:763:13 [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] 761 ~ match self.get_expr_info(chunk, token) { Some(expr) => { [INFO] [stdout] 762 | return Some(expr); [INFO] [stdout] 763 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:784:24 [INFO] [stdout] | [INFO] [stdout] 784 | if let Some(expr) = self.get_expr_info(&kv.key, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 785 | return Some(expr); [INFO] [stdout] 786 | } else if let Some(expr) = self.get_expr_info(&kv.value, token) { [INFO] [stdout] | ------------------------------------ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:786:21 [INFO] [stdout] | [INFO] [stdout] 786 | } else if let Some(expr) = self.get_expr_info(&kv.value, token) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:788:21 [INFO] [stdout] | [INFO] [stdout] 788 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 784 ~ match self.get_expr_info(&kv.key, token) { Some(expr) => { [INFO] [stdout] 785 | return Some(expr); [INFO] [stdout] 786 ~ } _ => { match self.get_expr_info(&kv.value, token) { Some(expr) => { [INFO] [stdout] 787 | return Some(expr); [INFO] [stdout] 788 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:798:16 [INFO] [stdout] | [INFO] [stdout] 798 | if let Some(expr) = self.get_def_info(field, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:800:13 [INFO] [stdout] | [INFO] [stdout] 800 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 798 ~ match self.get_def_info(field, token) { Some(expr) => { [INFO] [stdout] 799 | return Some(expr); [INFO] [stdout] 800 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hover.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 88 | let opt_token = if let Some(token) = opt_tok { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hover.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | } 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] 88 ~ let opt_token = match opt_tok { Some(token) => { [INFO] [stdout] 89 | match token.category() { [INFO] [stdout] ... [INFO] [stdout] 96 | } [INFO] [stdout] 97 ~ } _ => { [INFO] [stdout] 98 | None [INFO] [stdout] 99 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hover.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(token) = opt_token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hover.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | } 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] 100 ~ match opt_token { Some(token) => { [INFO] [stdout] 101 | match self.get_definition(&uri, &token)? { [INFO] [stdout] ... [INFO] [stdout] 177 | } [INFO] [stdout] 178 ~ } _ => { [INFO] [stdout] 179 | self.send_log("lex error")?; [INFO] [stdout] 180 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hover.rs:167:24 [INFO] [stdout] | [INFO] [stdout] 167 | if let Some(visitor) = self.get_visitor(&uri) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hover.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 175 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 167 ~ match self.get_visitor(&uri) { Some(visitor) => { [INFO] [stdout] 168 | if let Some(typ) = visitor.get_min_expr(pos) { [INFO] [stdout] ... [INFO] [stdout] 174 | } [INFO] [stdout] 175 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hover.rs:168:28 [INFO] [stdout] | [INFO] [stdout] 168 | if let Some(typ) = visitor.get_min_expr(pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hover.rs:174:25 [INFO] [stdout] | [INFO] [stdout] 174 | } [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 ~ match visitor.get_min_expr(pos) { Some(typ) => { [INFO] [stdout] 169 | let typ = MarkedString::from_language_code( [INFO] [stdout] ... [INFO] [stdout] 173 | contents.push(typ); [INFO] [stdout] 174 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hover.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | if let Some((_, vi)) = module.context.get_type_info(&inner_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] --> hover.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 213 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 200 ~ match module.context.get_type_info(&inner_t) { Some((_, vi)) => { [INFO] [stdout] 201 | if let Some(url) = vi [INFO] [stdout] ... [INFO] [stdout] 212 | } [INFO] [stdout] 213 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> implementation.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(location) = self.get_definition_location(&uri, pos)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> implementation.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 33 ~ match self.get_definition_location(&uri, pos)? { Some(location) => { [INFO] [stdout] 34 | return Ok(Some(GotoImplementationResponse::Scalar(location))); [INFO] [stdout] 35 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> inlay_hint.rs:191:20 [INFO] [stdout] | [INFO] [stdout] 191 | if let Some((ln, col)) = subr.params.ln_begin().zip(subr.params.col_begin()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> inlay_hint.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | } [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 subr.params.ln_begin().zip(subr.params.col_begin()) { Some((ln, col)) => { [INFO] [stdout] 192 | let hint = self.anot(ln, col, "(".to_string()); [INFO] [stdout] 193 | result.push(hint); [INFO] [stdout] 194 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> inlay_hint.rs:204:16 [INFO] [stdout] | [INFO] [stdout] 204 | if let Some((ln, col)) = def.sig.ln_begin().zip(def.sig.col_end()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> inlay_hint.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 204 ~ match def.sig.ln_begin().zip(def.sig.col_end()) { Some((ln, col)) => { [INFO] [stdout] 205 | let hint = self.type_anot(ln, col, def.sig.ident().ref_t(), false); [INFO] [stdout] 206 | result.push(hint); [INFO] [stdout] 207 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> inlay_hint.rs:217:16 [INFO] [stdout] | [INFO] [stdout] 217 | if let Some((ln, col)) = lambda.params.ln_begin().zip(lambda.params.col_begin()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> inlay_hint.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 217 ~ match lambda.params.ln_begin().zip(lambda.params.col_begin()) { Some((ln, col)) => { [INFO] [stdout] 218 | let hint = self.anot(ln, col, "(".to_string()); [INFO] [stdout] 219 | result.push(hint); [INFO] [stdout] 220 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> inlay_hint.rs:262:16 [INFO] [stdout] | [INFO] [stdout] 262 | if let Some(name) = param_ts.clone().nth(index).and_then(|pt| pt.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] --> inlay_hint.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 262 ~ match param_ts.clone().nth(index).and_then(|pt| pt.name()) { Some(name) => { [INFO] [stdout] 263 | if name.starts_with(['%']) { [INFO] [stdout] ... [INFO] [stdout] 284 | result.push(hint); [INFO] [stdout] 285 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> inlay_hint.rs:330:16 [INFO] [stdout] | [INFO] [stdout] 330 | if let Some(module) = self.get_mod_ctx(&uri) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> inlay_hint.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 345 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 330 ~ match self.get_mod_ctx(&uri) { Some(module) => { [INFO] [stdout] 331 | let InlayHintLabel::String(label) = &hint.label else { [INFO] [stdout] ... [INFO] [stdout] 344 | } [INFO] [stdout] 345 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> inlay_hint.rs:335:20 [INFO] [stdout] | [INFO] [stdout] 335 | if let Some((_, vi)) = module.context.get_type_info_by_str(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] --> inlay_hint.rs:344:17 [INFO] [stdout] | [INFO] [stdout] 344 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 335 ~ match module.context.get_type_info_by_str(name) { Some((_, vi)) => { [INFO] [stdout] 336 | let location = abs_loc_to_lsp_loc(&vi.def_loc); [INFO] [stdout] ... [INFO] [stdout] 343 | hint.label = InlayHintLabel::LabelParts(vec![parts]); [INFO] [stdout] 344 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> references.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | if let Some(visitor) = self.get_visitor(uri) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> references.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 25 ~ match self.get_visitor(uri) { Some(visitor) => { [INFO] [stdout] 26 | if let Some(vi) = visitor.get_info(&tok) { [INFO] [stdout] 27 | return self.get_refs_from_abs_loc(&vi.def_loc); [INFO] [stdout] 28 | } [INFO] [stdout] 29 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> references.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | if let Some(vi) = visitor.get_info(&tok) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> references.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 26 ~ match visitor.get_info(&tok) { Some(vi) => { [INFO] [stdout] 27 | return self.get_refs_from_abs_loc(&vi.def_loc); [INFO] [stdout] 28 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> rename.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(vi) = self [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_______________________________| [INFO] [stdout] 39 | || .get_visitor(&uri) [INFO] [stdout] 40 | || .and_then(|visitor| visitor.get_info(&tok)) [INFO] [stdout] | ||___________________________________________________________^ 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] --> rename.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 38 ~ match self [INFO] [stdout] 39 | .get_visitor(&uri) [INFO] [stdout] 40 | .and_then(|visitor| visitor.get_info(&tok)) [INFO] [stdout] 41 ~ { Some(vi) => { [INFO] [stdout] 42 | let mut changes: HashMap> = HashMap::new(); [INFO] [stdout] ... [INFO] [stdout] 105 | return Ok(()); [INFO] [stdout] 106 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> scheduler.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | if let Some(idx) = self.executing.borrow().iter().find(|task| task.id == 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] --> scheduler.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | } 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] 140 ~ match self.executing.borrow().iter().find(|task| task.id == id) { Some(idx) => { [INFO] [stdout] 141 | Some(*idx) [INFO] [stdout] 142 ~ } _ => { [INFO] [stdout] 143 | let task = self [INFO] [stdout] ... [INFO] [stdout] 169 | Some(task) [INFO] [stdout] 170 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> server.rs:312:20 [INFO] [stdout] | [INFO] [stdout] 312 | if let Some(ast::Expr::Literal(lit)) = path.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] --> server.rs:314:17 [INFO] [stdout] | [INFO] [stdout] 314 | } 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] 312 ~ match path.body.block.first() { Some(ast::Expr::Literal(lit)) => { [INFO] [stdout] 313 | Some(lit.token.content.replace('\"', "")) [INFO] [stdout] 314 ~ } _ => { [INFO] [stdout] 315 | None [INFO] [stdout] 316 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> server.rs:344:20 [INFO] [stdout] | [INFO] [stdout] 344 | if let Err(err) = _self.dispatch(msg) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> server.rs:349:17 [INFO] [stdout] | [INFO] [stdout] 349 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 344 ~ match _self.dispatch(msg) { Err(err) => { [INFO] [stdout] 345 | lsp_log!("error: {err}"); [INFO] [stdout] ... [INFO] [stdout] 348 | }; [INFO] [stdout] 349 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> server.rs:371:28 [INFO] [stdout] | [INFO] [stdout] 371 | if let Err(err) = _self.dispatch(msg) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> server.rs:376:25 [INFO] [stdout] | [INFO] [stdout] 376 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 371 ~ match _self.dispatch(msg) { Err(err) => { [INFO] [stdout] 372 | lsp_log!("error: {err}"); [INFO] [stdout] ... [INFO] [stdout] 375 | }; [INFO] [stdout] 376 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> server.rs:1029:24 [INFO] [stdout] | [INFO] [stdout] 1029 | if let Some(ctx) = mod_ctx.scope.get(&ns[..]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> server.rs:1031:21 [INFO] [stdout] | [INFO] [stdout] 1031 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1029 ~ match mod_ctx.scope.get(&ns[..]) { Some(ctx) => { [INFO] [stdout] 1030 | ctxs.push(ctx); [INFO] [stdout] 1031 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> server.rs:1092:12 [INFO] [stdout] | [INFO] [stdout] 1092 | if let Some(token) = maybe_token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> server.rs:1119:9 [INFO] [stdout] | [INFO] [stdout] 1119 | } 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 maybe_token { Some(token) => { [INFO] [stdout] 1093 | // _log!(self, "token: {token}"); [INFO] [stdout] ... [INFO] [stdout] 1118 | Ok((expr, ctxs)) [INFO] [stdout] 1119 ~ } _ => { [INFO] [stdout] 1120 | self.send_log("token not found")?; [INFO] [stdout] 1121 | Ok((None, vec![])) [INFO] [stdout] 1122 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> server.rs:1095:27 [INFO] [stdout] | [INFO] [stdout] 1095 | let expr = if let Some(visitor) = self.get_visitor(uri) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> server.rs:1115:13 [INFO] [stdout] | [INFO] [stdout] 1115 | } 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] 1095 ~ let expr = match self.get_visitor(uri) { Some(visitor) => { [INFO] [stdout] 1096 | if let Some(expr) = [INFO] [stdout] ... [INFO] [stdout] 1114 | } [INFO] [stdout] 1115 ~ } _ => { [INFO] [stdout] 1116 | None [INFO] [stdout] 1117 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> server.rs:1096:20 [INFO] [stdout] | [INFO] [stdout] 1096 | if let Some(expr) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 1097 | | loc_to_pos(token.loc()).and_then(|pos| visitor.get_min_expr(pos)) [INFO] [stdout] | |________________________________-----________________________________________________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> server.rs:1111:17 [INFO] [stdout] | [INFO] [stdout] 1111 | } 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] 1096 ~ match loc_to_pos(token.loc()).and_then(|pos| visitor.get_min_expr(pos)) [INFO] [stdout] 1097 ~ { Some(expr) => { [INFO] [stdout] 1098 | let type_ctxs = module [INFO] [stdout] ... [INFO] [stdout] 1109 | Some(expr.t()) [INFO] [stdout] 1110 ~ } _ => { [INFO] [stdout] 1111 | _log!(self, "expr not found: {token}"); [INFO] [stdout] 1112 | None [INFO] [stdout] 1113 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> sig_help.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | if let Some(expr) = visitor.get_min_expr(loc_to_pos(token.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] --> sig_help.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 89 ~ match visitor.get_min_expr(loc_to_pos(token.loc())?) { Some(expr) => { [INFO] [stdout] 90 | return Some((token, expr.clone())); [INFO] [stdout] 91 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> sig_help.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | if let Some(token) = self.file_cache.get_token(uri, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> sig_help.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | } 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] 143 ~ match self.file_cache.get_token(uri, pos) { Some(token) => { [INFO] [stdout] 144 | crate::_log!(self, "token: {token}"); [INFO] [stdout] ... [INFO] [stdout] 153 | } [INFO] [stdout] 154 ~ } _ => { [INFO] [stdout] 155 | crate::_log!(self, "failed to get the token"); [INFO] [stdout] 156 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> sig_help.rs:145:16 [INFO] [stdout] | [INFO] [stdout] 145 | if let Some(call) = self.get_min::(uri, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> sig_help.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | } 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] 145 ~ match self.get_min::(uri, pos) { Some(call) => { [INFO] [stdout] 146 | if call.ln_begin() > token.ln_begin() || call.ln_end() < token.ln_end() { [INFO] [stdout] ... [INFO] [stdout] 150 | return self.make_sig_help(call.obj.as_ref(), nth); [INFO] [stdout] 151 ~ } _ => { [INFO] [stdout] 152 | crate::_log!(self, "failed to get the call"); [INFO] [stdout] 153 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> sig_help.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | if let Some((_token, Expr::Accessor(acc))) = self.get_min_expr(uri, pos, -2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> sig_help.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | } 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] 161 ~ match self.get_min_expr(uri, pos, -2) { Some((_token, Expr::Accessor(acc))) => { [INFO] [stdout] 162 | return self.make_sig_help(&acc, 0); [INFO] [stdout] 163 ~ } _ => { [INFO] [stdout] 164 | crate::_log!(self, "lex error occurred"); [INFO] [stdout] 165 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> sig_help.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | if let Some(call) = self.get_min::(uri, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> sig_help.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | } 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] 170 ~ match self.get_min::(uri, pos) { Some(call) => { [INFO] [stdout] 171 | let nth = self.nth(uri, &call, pos) as u32 + 1; [INFO] [stdout] 172 | let help = self.make_sig_help(call.obj.as_ref(), nth); [INFO] [stdout] 173 | return help; [INFO] [stdout] 174 ~ } _ => { [INFO] [stdout] 175 | crate::_log!(self, "failed to get continuous help"); [INFO] [stdout] 176 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 91 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/test.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `els` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * diagnostics.rs [INFO] [stderr] * hir_visitor.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] --> diagnostics.rs:395:22 [INFO] [stderr] | [INFO] [stderr] 395 | ($token: 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] --> diagnostics.rs:413:22 [INFO] [stderr] | [INFO] [stderr] 413 | ($token: expr_2021, $uris: 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] --> diagnostics.rs:413:41 [INFO] [stderr] | [INFO] [stderr] 413 | ($token: expr_2021, $uris: 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] --> hir_visitor.rs:244:92 [INFO] [stderr] | [INFO] [stderr] 244 | fn return_expr_if_same<'e>(&'e self, expr: &'e Expr, l: &Token, r: Position) -> Option<&Expr> { [INFO] [stderr] | -- lifetime `'e` declared here ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:260:17 [INFO] [stderr] | [INFO] [stderr] 255 | fn return_expr_if_contains<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 260 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:298:17 [INFO] [stderr] | [INFO] [stderr] 293 | fn get_expr_from_acc<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 298 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:312:17 [INFO] [stderr] | [INFO] [stderr] 307 | fn get_expr_from_bin<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 312 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:325:17 [INFO] [stderr] | [INFO] [stderr] 320 | fn get_expr_from_call<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 325 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:341:82 [INFO] [stderr] | [INFO] [stderr] 341 | fn get_expr_from_args<'e>(&'e self, args: &'e Args, pos: Position) -> Option<&Expr> { [INFO] [stderr] | -- lifetime `'e` declared here ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:365:17 [INFO] [stderr] | [INFO] [stderr] 360 | fn get_expr_from_def<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 365 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:381:17 [INFO] [stderr] | [INFO] [stderr] 376 | fn get_expr_from_class_def<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 381 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:394:17 [INFO] [stderr] | [INFO] [stderr] 390 | fn get_expr_from_block<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 394 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:408:17 [INFO] [stderr] | [INFO] [stderr] 403 | fn get_expr_from_redef<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 408 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:413:85 [INFO] [stderr] | [INFO] [stderr] 413 | fn get_expr_from_dummy<'e>(&'e self, dummy: &'e Dummy, pos: Position) -> Option<&Expr> { [INFO] [stderr] | -- lifetime `'e` declared here ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:427:17 [INFO] [stderr] | [INFO] [stderr] 422 | fn get_expr_from_patch_def<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 427 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:439:17 [INFO] [stderr] | [INFO] [stderr] 434 | fn get_expr_from_lambda<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 439 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:453:17 [INFO] [stderr] | [INFO] [stderr] 448 | fn get_expr_from_list<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 453 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:469:17 [INFO] [stderr] | [INFO] [stderr] 464 | fn get_expr_from_dict<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> inlay_hint.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | let gen = InlayHintGenerator { [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] --> inlay_hint.rs:315:31 [INFO] [stdout] | [INFO] [stdout] 315 | result.extend(gen.get_expr_hint(chunk)); [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] 469 | ) -> Option<&Expr> { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> diagnostics.rs:395:30 [INFO] [stdout] | [INFO] [stdout] 395 | ($token: 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] 395 | ($token: expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> diagnostics.rs:413:30 [INFO] [stdout] | [INFO] [stdout] 413 | ($token: expr, $uris: 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] 413 | ($token: expr_2021, $uris: expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> diagnostics.rs:413:43 [INFO] [stdout] | [INFO] [stdout] 413 | ($token: expr, $uris: 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] 413 | ($token: expr, $uris: expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:244:92 [INFO] [stdout] | [INFO] [stdout] 244 | fn return_expr_if_same<'e>(&'e self, expr: &'e Expr, l: &Token, r: Position) -> Option<&Expr> { [INFO] [stdout] | -- lifetime `'e` declared here ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> hir_visitor.rs:495:17 [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 255 | fn return_expr_if_contains<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 260 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 293 | fn get_expr_from_acc<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 298 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 490 | fn get_expr_from_record<'e>( [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:312:17 [INFO] [stdout] | [INFO] [stdout] 307 | fn get_expr_from_bin<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 312 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:325:17 [INFO] [stdout] | [INFO] [stdout] 320 | fn get_expr_from_call<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 325 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] ... [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:341:82 [INFO] [stdout] | [INFO] [stdout] 341 | fn get_expr_from_args<'e>(&'e self, args: &'e Args, pos: Position) -> Option<&Expr> { [INFO] [stdout] | -- lifetime `'e` declared here ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 495 | ) -> Option<&Expr> { [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:365:17 [INFO] [stdout] | [INFO] [stdout] 360 | fn get_expr_from_def<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 365 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 376 | fn get_expr_from_class_def<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 381 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:394:17 [INFO] [stdout] | [INFO] [stdout] 390 | fn get_expr_from_block<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 394 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 403 | fn get_expr_from_redef<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 408 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> hir_visitor.rs:513:17 [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:413:85 [INFO] [stdout] | [INFO] [stdout] 413 | fn get_expr_from_dummy<'e>(&'e self, dummy: &'e Dummy, pos: Position) -> Option<&Expr> { [INFO] [stdout] | -- lifetime `'e` declared here ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:427:17 [INFO] [stdout] | [INFO] [stdout] 422 | fn get_expr_from_patch_def<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 427 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 508 | fn get_expr_from_set<'e>( [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:439:17 [INFO] [stdout] | [INFO] [stdout] 434 | fn get_expr_from_lambda<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 439 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:453:17 [INFO] [stdout] | [INFO] [stdout] 448 | fn get_expr_from_list<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 453 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] ... [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:469:17 [INFO] [stdout] | [INFO] [stdout] 464 | fn get_expr_from_dict<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 469 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 513 | ) -> Option<&Expr> { [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:495:17 [INFO] [stdout] | [INFO] [stdout] 490 | fn get_expr_from_record<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 495 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:513:17 [INFO] [stdout] | [INFO] [stdout] 508 | fn get_expr_from_set<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 513 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:529:17 [INFO] [stdout] | [INFO] [stdout] 524 | fn get_expr_from_tuple<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 529 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:548:17 [INFO] [stdout] | [INFO] [stdout] 543 | fn get_expr_from_type_asc<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 548 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> hir_visitor.rs:529:17 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> call_hierarchy.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | if let Some(def) = self.get_min::(&uri, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> call_hierarchy.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | } [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] 57 ~ match self.get_min::(&uri, pos) { Some(def) => { [INFO] [stdout] 58 | if def.sig.is_subr() { [INFO] [stdout] ... [INFO] [stdout] 69 | } [INFO] [stdout] 70 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 524 | fn get_expr_from_tuple<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 529 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:548:17 [INFO] [stderr] | [INFO] [stderr] 543 | fn get_expr_from_type_asc<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 548 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 19 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: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> call_hierarchy.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | if let Some(attr) = call.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] 127 | } else if let Expr::Accessor(acc) = call.obj.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] --> call_hierarchy.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | } else if let Expr::Accessor(acc) = call.obj.as_ref() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> call_hierarchy.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 118 ~ match call.attr_name.as_ref() { Some(attr) => { [INFO] [stdout] 119 | let Some(to) = hierarchy_item(attr.inspect().to_string(), &attr.vi) else { [INFO] [stdout] ... [INFO] [stdout] 126 | calls.push(call); [INFO] [stdout] 127 ~ } _ => { match call.obj.as_ref() { Expr::Accessor(acc) => { [INFO] [stdout] 128 | let Some(to) = hierarchy_item(acc.last_name().to_string(), acc.var_info()) [INFO] [stdout] ... [INFO] [stdout] 136 | calls.push(call); [INFO] [stdout] 137 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> call_hierarchy.rs:200:16 [INFO] [stdout] | [INFO] [stdout] 200 | if let Some(vi) = self.get_definition(&uri, &token)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> call_hierarchy.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] 200 ~ match self.get_definition(&uri, &token)? { Some(vi) => { [INFO] [stdout] 201 | let Some(item) = hierarchy_item(token.content.to_string(), &vi) else { [INFO] [stdout] ... [INFO] [stdout] 204 | res.push(item); [INFO] [stdout] 205 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> code_action.rs:364:20 [INFO] [stdout] | [INFO] [stdout] 364 | if let Some(Expr::Def(def)) = visitor.get_min_expr(range.start) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> code_action.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 366 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 364 ~ match visitor.get_min_expr(range.start) { Some(Expr::Def(def)) => { [INFO] [stdout] 365 | action.edit = Some(WorkspaceEdit::new(self.inline_var_def(def))); [INFO] [stdout] 366 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> completion.rs:464:16 [INFO] [stdout] | [INFO] [stdout] 464 | if let Some(comps) = self.cache.borrow_mut().get_mut(&k) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> completion.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | } 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] 464 ~ match self.cache.borrow_mut().get_mut(&k) { Some(comps) => { [INFO] [stdout] 465 | comps.extend(v); [INFO] [stdout] 466 ~ } _ => { [INFO] [stdout] 467 | self.cache.borrow_mut().insert(k, v); [INFO] [stdout] 468 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> completion.rs:626:16 [INFO] [stdout] | [INFO] [stdout] 626 | if let Some(receiver_t) = &receiver_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] --> completion.rs:642:13 [INFO] [stdout] | [INFO] [stdout] 642 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 626 ~ match &receiver_t { Some(receiver_t) => { [INFO] [stdout] 627 | for (field, ty) in mod_ctx.context.fields(receiver_t) { [INFO] [stdout] ... [INFO] [stdout] 641 | } [INFO] [stdout] 642 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> completion.rs:689:16 [INFO] [stdout] | [INFO] [stdout] 689 | if let Some(comps) = self.comp_cache.get("") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> completion.rs:691:13 [INFO] [stdout] | [INFO] [stdout] 691 | } 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] 689 ~ match self.comp_cache.get("") { Some(comps) => { [INFO] [stdout] 690 | result.extend(comps.clone()); [INFO] [stdout] 691 ~ } _ => { [INFO] [stdout] 692 | let comps = module_completions(); [INFO] [stdout] 693 | self.comp_cache.insert("".into(), comps.clone()); [INFO] [stdout] 694 | result.extend(comps); [INFO] [stdout] 695 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> definition.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | } else if let Some(visitor) = self.get_visitor(uri) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> definition.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | } 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] 25 ~ } else { match self.get_visitor(uri) { Some(visitor) => { [INFO] [stdout] 26 | Ok(visitor.get_info(token)) [INFO] [stdout] 27 ~ } _ => { [INFO] [stdout] 28 | self.send_log("definition not found")?; [INFO] [stdout] 29 | Ok(None) [INFO] [stdout] 30 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> definition.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(token) = self.file_cache.get_symbol(uri, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> definition.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | } 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] 38 ~ match self.file_cache.get_symbol(uri, pos) { Some(token) => { [INFO] [stdout] 39 | if let Some(vi) = self.get_definition(uri, &token)? { [INFO] [stdout] ... [INFO] [stdout] 117 | } [INFO] [stdout] 118 ~ } _ => { [INFO] [stdout] 119 | self.send_log("lex error occurred")?; [INFO] [stdout] 120 | Ok(None) [INFO] [stdout] 121 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> definition.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | if let Some(vi) = self.get_definition(uri, &token)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^--------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> definition.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | } 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] 39 ~ match self.get_definition(uri, &token)? { Some(vi) => { [INFO] [stdout] 40 | // If the target variable is an imported one, jump to the definition file. [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] 115 ~ } _ => { [INFO] [stdout] 116 | Ok(None) [INFO] [stdout] 117 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> definition.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | if let Some(def) = self.get_min::(uri, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> definition.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 47 ~ match self.get_min::(uri, pos) { Some(def) => { [INFO] [stdout] 48 | if def.def_kind().is_import() { [INFO] [stdout] ... [INFO] [stdout] 102 | } [INFO] [stdout] 103 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> definition.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 76 | } else if let Some(Expr::Accessor(acc)) = def.body.block.last() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> definition.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 76 ~ } else { match def.body.block.last() { Some(Expr::Accessor(acc)) => { [INFO] [stdout] 77 | let vi = acc.var_info(); [INFO] [stdout] ... [INFO] [stdout] 101 | } [INFO] [stdout] 102 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> definition.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | ... if let Some(mod_uri) = [INFO] [stdout] | __________________________^ [INFO] [stdout] 50 | | ... vi.t.module_path() [INFO] [stdout] | | ---- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 51 | | ... .and_then(|path| Url::from_file_path(path).ok()) [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] --> definition.rs:57:29 [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] 49 ~ match vi.t.module_path() [INFO] [stdout] 50 | .and_then(|path| Url::from_file_path(path).ok()) [INFO] [stdout] 51 ~ { Some(mod_uri) => { [INFO] [stdout] 52 | return Ok(Some(lsp_types::Location::new( [INFO] [stdout] ... [INFO] [stdout] 55 | ))); [INFO] [stdout] 56 ~ } _ => { [INFO] [stdout] 57 | // line of module member definitions may no longer match after the desugaring process [INFO] [stdout] ... [INFO] [stdout] 73 | } [INFO] [stdout] 74 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> diagnostics.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | if let Ok(new) = self.build_ast(&dep) { [INFO] [stdout] | ^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> diagnostics.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | } 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] 76 ~ match self.build_ast(&dep) { Ok(new) => { [INFO] [stdout] 77 | if !ASTDiff::diff(old, &new).is_nop() { [INFO] [stdout] 78 | return ChangeKind::Valid; [INFO] [stdout] 79 | } [INFO] [stdout] 80 ~ } _ => { [INFO] [stdout] 81 | return ChangeKind::Invalid; [INFO] [stdout] 82 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> diagnostics.rs:215:20 [INFO] [stdout] | [INFO] [stdout] 215 | if let Some(new) = err.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] --> diagnostics.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | } 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] 215 ~ match err.ast { Some(new) => { [INFO] [stdout] 216 | new [INFO] [stdout] 217 ~ } _ => { [INFO] [stdout] 218 | return Ok(()); [INFO] [stdout] 219 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> diagnostics.rs:355:32 [INFO] [stdout] | [INFO] [stdout] 355 | ... if let Ok(code) = _self.file_cache.get_entire_code(&uri) { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> diagnostics.rs:358:29 [INFO] [stdout] | [INFO] [stdout] 358 | ... } [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 ~ match _self.file_cache.get_entire_code(&uri) { Ok(code) => { [INFO] [stdout] 356 | let _ = _self.check_file(uri.clone(), code); [INFO] [stdout] 357 | file_vers.insert(uri, latest_ver); [INFO] [stdout] 358 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> diagnostics.rs:380:20 [INFO] [stdout] | [INFO] [stdout] 380 | if let Ok(uri) = NormalizedUrl::from_file_path(entry.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] --> diagnostics.rs:382:17 [INFO] [stdout] | [INFO] [stdout] 382 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 380 ~ match NormalizedUrl::from_file_path(entry.path()) { Ok(uri) => { [INFO] [stdout] 381 | uris.push(uri); [INFO] [stdout] 382 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> diff.rs:109:24 [INFO] [stdout] | [INFO] [stdout] 109 | if let Some(name) = def.sig.name_as_str() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> diff.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 109 ~ match def.sig.name_as_str() { Some(name) => { [INFO] [stdout] 110 | lowerer.unregister(name); [INFO] [stdout] 111 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> diff.rs:140:20 [INFO] [stdout] | [INFO] [stdout] 140 | if let Some(old_expr) = old.module.get_mut(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] --> diff.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 140 ~ match old.module.get_mut(idx) { Some(old_expr) => { [INFO] [stdout] 141 | *old_expr = expr; [INFO] [stdout] 142 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | if let Some(ns) = self.get_exprs_ns(namespace.clone(), self.hir.module.iter(), pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | } 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] 115 ~ match self.get_exprs_ns(namespace.clone(), self.hir.module.iter(), pos) { Some(ns) => { [INFO] [stdout] 116 | ns [INFO] [stdout] 117 ~ } _ => { [INFO] [stdout] 118 | namespace [INFO] [stdout] 119 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:170:16 [INFO] [stdout] | [INFO] [stdout] 170 | if let Some(ns) = self.get_expr_ns(cur_ns.clone(), expr, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 170 ~ match self.get_expr_ns(cur_ns.clone(), expr, pos) { Some(ns) => { [INFO] [stdout] 171 | namespaces.push(ns); [INFO] [stdout] 172 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:343:16 [INFO] [stdout] | [INFO] [stdout] 343 | if let Some(expr) = self.get_expr(&arg.expr, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 345 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 343 ~ match self.get_expr(&arg.expr, pos) { Some(expr) => { [INFO] [stdout] 344 | return Some(expr); [INFO] [stdout] 345 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:348:16 [INFO] [stdout] | [INFO] [stdout] 348 | if let Some(expr) = self.get_expr(&var.expr, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:350:13 [INFO] [stdout] | [INFO] [stdout] 350 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 348 ~ match self.get_expr(&var.expr, pos) { Some(expr) => { [INFO] [stdout] 349 | return Some(expr); [INFO] [stdout] 350 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:353:16 [INFO] [stdout] | [INFO] [stdout] 353 | if let Some(expr) = self.get_expr(&arg.expr, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:355:13 [INFO] [stdout] | [INFO] [stdout] 355 | } [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 ~ match self.get_expr(&arg.expr, pos) { Some(expr) => { [INFO] [stdout] 354 | return Some(expr); [INFO] [stdout] 355 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:477:24 [INFO] [stdout] | [INFO] [stdout] 477 | if let Some(expr) = self [INFO] [stdout] | ________________________^ [INFO] [stdout] 478 | | .get_expr(&kv.key, pos) [INFO] [stdout] | | ------ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 479 | | .or_else(|| self.get_expr(&kv.value, pos)) [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] --> hir_visitor.rs:482:21 [INFO] [stdout] | [INFO] [stdout] 482 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 477 ~ match self [INFO] [stdout] 478 | .get_expr(&kv.key, pos) [INFO] [stdout] 479 | .or_else(|| self.get_expr(&kv.value, pos)) [INFO] [stdout] 480 ~ { Some(expr) => { [INFO] [stdout] 481 | return Some(expr); [INFO] [stdout] 482 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:501:16 [INFO] [stdout] | [INFO] [stdout] 501 | if let Some(expr) = self.get_expr_from_block(field.body.block.iter(), pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 501 ~ match self.get_expr_from_block(field.body.block.iter(), pos) { Some(expr) => { [INFO] [stdout] 502 | return Some(expr); [INFO] [stdout] 503 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:559:16 [INFO] [stdout] | [INFO] [stdout] 559 | if let Some(expr) = self.get_expr_info(chunk, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:561:13 [INFO] [stdout] | [INFO] [stdout] 561 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 559 ~ match self.get_expr_info(chunk, token) { Some(expr) => { [INFO] [stdout] 560 | return Some(expr); [INFO] [stdout] 561 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:626:16 [INFO] [stdout] | [INFO] [stdout] 626 | if let Some(t) = self.return_var_info_if_same(attr, attr.raw.name.token(), token) { [INFO] [stdout] | ^^^^^^^^^^^^^^---------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:628:13 [INFO] [stdout] | [INFO] [stdout] 628 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 626 ~ match self.return_var_info_if_same(attr, attr.raw.name.token(), token) { Some(t) => { [INFO] [stdout] 627 | return Some(t); [INFO] [stdout] 628 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:636:16 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(vi) = self.get_expr_info(&arg.expr, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:638:13 [INFO] [stdout] | [INFO] [stdout] 638 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 636 ~ match self.get_expr_info(&arg.expr, token) { Some(vi) => { [INFO] [stdout] 637 | return Some(vi); [INFO] [stdout] 638 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:641:16 [INFO] [stdout] | [INFO] [stdout] 641 | if let Some(vi) = self.get_expr_info(&var.expr, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | } [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 self.get_expr_info(&var.expr, token) { Some(vi) => { [INFO] [stdout] 642 | return Some(vi); [INFO] [stdout] 643 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:646:16 [INFO] [stdout] | [INFO] [stdout] 646 | if let Some(vi) = self.get_expr_info(&arg.expr, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:648:13 [INFO] [stdout] | [INFO] [stdout] 648 | } [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.get_expr_info(&arg.expr, token) { Some(vi) => { [INFO] [stdout] 647 | return Some(vi); [INFO] [stdout] 648 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:676:16 [INFO] [stdout] | [INFO] [stdout] 676 | if let Some(vi) = param [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_______________________________| [INFO] [stdout] 677 | || .t_spec_as_expr [INFO] [stdout] 678 | || .as_ref() [INFO] [stdout] 679 | || .and_then(|t_spec| self.get_expr_info(t_spec, token)) [INFO] [stdout] | ||_____________________________________________________________________^ 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] --> hir_visitor.rs:682:13 [INFO] [stdout] | [INFO] [stdout] 682 | } else if param.raw.pat.loc() == token.loc() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 676 ~ match param [INFO] [stdout] 677 | .t_spec_as_expr [INFO] [stdout] 678 | .as_ref() [INFO] [stdout] 679 | .and_then(|t_spec| self.get_expr_info(t_spec, token)) [INFO] [stdout] 680 ~ { Some(vi) => { [INFO] [stdout] 681 | return Some(vi); [INFO] [stdout] 682 ~ } _ => if param.raw.pat.loc() == token.loc() { [INFO] [stdout] 683 | return Some(param.vi.clone()); [INFO] [stdout] 684 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:687:16 [INFO] [stdout] | [INFO] [stdout] 687 | if let Some(vi) = var [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_______________________________| [INFO] [stdout] 688 | || .t_spec_as_expr [INFO] [stdout] 689 | || .as_ref() [INFO] [stdout] 690 | || .and_then(|t_spec| self.get_expr_info(t_spec, token)) [INFO] [stdout] | ||_____________________________________________________________________^ 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] --> hir_visitor.rs:693:13 [INFO] [stdout] | [INFO] [stdout] 693 | } else if var.raw.pat.loc() == token.loc() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 687 ~ match var [INFO] [stdout] 688 | .t_spec_as_expr [INFO] [stdout] 689 | .as_ref() [INFO] [stdout] 690 | .and_then(|t_spec| self.get_expr_info(t_spec, token)) [INFO] [stdout] 691 ~ { Some(vi) => { [INFO] [stdout] 692 | return Some(vi); [INFO] [stdout] 693 ~ } _ => if var.raw.pat.loc() == token.loc() { [INFO] [stdout] 694 | return Some(var.vi.clone()); [INFO] [stdout] 695 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:698:16 [INFO] [stdout] | [INFO] [stdout] 698 | if let Some(vi) = self.get_expr_info(¶m.default_val, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^--------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 699 | return Some(vi); [INFO] [stdout] 700 | } else if let Some(vi) = param [INFO] [stdout] | ______________________________________- [INFO] [stdout] 701 | | .sig [INFO] [stdout] 702 | | .t_spec_as_expr [INFO] [stdout] 703 | | .as_ref() [INFO] [stdout] 704 | | .and_then(|t_spec| self.get_expr_info(t_spec, token)) [INFO] [stdout] | |_____________________________________________________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:700:13 [INFO] [stdout] | [INFO] [stdout] 700 | } else if let Some(vi) = param [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:707:13 [INFO] [stdout] | [INFO] [stdout] 707 | } else if param.sig.raw.pat.loc() == token.loc() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 698 ~ match self.get_expr_info(¶m.default_val, token) { Some(vi) => { [INFO] [stdout] 699 | return Some(vi); [INFO] [stdout] 700 ~ } _ => { match param [INFO] [stdout] 701 | .sig [INFO] [stdout] ... [INFO] [stdout] 704 | .and_then(|t_spec| self.get_expr_info(t_spec, token)) [INFO] [stdout] 705 ~ { Some(vi) => { [INFO] [stdout] 706 | return Some(vi); [INFO] [stdout] 707 ~ } _ => if param.sig.raw.pat.loc() == token.loc() { [INFO] [stdout] 708 | return Some(param.sig.vi.clone()); [INFO] [stdout] 709 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:713:20 [INFO] [stdout] | [INFO] [stdout] 713 | if let Some(vi) = self.get_def_info(bind, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:715:17 [INFO] [stdout] | [INFO] [stdout] 715 | } [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 ~ match self.get_def_info(bind, token) { Some(vi) => { [INFO] [stdout] 714 | return Some(vi); [INFO] [stdout] 715 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:747:16 [INFO] [stdout] | [INFO] [stdout] 747 | if let Some(expr) = self.get_expr_info(chunk, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:749:13 [INFO] [stdout] | [INFO] [stdout] 749 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 747 ~ match self.get_expr_info(chunk, token) { Some(expr) => { [INFO] [stdout] 748 | return Some(expr); [INFO] [stdout] 749 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:761:16 [INFO] [stdout] | [INFO] [stdout] 761 | if let Some(expr) = self.get_expr_info(chunk, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:763:13 [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] 761 ~ match self.get_expr_info(chunk, token) { Some(expr) => { [INFO] [stdout] 762 | return Some(expr); [INFO] [stdout] 763 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:784:24 [INFO] [stdout] | [INFO] [stdout] 784 | if let Some(expr) = self.get_expr_info(&kv.key, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 785 | return Some(expr); [INFO] [stdout] 786 | } else if let Some(expr) = self.get_expr_info(&kv.value, token) { [INFO] [stdout] | ------------------------------------ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:786:21 [INFO] [stdout] | [INFO] [stdout] 786 | } else if let Some(expr) = self.get_expr_info(&kv.value, token) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:788:21 [INFO] [stdout] | [INFO] [stdout] 788 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 784 ~ match self.get_expr_info(&kv.key, token) { Some(expr) => { [INFO] [stdout] 785 | return Some(expr); [INFO] [stdout] 786 ~ } _ => { match self.get_expr_info(&kv.value, token) { Some(expr) => { [INFO] [stdout] 787 | return Some(expr); [INFO] [stdout] 788 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:798:16 [INFO] [stdout] | [INFO] [stdout] 798 | if let Some(expr) = self.get_def_info(field, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:800:13 [INFO] [stdout] | [INFO] [stdout] 800 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 798 ~ match self.get_def_info(field, token) { Some(expr) => { [INFO] [stdout] 799 | return Some(expr); [INFO] [stdout] 800 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hover.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 88 | let opt_token = if let Some(token) = opt_tok { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hover.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | } 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] 88 ~ let opt_token = match opt_tok { Some(token) => { [INFO] [stdout] 89 | match token.category() { [INFO] [stdout] ... [INFO] [stdout] 96 | } [INFO] [stdout] 97 ~ } _ => { [INFO] [stdout] 98 | None [INFO] [stdout] 99 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hover.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(token) = opt_token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hover.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | } 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] 100 ~ match opt_token { Some(token) => { [INFO] [stdout] 101 | match self.get_definition(&uri, &token)? { [INFO] [stdout] ... [INFO] [stdout] 177 | } [INFO] [stdout] 178 ~ } _ => { [INFO] [stdout] 179 | self.send_log("lex error")?; [INFO] [stdout] 180 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hover.rs:167:24 [INFO] [stdout] | [INFO] [stdout] 167 | if let Some(visitor) = self.get_visitor(&uri) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hover.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 175 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 167 ~ match self.get_visitor(&uri) { Some(visitor) => { [INFO] [stdout] 168 | if let Some(typ) = visitor.get_min_expr(pos) { [INFO] [stdout] ... [INFO] [stdout] 174 | } [INFO] [stdout] 175 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hover.rs:168:28 [INFO] [stdout] | [INFO] [stdout] 168 | if let Some(typ) = visitor.get_min_expr(pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hover.rs:174:25 [INFO] [stdout] | [INFO] [stdout] 174 | } [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 ~ match visitor.get_min_expr(pos) { Some(typ) => { [INFO] [stdout] 169 | let typ = MarkedString::from_language_code( [INFO] [stdout] ... [INFO] [stdout] 173 | contents.push(typ); [INFO] [stdout] 174 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hover.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | if let Some((_, vi)) = module.context.get_type_info(&inner_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] --> hover.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 213 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 200 ~ match module.context.get_type_info(&inner_t) { Some((_, vi)) => { [INFO] [stdout] 201 | if let Some(url) = vi [INFO] [stdout] ... [INFO] [stdout] 212 | } [INFO] [stdout] 213 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> implementation.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(location) = self.get_definition_location(&uri, pos)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> implementation.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 33 ~ match self.get_definition_location(&uri, pos)? { Some(location) => { [INFO] [stdout] 34 | return Ok(Some(GotoImplementationResponse::Scalar(location))); [INFO] [stdout] 35 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> inlay_hint.rs:191:20 [INFO] [stdout] | [INFO] [stdout] 191 | if let Some((ln, col)) = subr.params.ln_begin().zip(subr.params.col_begin()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> inlay_hint.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | } [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 subr.params.ln_begin().zip(subr.params.col_begin()) { Some((ln, col)) => { [INFO] [stdout] 192 | let hint = self.anot(ln, col, "(".to_string()); [INFO] [stdout] 193 | result.push(hint); [INFO] [stdout] 194 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> inlay_hint.rs:204:16 [INFO] [stdout] | [INFO] [stdout] 204 | if let Some((ln, col)) = def.sig.ln_begin().zip(def.sig.col_end()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> inlay_hint.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 204 ~ match def.sig.ln_begin().zip(def.sig.col_end()) { Some((ln, col)) => { [INFO] [stdout] 205 | let hint = self.type_anot(ln, col, def.sig.ident().ref_t(), false); [INFO] [stdout] 206 | result.push(hint); [INFO] [stdout] 207 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> inlay_hint.rs:217:16 [INFO] [stdout] | [INFO] [stdout] 217 | if let Some((ln, col)) = lambda.params.ln_begin().zip(lambda.params.col_begin()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> inlay_hint.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 217 ~ match lambda.params.ln_begin().zip(lambda.params.col_begin()) { Some((ln, col)) => { [INFO] [stdout] 218 | let hint = self.anot(ln, col, "(".to_string()); [INFO] [stdout] 219 | result.push(hint); [INFO] [stdout] 220 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> inlay_hint.rs:262:16 [INFO] [stdout] | [INFO] [stdout] 262 | if let Some(name) = param_ts.clone().nth(index).and_then(|pt| pt.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] --> inlay_hint.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 262 ~ match param_ts.clone().nth(index).and_then(|pt| pt.name()) { Some(name) => { [INFO] [stdout] 263 | if name.starts_with(['%']) { [INFO] [stdout] ... [INFO] [stdout] 284 | result.push(hint); [INFO] [stdout] 285 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> inlay_hint.rs:330:16 [INFO] [stdout] | [INFO] [stdout] 330 | if let Some(module) = self.get_mod_ctx(&uri) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> inlay_hint.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 345 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 330 ~ match self.get_mod_ctx(&uri) { Some(module) => { [INFO] [stdout] 331 | let InlayHintLabel::String(label) = &hint.label else { [INFO] [stdout] ... [INFO] [stdout] 344 | } [INFO] [stdout] 345 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> inlay_hint.rs:335:20 [INFO] [stdout] | [INFO] [stdout] 335 | if let Some((_, vi)) = module.context.get_type_info_by_str(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] --> inlay_hint.rs:344:17 [INFO] [stdout] | [INFO] [stdout] 344 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 335 ~ match module.context.get_type_info_by_str(name) { Some((_, vi)) => { [INFO] [stdout] 336 | let location = abs_loc_to_lsp_loc(&vi.def_loc); [INFO] [stdout] ... [INFO] [stdout] 343 | hint.label = InlayHintLabel::LabelParts(vec![parts]); [INFO] [stdout] 344 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> references.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | if let Some(visitor) = self.get_visitor(uri) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> references.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 25 ~ match self.get_visitor(uri) { Some(visitor) => { [INFO] [stdout] 26 | if let Some(vi) = visitor.get_info(&tok) { [INFO] [stdout] 27 | return self.get_refs_from_abs_loc(&vi.def_loc); [INFO] [stdout] 28 | } [INFO] [stdout] 29 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> references.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | if let Some(vi) = visitor.get_info(&tok) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> references.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 26 ~ match visitor.get_info(&tok) { Some(vi) => { [INFO] [stdout] 27 | return self.get_refs_from_abs_loc(&vi.def_loc); [INFO] [stdout] 28 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> rename.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(vi) = self [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_______________________________| [INFO] [stdout] 39 | || .get_visitor(&uri) [INFO] [stdout] 40 | || .and_then(|visitor| visitor.get_info(&tok)) [INFO] [stdout] | ||___________________________________________________________^ 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] --> rename.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 38 ~ match self [INFO] [stdout] 39 | .get_visitor(&uri) [INFO] [stdout] 40 | .and_then(|visitor| visitor.get_info(&tok)) [INFO] [stdout] 41 ~ { Some(vi) => { [INFO] [stdout] 42 | let mut changes: HashMap> = HashMap::new(); [INFO] [stdout] ... [INFO] [stdout] 105 | return Ok(()); [INFO] [stdout] 106 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> scheduler.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | if let Some(idx) = self.executing.borrow().iter().find(|task| task.id == 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] --> scheduler.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | } 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] 140 ~ match self.executing.borrow().iter().find(|task| task.id == id) { Some(idx) => { [INFO] [stdout] 141 | Some(*idx) [INFO] [stdout] 142 ~ } _ => { [INFO] [stdout] 143 | let task = self [INFO] [stdout] ... [INFO] [stdout] 169 | Some(task) [INFO] [stdout] 170 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> server.rs:312:20 [INFO] [stdout] | [INFO] [stdout] 312 | if let Some(ast::Expr::Literal(lit)) = path.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] --> server.rs:314:17 [INFO] [stdout] | [INFO] [stdout] 314 | } 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] 312 ~ match path.body.block.first() { Some(ast::Expr::Literal(lit)) => { [INFO] [stdout] 313 | Some(lit.token.content.replace('\"', "")) [INFO] [stdout] 314 ~ } _ => { [INFO] [stdout] 315 | None [INFO] [stdout] 316 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> server.rs:344:20 [INFO] [stdout] | [INFO] [stdout] 344 | if let Err(err) = _self.dispatch(msg) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> server.rs:349:17 [INFO] [stdout] | [INFO] [stdout] 349 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 344 ~ match _self.dispatch(msg) { Err(err) => { [INFO] [stdout] 345 | lsp_log!("error: {err}"); [INFO] [stdout] ... [INFO] [stdout] 348 | }; [INFO] [stdout] 349 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> server.rs:371:28 [INFO] [stdout] | [INFO] [stdout] 371 | if let Err(err) = _self.dispatch(msg) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> server.rs:376:25 [INFO] [stdout] | [INFO] [stdout] 376 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 371 ~ match _self.dispatch(msg) { Err(err) => { [INFO] [stdout] 372 | lsp_log!("error: {err}"); [INFO] [stdout] ... [INFO] [stdout] 375 | }; [INFO] [stdout] 376 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> server.rs:1029:24 [INFO] [stdout] | [INFO] [stdout] 1029 | if let Some(ctx) = mod_ctx.scope.get(&ns[..]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> server.rs:1031:21 [INFO] [stdout] | [INFO] [stdout] 1031 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1029 ~ match mod_ctx.scope.get(&ns[..]) { Some(ctx) => { [INFO] [stdout] 1030 | ctxs.push(ctx); [INFO] [stdout] 1031 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> server.rs:1092:12 [INFO] [stdout] | [INFO] [stdout] 1092 | if let Some(token) = maybe_token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> server.rs:1119:9 [INFO] [stdout] | [INFO] [stdout] 1119 | } 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 maybe_token { Some(token) => { [INFO] [stdout] 1093 | // _log!(self, "token: {token}"); [INFO] [stdout] ... [INFO] [stdout] 1118 | Ok((expr, ctxs)) [INFO] [stdout] 1119 ~ } _ => { [INFO] [stdout] 1120 | self.send_log("token not found")?; [INFO] [stdout] 1121 | Ok((None, vec![])) [INFO] [stdout] 1122 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> server.rs:1095:27 [INFO] [stdout] | [INFO] [stdout] 1095 | let expr = if let Some(visitor) = self.get_visitor(uri) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> server.rs:1115:13 [INFO] [stdout] | [INFO] [stdout] 1115 | } 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] 1095 ~ let expr = match self.get_visitor(uri) { Some(visitor) => { [INFO] [stdout] 1096 | if let Some(expr) = [INFO] [stdout] ... [INFO] [stdout] 1114 | } [INFO] [stdout] 1115 ~ } _ => { [INFO] [stdout] 1116 | None [INFO] [stdout] 1117 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> server.rs:1096:20 [INFO] [stdout] | [INFO] [stdout] 1096 | if let Some(expr) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 1097 | | loc_to_pos(token.loc()).and_then(|pos| visitor.get_min_expr(pos)) [INFO] [stdout] | |________________________________-----________________________________________________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> server.rs:1111:17 [INFO] [stdout] | [INFO] [stdout] 1111 | } 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] 1096 ~ match loc_to_pos(token.loc()).and_then(|pos| visitor.get_min_expr(pos)) [INFO] [stdout] 1097 ~ { Some(expr) => { [INFO] [stdout] 1098 | let type_ctxs = module [INFO] [stdout] ... [INFO] [stdout] 1109 | Some(expr.t()) [INFO] [stdout] 1110 ~ } _ => { [INFO] [stdout] 1111 | _log!(self, "expr not found: {token}"); [INFO] [stdout] 1112 | None [INFO] [stdout] 1113 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> sig_help.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | if let Some(expr) = visitor.get_min_expr(loc_to_pos(token.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] --> sig_help.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 89 ~ match visitor.get_min_expr(loc_to_pos(token.loc())?) { Some(expr) => { [INFO] [stdout] 90 | return Some((token, expr.clone())); [INFO] [stdout] 91 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> sig_help.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | if let Some(token) = self.file_cache.get_token(uri, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> sig_help.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | } 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] 143 ~ match self.file_cache.get_token(uri, pos) { Some(token) => { [INFO] [stdout] 144 | crate::_log!(self, "token: {token}"); [INFO] [stdout] ... [INFO] [stdout] 153 | } [INFO] [stdout] 154 ~ } _ => { [INFO] [stdout] 155 | crate::_log!(self, "failed to get the token"); [INFO] [stdout] 156 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> sig_help.rs:145:16 [INFO] [stdout] | [INFO] [stdout] 145 | if let Some(call) = self.get_min::(uri, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> sig_help.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | } 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] 145 ~ match self.get_min::(uri, pos) { Some(call) => { [INFO] [stdout] 146 | if call.ln_begin() > token.ln_begin() || call.ln_end() < token.ln_end() { [INFO] [stdout] ... [INFO] [stdout] 150 | return self.make_sig_help(call.obj.as_ref(), nth); [INFO] [stdout] 151 ~ } _ => { [INFO] [stdout] 152 | crate::_log!(self, "failed to get the call"); [INFO] [stdout] 153 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> sig_help.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | if let Some((_token, Expr::Accessor(acc))) = self.get_min_expr(uri, pos, -2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> sig_help.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | } 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] 161 ~ match self.get_min_expr(uri, pos, -2) { Some((_token, Expr::Accessor(acc))) => { [INFO] [stdout] 162 | return self.make_sig_help(&acc, 0); [INFO] [stdout] 163 ~ } _ => { [INFO] [stdout] 164 | crate::_log!(self, "lex error occurred"); [INFO] [stdout] 165 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> sig_help.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | if let Some(call) = self.get_min::(uri, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> sig_help.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | } 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] 170 ~ match self.get_min::(uri, pos) { Some(call) => { [INFO] [stdout] 171 | let nth = self.nth(uri, &call, pos) as u32 + 1; [INFO] [stdout] 172 | let help = self.make_sig_help(call.obj.as_ref(), nth); [INFO] [stdout] 173 | return help; [INFO] [stdout] 174 ~ } _ => { [INFO] [stdout] 175 | crate::_log!(self, "failed to get continuous help"); [INFO] [stdout] 176 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 91 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `els` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * diagnostics.rs [INFO] [stderr] * hir_visitor.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] --> diagnostics.rs:395:22 [INFO] [stderr] | [INFO] [stderr] 395 | ($token: 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] --> diagnostics.rs:413:22 [INFO] [stderr] | [INFO] [stderr] 413 | ($token: expr_2021, $uris: 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] --> diagnostics.rs:413:41 [INFO] [stderr] | [INFO] [stderr] 413 | ($token: expr_2021, $uris: 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] --> hir_visitor.rs:244:92 [INFO] [stderr] | [INFO] [stderr] 244 | fn return_expr_if_same<'e>(&'e self, expr: &'e Expr, l: &Token, r: Position) -> Option<&Expr> { [INFO] [stderr] | -- lifetime `'e` declared here ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:260:17 [INFO] [stderr] | [INFO] [stderr] 255 | fn return_expr_if_contains<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 260 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:298:17 [INFO] [stderr] | [INFO] [stderr] 293 | fn get_expr_from_acc<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 298 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:312:17 [INFO] [stderr] | [INFO] [stderr] 307 | fn get_expr_from_bin<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 312 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:325:17 [INFO] [stderr] | [INFO] [stderr] 320 | fn get_expr_from_call<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 325 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:341:82 [INFO] [stderr] | [INFO] [stderr] 341 | fn get_expr_from_args<'e>(&'e self, args: &'e Args, pos: Position) -> Option<&Expr> { [INFO] [stderr] | -- lifetime `'e` declared here ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:365:17 [INFO] [stderr] | [INFO] [stderr] 360 | fn get_expr_from_def<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 365 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:381:17 [INFO] [stderr] | [INFO] [stderr] 376 | fn get_expr_from_class_def<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 381 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:394:17 [INFO] [stderr] | [INFO] [stderr] 390 | fn get_expr_from_block<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 394 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:408:17 [INFO] [stderr] | [INFO] [stderr] 403 | fn get_expr_from_redef<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 408 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:413:85 [INFO] [stderr] | [INFO] [stderr] 413 | fn get_expr_from_dummy<'e>(&'e self, dummy: &'e Dummy, pos: Position) -> Option<&Expr> { [INFO] [stderr] | -- lifetime `'e` declared here ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:427:17 [INFO] [stderr] | [INFO] [stderr] 422 | fn get_expr_from_patch_def<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 427 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:439:17 [INFO] [stderr] | [INFO] [stderr] 434 | fn get_expr_from_lambda<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 439 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:453:17 [INFO] [stderr] | [INFO] [stderr] 448 | fn get_expr_from_list<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 453 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:469:17 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> inlay_hint.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | let gen = InlayHintGenerator { [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] --> inlay_hint.rs:315:31 [INFO] [stdout] | [INFO] [stdout] 315 | result.extend(gen.get_expr_hint(chunk)); [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] 464 | fn get_expr_from_dict<'e>( [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> diagnostics.rs:395:30 [INFO] [stdout] | [INFO] [stdout] 395 | ($token: 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] 395 | ($token: expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> diagnostics.rs:413:30 [INFO] [stdout] | [INFO] [stdout] 413 | ($token: expr, $uris: 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] 413 | ($token: expr_2021, $uris: expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] ... [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> diagnostics.rs:413:43 [INFO] [stdout] | [INFO] [stdout] 413 | ($token: expr, $uris: 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] 413 | ($token: expr, $uris: expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 469 | ) -> Option<&Expr> { [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:244:92 [INFO] [stdout] | [INFO] [stdout] 244 | fn return_expr_if_same<'e>(&'e self, expr: &'e Expr, l: &Token, r: Position) -> Option<&Expr> { [INFO] [stdout] | -- lifetime `'e` declared here ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 255 | fn return_expr_if_contains<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 260 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 293 | fn get_expr_from_acc<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 298 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:312:17 [INFO] [stdout] | [INFO] [stdout] 307 | fn get_expr_from_bin<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 312 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> hir_visitor.rs:495:17 [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:325:17 [INFO] [stdout] | [INFO] [stdout] 320 | fn get_expr_from_call<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 325 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:341:82 [INFO] [stdout] | [INFO] [stdout] 341 | fn get_expr_from_args<'e>(&'e self, args: &'e Args, pos: Position) -> Option<&Expr> { [INFO] [stdout] | -- lifetime `'e` declared here ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 490 | fn get_expr_from_record<'e>( [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:365:17 [INFO] [stdout] | [INFO] [stdout] 360 | fn get_expr_from_def<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 365 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 376 | fn get_expr_from_class_def<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 381 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] ... [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:394:17 [INFO] [stdout] | [INFO] [stdout] 390 | fn get_expr_from_block<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 394 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 495 | ) -> Option<&Expr> { [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 403 | fn get_expr_from_redef<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 408 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:413:85 [INFO] [stdout] | [INFO] [stdout] 413 | fn get_expr_from_dummy<'e>(&'e self, dummy: &'e Dummy, pos: Position) -> Option<&Expr> { [INFO] [stdout] | -- lifetime `'e` declared here ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:427:17 [INFO] [stdout] | [INFO] [stdout] 422 | fn get_expr_from_patch_def<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 427 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:439:17 [INFO] [stdout] | [INFO] [stdout] 434 | fn get_expr_from_lambda<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 439 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> hir_visitor.rs:513:17 [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:453:17 [INFO] [stdout] | [INFO] [stdout] 448 | fn get_expr_from_list<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 453 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:469:17 [INFO] [stdout] | [INFO] [stdout] 464 | fn get_expr_from_dict<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 469 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 508 | fn get_expr_from_set<'e>( [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:495:17 [INFO] [stdout] | [INFO] [stdout] 490 | fn get_expr_from_record<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 495 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:513:17 [INFO] [stdout] | [INFO] [stdout] 508 | fn get_expr_from_set<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 513 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] ... [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:529:17 [INFO] [stdout] | [INFO] [stdout] 524 | fn get_expr_from_tuple<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 529 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 513 | ) -> Option<&Expr> { [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:548:17 [INFO] [stdout] | [INFO] [stdout] 543 | fn get_expr_from_type_asc<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 548 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:529:17 [INFO] [stderr] | [INFO] [stderr] 524 | fn get_expr_from_tuple<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 529 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:548:17 [INFO] [stderr] | [INFO] [stderr] 543 | fn get_expr_from_type_asc<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 548 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 19 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: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> call_hierarchy.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | if let Some(def) = self.get_min::(&uri, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> call_hierarchy.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | } [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] 57 ~ match self.get_min::(&uri, pos) { Some(def) => { [INFO] [stdout] 58 | if def.sig.is_subr() { [INFO] [stdout] ... [INFO] [stdout] 69 | } [INFO] [stdout] 70 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> call_hierarchy.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | if let Some(attr) = call.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] 127 | } else if let Expr::Accessor(acc) = call.obj.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] --> call_hierarchy.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | } else if let Expr::Accessor(acc) = call.obj.as_ref() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> call_hierarchy.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 118 ~ match call.attr_name.as_ref() { Some(attr) => { [INFO] [stdout] 119 | let Some(to) = hierarchy_item(attr.inspect().to_string(), &attr.vi) else { [INFO] [stdout] ... [INFO] [stdout] 126 | calls.push(call); [INFO] [stdout] 127 ~ } _ => { match call.obj.as_ref() { Expr::Accessor(acc) => { [INFO] [stdout] 128 | let Some(to) = hierarchy_item(acc.last_name().to_string(), acc.var_info()) [INFO] [stdout] ... [INFO] [stdout] 136 | calls.push(call); [INFO] [stdout] 137 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> call_hierarchy.rs:200:16 [INFO] [stdout] | [INFO] [stdout] 200 | if let Some(vi) = self.get_definition(&uri, &token)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> call_hierarchy.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] 200 ~ match self.get_definition(&uri, &token)? { Some(vi) => { [INFO] [stdout] 201 | let Some(item) = hierarchy_item(token.content.to_string(), &vi) else { [INFO] [stdout] ... [INFO] [stdout] 204 | res.push(item); [INFO] [stdout] 205 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> code_action.rs:364:20 [INFO] [stdout] | [INFO] [stdout] 364 | if let Some(Expr::Def(def)) = visitor.get_min_expr(range.start) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> code_action.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 366 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 364 ~ match visitor.get_min_expr(range.start) { Some(Expr::Def(def)) => { [INFO] [stdout] 365 | action.edit = Some(WorkspaceEdit::new(self.inline_var_def(def))); [INFO] [stdout] 366 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> completion.rs:464:16 [INFO] [stdout] | [INFO] [stdout] 464 | if let Some(comps) = self.cache.borrow_mut().get_mut(&k) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> completion.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | } 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] 464 ~ match self.cache.borrow_mut().get_mut(&k) { Some(comps) => { [INFO] [stdout] 465 | comps.extend(v); [INFO] [stdout] 466 ~ } _ => { [INFO] [stdout] 467 | self.cache.borrow_mut().insert(k, v); [INFO] [stdout] 468 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> completion.rs:626:16 [INFO] [stdout] | [INFO] [stdout] 626 | if let Some(receiver_t) = &receiver_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] --> completion.rs:642:13 [INFO] [stdout] | [INFO] [stdout] 642 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 626 ~ match &receiver_t { Some(receiver_t) => { [INFO] [stdout] 627 | for (field, ty) in mod_ctx.context.fields(receiver_t) { [INFO] [stdout] ... [INFO] [stdout] 641 | } [INFO] [stdout] 642 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> completion.rs:689:16 [INFO] [stdout] | [INFO] [stdout] 689 | if let Some(comps) = self.comp_cache.get("") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> completion.rs:691:13 [INFO] [stdout] | [INFO] [stdout] 691 | } 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] 689 ~ match self.comp_cache.get("") { Some(comps) => { [INFO] [stdout] 690 | result.extend(comps.clone()); [INFO] [stdout] 691 ~ } _ => { [INFO] [stdout] 692 | let comps = module_completions(); [INFO] [stdout] 693 | self.comp_cache.insert("".into(), comps.clone()); [INFO] [stdout] 694 | result.extend(comps); [INFO] [stdout] 695 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> definition.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | } else if let Some(visitor) = self.get_visitor(uri) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> definition.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | } 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] 25 ~ } else { match self.get_visitor(uri) { Some(visitor) => { [INFO] [stdout] 26 | Ok(visitor.get_info(token)) [INFO] [stdout] 27 ~ } _ => { [INFO] [stdout] 28 | self.send_log("definition not found")?; [INFO] [stdout] 29 | Ok(None) [INFO] [stdout] 30 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> definition.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(token) = self.file_cache.get_symbol(uri, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> definition.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | } 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] 38 ~ match self.file_cache.get_symbol(uri, pos) { Some(token) => { [INFO] [stdout] 39 | if let Some(vi) = self.get_definition(uri, &token)? { [INFO] [stdout] ... [INFO] [stdout] 117 | } [INFO] [stdout] 118 ~ } _ => { [INFO] [stdout] 119 | self.send_log("lex error occurred")?; [INFO] [stdout] 120 | Ok(None) [INFO] [stdout] 121 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> definition.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | if let Some(vi) = self.get_definition(uri, &token)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^--------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> definition.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | } 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] 39 ~ match self.get_definition(uri, &token)? { Some(vi) => { [INFO] [stdout] 40 | // If the target variable is an imported one, jump to the definition file. [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] 115 ~ } _ => { [INFO] [stdout] 116 | Ok(None) [INFO] [stdout] 117 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> definition.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | if let Some(def) = self.get_min::(uri, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> definition.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 47 ~ match self.get_min::(uri, pos) { Some(def) => { [INFO] [stdout] 48 | if def.def_kind().is_import() { [INFO] [stdout] ... [INFO] [stdout] 102 | } [INFO] [stdout] 103 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> definition.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 76 | } else if let Some(Expr::Accessor(acc)) = def.body.block.last() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> definition.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 76 ~ } else { match def.body.block.last() { Some(Expr::Accessor(acc)) => { [INFO] [stdout] 77 | let vi = acc.var_info(); [INFO] [stdout] ... [INFO] [stdout] 101 | } [INFO] [stdout] 102 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> definition.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | ... if let Some(mod_uri) = [INFO] [stdout] | __________________________^ [INFO] [stdout] 50 | | ... vi.t.module_path() [INFO] [stdout] | | ---- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 51 | | ... .and_then(|path| Url::from_file_path(path).ok()) [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] --> definition.rs:57:29 [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] 49 ~ match vi.t.module_path() [INFO] [stdout] 50 | .and_then(|path| Url::from_file_path(path).ok()) [INFO] [stdout] 51 ~ { Some(mod_uri) => { [INFO] [stdout] 52 | return Ok(Some(lsp_types::Location::new( [INFO] [stdout] ... [INFO] [stdout] 55 | ))); [INFO] [stdout] 56 ~ } _ => { [INFO] [stdout] 57 | // line of module member definitions may no longer match after the desugaring process [INFO] [stdout] ... [INFO] [stdout] 73 | } [INFO] [stdout] 74 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> diagnostics.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | if let Ok(new) = self.build_ast(&dep) { [INFO] [stdout] | ^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> diagnostics.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | } 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] 76 ~ match self.build_ast(&dep) { Ok(new) => { [INFO] [stdout] 77 | if !ASTDiff::diff(old, &new).is_nop() { [INFO] [stdout] 78 | return ChangeKind::Valid; [INFO] [stdout] 79 | } [INFO] [stdout] 80 ~ } _ => { [INFO] [stdout] 81 | return ChangeKind::Invalid; [INFO] [stdout] 82 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> diagnostics.rs:215:20 [INFO] [stdout] | [INFO] [stdout] 215 | if let Some(new) = err.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] --> diagnostics.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | } 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] 215 ~ match err.ast { Some(new) => { [INFO] [stdout] 216 | new [INFO] [stdout] 217 ~ } _ => { [INFO] [stdout] 218 | return Ok(()); [INFO] [stdout] 219 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> diagnostics.rs:355:32 [INFO] [stdout] | [INFO] [stdout] 355 | ... if let Ok(code) = _self.file_cache.get_entire_code(&uri) { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> diagnostics.rs:358:29 [INFO] [stdout] | [INFO] [stdout] 358 | ... } [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 ~ match _self.file_cache.get_entire_code(&uri) { Ok(code) => { [INFO] [stdout] 356 | let _ = _self.check_file(uri.clone(), code); [INFO] [stdout] 357 | file_vers.insert(uri, latest_ver); [INFO] [stdout] 358 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> diagnostics.rs:380:20 [INFO] [stdout] | [INFO] [stdout] 380 | if let Ok(uri) = NormalizedUrl::from_file_path(entry.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] --> diagnostics.rs:382:17 [INFO] [stdout] | [INFO] [stdout] 382 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 380 ~ match NormalizedUrl::from_file_path(entry.path()) { Ok(uri) => { [INFO] [stdout] 381 | uris.push(uri); [INFO] [stdout] 382 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> diff.rs:109:24 [INFO] [stdout] | [INFO] [stdout] 109 | if let Some(name) = def.sig.name_as_str() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> diff.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 109 ~ match def.sig.name_as_str() { Some(name) => { [INFO] [stdout] 110 | lowerer.unregister(name); [INFO] [stdout] 111 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> diff.rs:140:20 [INFO] [stdout] | [INFO] [stdout] 140 | if let Some(old_expr) = old.module.get_mut(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] --> diff.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 140 ~ match old.module.get_mut(idx) { Some(old_expr) => { [INFO] [stdout] 141 | *old_expr = expr; [INFO] [stdout] 142 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | if let Some(ns) = self.get_exprs_ns(namespace.clone(), self.hir.module.iter(), pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | } 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] 115 ~ match self.get_exprs_ns(namespace.clone(), self.hir.module.iter(), pos) { Some(ns) => { [INFO] [stdout] 116 | ns [INFO] [stdout] 117 ~ } _ => { [INFO] [stdout] 118 | namespace [INFO] [stdout] 119 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:170:16 [INFO] [stdout] | [INFO] [stdout] 170 | if let Some(ns) = self.get_expr_ns(cur_ns.clone(), expr, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 170 ~ match self.get_expr_ns(cur_ns.clone(), expr, pos) { Some(ns) => { [INFO] [stdout] 171 | namespaces.push(ns); [INFO] [stdout] 172 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:343:16 [INFO] [stdout] | [INFO] [stdout] 343 | if let Some(expr) = self.get_expr(&arg.expr, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 345 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 343 ~ match self.get_expr(&arg.expr, pos) { Some(expr) => { [INFO] [stdout] 344 | return Some(expr); [INFO] [stdout] 345 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:348:16 [INFO] [stdout] | [INFO] [stdout] 348 | if let Some(expr) = self.get_expr(&var.expr, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:350:13 [INFO] [stdout] | [INFO] [stdout] 350 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 348 ~ match self.get_expr(&var.expr, pos) { Some(expr) => { [INFO] [stdout] 349 | return Some(expr); [INFO] [stdout] 350 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:353:16 [INFO] [stdout] | [INFO] [stdout] 353 | if let Some(expr) = self.get_expr(&arg.expr, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:355:13 [INFO] [stdout] | [INFO] [stdout] 355 | } [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 ~ match self.get_expr(&arg.expr, pos) { Some(expr) => { [INFO] [stdout] 354 | return Some(expr); [INFO] [stdout] 355 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:477:24 [INFO] [stdout] | [INFO] [stdout] 477 | if let Some(expr) = self [INFO] [stdout] | ________________________^ [INFO] [stdout] 478 | | .get_expr(&kv.key, pos) [INFO] [stdout] | | ------ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 479 | | .or_else(|| self.get_expr(&kv.value, pos)) [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] --> hir_visitor.rs:482:21 [INFO] [stdout] | [INFO] [stdout] 482 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 477 ~ match self [INFO] [stdout] 478 | .get_expr(&kv.key, pos) [INFO] [stdout] 479 | .or_else(|| self.get_expr(&kv.value, pos)) [INFO] [stdout] 480 ~ { Some(expr) => { [INFO] [stdout] 481 | return Some(expr); [INFO] [stdout] 482 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:501:16 [INFO] [stdout] | [INFO] [stdout] 501 | if let Some(expr) = self.get_expr_from_block(field.body.block.iter(), pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 501 ~ match self.get_expr_from_block(field.body.block.iter(), pos) { Some(expr) => { [INFO] [stdout] 502 | return Some(expr); [INFO] [stdout] 503 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:559:16 [INFO] [stdout] | [INFO] [stdout] 559 | if let Some(expr) = self.get_expr_info(chunk, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:561:13 [INFO] [stdout] | [INFO] [stdout] 561 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 559 ~ match self.get_expr_info(chunk, token) { Some(expr) => { [INFO] [stdout] 560 | return Some(expr); [INFO] [stdout] 561 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:626:16 [INFO] [stdout] | [INFO] [stdout] 626 | if let Some(t) = self.return_var_info_if_same(attr, attr.raw.name.token(), token) { [INFO] [stdout] | ^^^^^^^^^^^^^^---------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:628:13 [INFO] [stdout] | [INFO] [stdout] 628 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 626 ~ match self.return_var_info_if_same(attr, attr.raw.name.token(), token) { Some(t) => { [INFO] [stdout] 627 | return Some(t); [INFO] [stdout] 628 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:636:16 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(vi) = self.get_expr_info(&arg.expr, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:638:13 [INFO] [stdout] | [INFO] [stdout] 638 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 636 ~ match self.get_expr_info(&arg.expr, token) { Some(vi) => { [INFO] [stdout] 637 | return Some(vi); [INFO] [stdout] 638 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:641:16 [INFO] [stdout] | [INFO] [stdout] 641 | if let Some(vi) = self.get_expr_info(&var.expr, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | } [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 self.get_expr_info(&var.expr, token) { Some(vi) => { [INFO] [stdout] 642 | return Some(vi); [INFO] [stdout] 643 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:646:16 [INFO] [stdout] | [INFO] [stdout] 646 | if let Some(vi) = self.get_expr_info(&arg.expr, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:648:13 [INFO] [stdout] | [INFO] [stdout] 648 | } [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.get_expr_info(&arg.expr, token) { Some(vi) => { [INFO] [stdout] 647 | return Some(vi); [INFO] [stdout] 648 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:676:16 [INFO] [stdout] | [INFO] [stdout] 676 | if let Some(vi) = param [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_______________________________| [INFO] [stdout] 677 | || .t_spec_as_expr [INFO] [stdout] 678 | || .as_ref() [INFO] [stdout] 679 | || .and_then(|t_spec| self.get_expr_info(t_spec, token)) [INFO] [stdout] | ||_____________________________________________________________________^ 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] --> hir_visitor.rs:682:13 [INFO] [stdout] | [INFO] [stdout] 682 | } else if param.raw.pat.loc() == token.loc() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 676 ~ match param [INFO] [stdout] 677 | .t_spec_as_expr [INFO] [stdout] 678 | .as_ref() [INFO] [stdout] 679 | .and_then(|t_spec| self.get_expr_info(t_spec, token)) [INFO] [stdout] 680 ~ { Some(vi) => { [INFO] [stdout] 681 | return Some(vi); [INFO] [stdout] 682 ~ } _ => if param.raw.pat.loc() == token.loc() { [INFO] [stdout] 683 | return Some(param.vi.clone()); [INFO] [stdout] 684 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:687:16 [INFO] [stdout] | [INFO] [stdout] 687 | if let Some(vi) = var [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_______________________________| [INFO] [stdout] 688 | || .t_spec_as_expr [INFO] [stdout] 689 | || .as_ref() [INFO] [stdout] 690 | || .and_then(|t_spec| self.get_expr_info(t_spec, token)) [INFO] [stdout] | ||_____________________________________________________________________^ 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] --> hir_visitor.rs:693:13 [INFO] [stdout] | [INFO] [stdout] 693 | } else if var.raw.pat.loc() == token.loc() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 687 ~ match var [INFO] [stdout] 688 | .t_spec_as_expr [INFO] [stdout] 689 | .as_ref() [INFO] [stdout] 690 | .and_then(|t_spec| self.get_expr_info(t_spec, token)) [INFO] [stdout] 691 ~ { Some(vi) => { [INFO] [stdout] 692 | return Some(vi); [INFO] [stdout] 693 ~ } _ => if var.raw.pat.loc() == token.loc() { [INFO] [stdout] 694 | return Some(var.vi.clone()); [INFO] [stdout] 695 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:698:16 [INFO] [stdout] | [INFO] [stdout] 698 | if let Some(vi) = self.get_expr_info(¶m.default_val, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^--------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 699 | return Some(vi); [INFO] [stdout] 700 | } else if let Some(vi) = param [INFO] [stdout] | ______________________________________- [INFO] [stdout] 701 | | .sig [INFO] [stdout] 702 | | .t_spec_as_expr [INFO] [stdout] 703 | | .as_ref() [INFO] [stdout] 704 | | .and_then(|t_spec| self.get_expr_info(t_spec, token)) [INFO] [stdout] | |_____________________________________________________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:700:13 [INFO] [stdout] | [INFO] [stdout] 700 | } else if let Some(vi) = param [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:707:13 [INFO] [stdout] | [INFO] [stdout] 707 | } else if param.sig.raw.pat.loc() == token.loc() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 698 ~ match self.get_expr_info(¶m.default_val, token) { Some(vi) => { [INFO] [stdout] 699 | return Some(vi); [INFO] [stdout] 700 ~ } _ => { match param [INFO] [stdout] 701 | .sig [INFO] [stdout] ... [INFO] [stdout] 704 | .and_then(|t_spec| self.get_expr_info(t_spec, token)) [INFO] [stdout] 705 ~ { Some(vi) => { [INFO] [stdout] 706 | return Some(vi); [INFO] [stdout] 707 ~ } _ => if param.sig.raw.pat.loc() == token.loc() { [INFO] [stdout] 708 | return Some(param.sig.vi.clone()); [INFO] [stdout] 709 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:713:20 [INFO] [stdout] | [INFO] [stdout] 713 | if let Some(vi) = self.get_def_info(bind, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:715:17 [INFO] [stdout] | [INFO] [stdout] 715 | } [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 ~ match self.get_def_info(bind, token) { Some(vi) => { [INFO] [stdout] 714 | return Some(vi); [INFO] [stdout] 715 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:747:16 [INFO] [stdout] | [INFO] [stdout] 747 | if let Some(expr) = self.get_expr_info(chunk, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:749:13 [INFO] [stdout] | [INFO] [stdout] 749 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 747 ~ match self.get_expr_info(chunk, token) { Some(expr) => { [INFO] [stdout] 748 | return Some(expr); [INFO] [stdout] 749 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:761:16 [INFO] [stdout] | [INFO] [stdout] 761 | if let Some(expr) = self.get_expr_info(chunk, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:763:13 [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] 761 ~ match self.get_expr_info(chunk, token) { Some(expr) => { [INFO] [stdout] 762 | return Some(expr); [INFO] [stdout] 763 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:784:24 [INFO] [stdout] | [INFO] [stdout] 784 | if let Some(expr) = self.get_expr_info(&kv.key, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 785 | return Some(expr); [INFO] [stdout] 786 | } else if let Some(expr) = self.get_expr_info(&kv.value, token) { [INFO] [stdout] | ------------------------------------ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:786:21 [INFO] [stdout] | [INFO] [stdout] 786 | } else if let Some(expr) = self.get_expr_info(&kv.value, token) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:788:21 [INFO] [stdout] | [INFO] [stdout] 788 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 784 ~ match self.get_expr_info(&kv.key, token) { Some(expr) => { [INFO] [stdout] 785 | return Some(expr); [INFO] [stdout] 786 ~ } _ => { match self.get_expr_info(&kv.value, token) { Some(expr) => { [INFO] [stdout] 787 | return Some(expr); [INFO] [stdout] 788 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:798:16 [INFO] [stdout] | [INFO] [stdout] 798 | if let Some(expr) = self.get_def_info(field, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:800:13 [INFO] [stdout] | [INFO] [stdout] 800 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 798 ~ match self.get_def_info(field, token) { Some(expr) => { [INFO] [stdout] 799 | return Some(expr); [INFO] [stdout] 800 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hover.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 88 | let opt_token = if let Some(token) = opt_tok { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hover.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | } 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] 88 ~ let opt_token = match opt_tok { Some(token) => { [INFO] [stdout] 89 | match token.category() { [INFO] [stdout] ... [INFO] [stdout] 96 | } [INFO] [stdout] 97 ~ } _ => { [INFO] [stdout] 98 | None [INFO] [stdout] 99 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hover.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(token) = opt_token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hover.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | } 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] 100 ~ match opt_token { Some(token) => { [INFO] [stdout] 101 | match self.get_definition(&uri, &token)? { [INFO] [stdout] ... [INFO] [stdout] 177 | } [INFO] [stdout] 178 ~ } _ => { [INFO] [stdout] 179 | self.send_log("lex error")?; [INFO] [stdout] 180 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hover.rs:167:24 [INFO] [stdout] | [INFO] [stdout] 167 | if let Some(visitor) = self.get_visitor(&uri) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hover.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 175 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 167 ~ match self.get_visitor(&uri) { Some(visitor) => { [INFO] [stdout] 168 | if let Some(typ) = visitor.get_min_expr(pos) { [INFO] [stdout] ... [INFO] [stdout] 174 | } [INFO] [stdout] 175 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hover.rs:168:28 [INFO] [stdout] | [INFO] [stdout] 168 | if let Some(typ) = visitor.get_min_expr(pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hover.rs:174:25 [INFO] [stdout] | [INFO] [stdout] 174 | } [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 ~ match visitor.get_min_expr(pos) { Some(typ) => { [INFO] [stdout] 169 | let typ = MarkedString::from_language_code( [INFO] [stdout] ... [INFO] [stdout] 173 | contents.push(typ); [INFO] [stdout] 174 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hover.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | if let Some((_, vi)) = module.context.get_type_info(&inner_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] --> hover.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 213 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 200 ~ match module.context.get_type_info(&inner_t) { Some((_, vi)) => { [INFO] [stdout] 201 | if let Some(url) = vi [INFO] [stdout] ... [INFO] [stdout] 212 | } [INFO] [stdout] 213 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> implementation.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(location) = self.get_definition_location(&uri, pos)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> implementation.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 33 ~ match self.get_definition_location(&uri, pos)? { Some(location) => { [INFO] [stdout] 34 | return Ok(Some(GotoImplementationResponse::Scalar(location))); [INFO] [stdout] 35 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> inlay_hint.rs:191:20 [INFO] [stdout] | [INFO] [stdout] 191 | if let Some((ln, col)) = subr.params.ln_begin().zip(subr.params.col_begin()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> inlay_hint.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | } [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 subr.params.ln_begin().zip(subr.params.col_begin()) { Some((ln, col)) => { [INFO] [stdout] 192 | let hint = self.anot(ln, col, "(".to_string()); [INFO] [stdout] 193 | result.push(hint); [INFO] [stdout] 194 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> inlay_hint.rs:204:16 [INFO] [stdout] | [INFO] [stdout] 204 | if let Some((ln, col)) = def.sig.ln_begin().zip(def.sig.col_end()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> inlay_hint.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 204 ~ match def.sig.ln_begin().zip(def.sig.col_end()) { Some((ln, col)) => { [INFO] [stdout] 205 | let hint = self.type_anot(ln, col, def.sig.ident().ref_t(), false); [INFO] [stdout] 206 | result.push(hint); [INFO] [stdout] 207 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> inlay_hint.rs:217:16 [INFO] [stdout] | [INFO] [stdout] 217 | if let Some((ln, col)) = lambda.params.ln_begin().zip(lambda.params.col_begin()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> inlay_hint.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 217 ~ match lambda.params.ln_begin().zip(lambda.params.col_begin()) { Some((ln, col)) => { [INFO] [stdout] 218 | let hint = self.anot(ln, col, "(".to_string()); [INFO] [stdout] 219 | result.push(hint); [INFO] [stdout] 220 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> inlay_hint.rs:262:16 [INFO] [stdout] | [INFO] [stdout] 262 | if let Some(name) = param_ts.clone().nth(index).and_then(|pt| pt.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] --> inlay_hint.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 262 ~ match param_ts.clone().nth(index).and_then(|pt| pt.name()) { Some(name) => { [INFO] [stdout] 263 | if name.starts_with(['%']) { [INFO] [stdout] ... [INFO] [stdout] 284 | result.push(hint); [INFO] [stdout] 285 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> inlay_hint.rs:330:16 [INFO] [stdout] | [INFO] [stdout] 330 | if let Some(module) = self.get_mod_ctx(&uri) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> inlay_hint.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 345 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 330 ~ match self.get_mod_ctx(&uri) { Some(module) => { [INFO] [stdout] 331 | let InlayHintLabel::String(label) = &hint.label else { [INFO] [stdout] ... [INFO] [stdout] 344 | } [INFO] [stdout] 345 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> inlay_hint.rs:335:20 [INFO] [stdout] | [INFO] [stdout] 335 | if let Some((_, vi)) = module.context.get_type_info_by_str(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] --> inlay_hint.rs:344:17 [INFO] [stdout] | [INFO] [stdout] 344 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 335 ~ match module.context.get_type_info_by_str(name) { Some((_, vi)) => { [INFO] [stdout] 336 | let location = abs_loc_to_lsp_loc(&vi.def_loc); [INFO] [stdout] ... [INFO] [stdout] 343 | hint.label = InlayHintLabel::LabelParts(vec![parts]); [INFO] [stdout] 344 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> references.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | if let Some(visitor) = self.get_visitor(uri) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> references.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 25 ~ match self.get_visitor(uri) { Some(visitor) => { [INFO] [stdout] 26 | if let Some(vi) = visitor.get_info(&tok) { [INFO] [stdout] 27 | return self.get_refs_from_abs_loc(&vi.def_loc); [INFO] [stdout] 28 | } [INFO] [stdout] 29 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> references.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | if let Some(vi) = visitor.get_info(&tok) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> references.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 26 ~ match visitor.get_info(&tok) { Some(vi) => { [INFO] [stdout] 27 | return self.get_refs_from_abs_loc(&vi.def_loc); [INFO] [stdout] 28 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> rename.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(vi) = self [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_______________________________| [INFO] [stdout] 39 | || .get_visitor(&uri) [INFO] [stdout] 40 | || .and_then(|visitor| visitor.get_info(&tok)) [INFO] [stdout] | ||___________________________________________________________^ 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] --> rename.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 38 ~ match self [INFO] [stdout] 39 | .get_visitor(&uri) [INFO] [stdout] 40 | .and_then(|visitor| visitor.get_info(&tok)) [INFO] [stdout] 41 ~ { Some(vi) => { [INFO] [stdout] 42 | let mut changes: HashMap> = HashMap::new(); [INFO] [stdout] ... [INFO] [stdout] 105 | return Ok(()); [INFO] [stdout] 106 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> scheduler.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | if let Some(idx) = self.executing.borrow().iter().find(|task| task.id == 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] --> scheduler.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | } 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] 140 ~ match self.executing.borrow().iter().find(|task| task.id == id) { Some(idx) => { [INFO] [stdout] 141 | Some(*idx) [INFO] [stdout] 142 ~ } _ => { [INFO] [stdout] 143 | let task = self [INFO] [stdout] ... [INFO] [stdout] 169 | Some(task) [INFO] [stdout] 170 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> server.rs:312:20 [INFO] [stdout] | [INFO] [stdout] 312 | if let Some(ast::Expr::Literal(lit)) = path.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] --> server.rs:314:17 [INFO] [stdout] | [INFO] [stdout] 314 | } 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] 312 ~ match path.body.block.first() { Some(ast::Expr::Literal(lit)) => { [INFO] [stdout] 313 | Some(lit.token.content.replace('\"', "")) [INFO] [stdout] 314 ~ } _ => { [INFO] [stdout] 315 | None [INFO] [stdout] 316 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> server.rs:344:20 [INFO] [stdout] | [INFO] [stdout] 344 | if let Err(err) = _self.dispatch(msg) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> server.rs:349:17 [INFO] [stdout] | [INFO] [stdout] 349 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 344 ~ match _self.dispatch(msg) { Err(err) => { [INFO] [stdout] 345 | lsp_log!("error: {err}"); [INFO] [stdout] ... [INFO] [stdout] 348 | }; [INFO] [stdout] 349 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> server.rs:371:28 [INFO] [stdout] | [INFO] [stdout] 371 | if let Err(err) = _self.dispatch(msg) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> server.rs:376:25 [INFO] [stdout] | [INFO] [stdout] 376 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 371 ~ match _self.dispatch(msg) { Err(err) => { [INFO] [stdout] 372 | lsp_log!("error: {err}"); [INFO] [stdout] ... [INFO] [stdout] 375 | }; [INFO] [stdout] 376 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> server.rs:1029:24 [INFO] [stdout] | [INFO] [stdout] 1029 | if let Some(ctx) = mod_ctx.scope.get(&ns[..]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> server.rs:1031:21 [INFO] [stdout] | [INFO] [stdout] 1031 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1029 ~ match mod_ctx.scope.get(&ns[..]) { Some(ctx) => { [INFO] [stdout] 1030 | ctxs.push(ctx); [INFO] [stdout] 1031 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> server.rs:1092:12 [INFO] [stdout] | [INFO] [stdout] 1092 | if let Some(token) = maybe_token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> server.rs:1119:9 [INFO] [stdout] | [INFO] [stdout] 1119 | } 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 maybe_token { Some(token) => { [INFO] [stdout] 1093 | // _log!(self, "token: {token}"); [INFO] [stdout] ... [INFO] [stdout] 1118 | Ok((expr, ctxs)) [INFO] [stdout] 1119 ~ } _ => { [INFO] [stdout] 1120 | self.send_log("token not found")?; [INFO] [stdout] 1121 | Ok((None, vec![])) [INFO] [stdout] 1122 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> server.rs:1095:27 [INFO] [stdout] | [INFO] [stdout] 1095 | let expr = if let Some(visitor) = self.get_visitor(uri) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> server.rs:1115:13 [INFO] [stdout] | [INFO] [stdout] 1115 | } 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] 1095 ~ let expr = match self.get_visitor(uri) { Some(visitor) => { [INFO] [stdout] 1096 | if let Some(expr) = [INFO] [stdout] ... [INFO] [stdout] 1114 | } [INFO] [stdout] 1115 ~ } _ => { [INFO] [stdout] 1116 | None [INFO] [stdout] 1117 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> server.rs:1096:20 [INFO] [stdout] | [INFO] [stdout] 1096 | if let Some(expr) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 1097 | | loc_to_pos(token.loc()).and_then(|pos| visitor.get_min_expr(pos)) [INFO] [stdout] | |________________________________-----________________________________________________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> server.rs:1111:17 [INFO] [stdout] | [INFO] [stdout] 1111 | } 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] 1096 ~ match loc_to_pos(token.loc()).and_then(|pos| visitor.get_min_expr(pos)) [INFO] [stdout] 1097 ~ { Some(expr) => { [INFO] [stdout] 1098 | let type_ctxs = module [INFO] [stdout] ... [INFO] [stdout] 1109 | Some(expr.t()) [INFO] [stdout] 1110 ~ } _ => { [INFO] [stdout] 1111 | _log!(self, "expr not found: {token}"); [INFO] [stdout] 1112 | None [INFO] [stdout] 1113 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> sig_help.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | if let Some(expr) = visitor.get_min_expr(loc_to_pos(token.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] --> sig_help.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 89 ~ match visitor.get_min_expr(loc_to_pos(token.loc())?) { Some(expr) => { [INFO] [stdout] 90 | return Some((token, expr.clone())); [INFO] [stdout] 91 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> sig_help.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | if let Some(token) = self.file_cache.get_token(uri, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> sig_help.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | } 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] 143 ~ match self.file_cache.get_token(uri, pos) { Some(token) => { [INFO] [stdout] 144 | crate::_log!(self, "token: {token}"); [INFO] [stdout] ... [INFO] [stdout] 153 | } [INFO] [stdout] 154 ~ } _ => { [INFO] [stdout] 155 | crate::_log!(self, "failed to get the token"); [INFO] [stdout] 156 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> sig_help.rs:145:16 [INFO] [stdout] | [INFO] [stdout] 145 | if let Some(call) = self.get_min::(uri, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> sig_help.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | } 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] 145 ~ match self.get_min::(uri, pos) { Some(call) => { [INFO] [stdout] 146 | if call.ln_begin() > token.ln_begin() || call.ln_end() < token.ln_end() { [INFO] [stdout] ... [INFO] [stdout] 150 | return self.make_sig_help(call.obj.as_ref(), nth); [INFO] [stdout] 151 ~ } _ => { [INFO] [stdout] 152 | crate::_log!(self, "failed to get the call"); [INFO] [stdout] 153 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> sig_help.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | if let Some((_token, Expr::Accessor(acc))) = self.get_min_expr(uri, pos, -2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> sig_help.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | } 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] 161 ~ match self.get_min_expr(uri, pos, -2) { Some((_token, Expr::Accessor(acc))) => { [INFO] [stdout] 162 | return self.make_sig_help(&acc, 0); [INFO] [stdout] 163 ~ } _ => { [INFO] [stdout] 164 | crate::_log!(self, "lex error occurred"); [INFO] [stdout] 165 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> sig_help.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | if let Some(call) = self.get_min::(uri, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> sig_help.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | } 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] 170 ~ match self.get_min::(uri, pos) { Some(call) => { [INFO] [stdout] 171 | let nth = self.nth(uri, &call, pos) as u32 + 1; [INFO] [stdout] 172 | let help = self.make_sig_help(call.obj.as_ref(), nth); [INFO] [stdout] 173 | return help; [INFO] [stdout] 174 ~ } _ => { [INFO] [stdout] 175 | crate::_log!(self, "failed to get continuous help"); [INFO] [stdout] 176 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 91 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `els` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * diagnostics.rs [INFO] [stderr] * hir_visitor.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] --> diagnostics.rs:395:22 [INFO] [stderr] | [INFO] [stderr] 395 | ($token: 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] --> diagnostics.rs:413:22 [INFO] [stderr] | [INFO] [stderr] 413 | ($token: expr_2021, $uris: 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] --> diagnostics.rs:413:41 [INFO] [stderr] | [INFO] [stderr] 413 | ($token: expr_2021, $uris: 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] --> hir_visitor.rs:244:92 [INFO] [stderr] | [INFO] [stderr] 244 | fn return_expr_if_same<'e>(&'e self, expr: &'e Expr, l: &Token, r: Position) -> Option<&Expr> { [INFO] [stderr] | -- lifetime `'e` declared here ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:260:17 [INFO] [stderr] | [INFO] [stderr] 255 | fn return_expr_if_contains<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 260 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:298:17 [INFO] [stderr] | [INFO] [stderr] 293 | fn get_expr_from_acc<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 298 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:312:17 [INFO] [stderr] | [INFO] [stderr] 307 | fn get_expr_from_bin<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 312 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:325:17 [INFO] [stderr] | [INFO] [stderr] 320 | fn get_expr_from_call<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 325 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:341:82 [INFO] [stderr] | [INFO] [stderr] 341 | fn get_expr_from_args<'e>(&'e self, args: &'e Args, pos: Position) -> Option<&Expr> { [INFO] [stderr] | -- lifetime `'e` declared here ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:365:17 [INFO] [stderr] | [INFO] [stderr] 360 | fn get_expr_from_def<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 365 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:381:17 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> inlay_hint.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | let gen = InlayHintGenerator { [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] [stderr] 376 | fn get_expr_from_class_def<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 381 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:394:17 [INFO] [stderr] | [INFO] [stderr] 390 | fn get_expr_from_block<'e>( [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> inlay_hint.rs:315:31 [INFO] [stdout] | [INFO] [stdout] 315 | result.extend(gen.get_expr_hint(chunk)); [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 `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 394 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:408:17 [INFO] [stderr] | [INFO] [stderr] 403 | fn get_expr_from_redef<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 408 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:413:85 [INFO] [stderr] | [INFO] [stderr] 413 | fn get_expr_from_dummy<'e>(&'e self, dummy: &'e Dummy, pos: Position) -> Option<&Expr> { [INFO] [stderr] | -- lifetime `'e` declared here ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:427:17 [INFO] [stderr] | [INFO] [stderr] 422 | fn get_expr_from_patch_def<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 427 | ) -> Option<&Expr> { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> diagnostics.rs:395:30 [INFO] [stdout] | [INFO] [stdout] 395 | ($token: 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] 395 | ($token: expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:439:17 [INFO] [stderr] | [INFO] [stderr] 434 | fn get_expr_from_lambda<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 439 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:453:17 [INFO] [stderr] | [INFO] [stderr] 448 | fn get_expr_from_list<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 453 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> diagnostics.rs:413:30 [INFO] [stdout] | [INFO] [stdout] 413 | ($token: expr, $uris: 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] 413 | ($token: expr_2021, $uris: expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> diagnostics.rs:413:43 [INFO] [stdout] | [INFO] [stdout] 413 | ($token: expr, $uris: 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] 413 | ($token: expr, $uris: expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:244:92 [INFO] [stdout] | [INFO] [stdout] 244 | fn return_expr_if_same<'e>(&'e self, expr: &'e Expr, l: &Token, r: Position) -> Option<&Expr> { [INFO] [stdout] | -- lifetime `'e` declared here ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> hir_visitor.rs:469:17 [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 255 | fn return_expr_if_contains<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 260 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 293 | fn get_expr_from_acc<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 298 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 464 | fn get_expr_from_dict<'e>( [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:312:17 [INFO] [stdout] | [INFO] [stdout] 307 | fn get_expr_from_bin<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 312 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:325:17 [INFO] [stdout] | [INFO] [stdout] 320 | fn get_expr_from_call<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 325 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] ... [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:341:82 [INFO] [stdout] | [INFO] [stdout] 341 | fn get_expr_from_args<'e>(&'e self, args: &'e Args, pos: Position) -> Option<&Expr> { [INFO] [stdout] | -- lifetime `'e` declared here ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 469 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:495:17 [INFO] [stderr] | [INFO] [stderr] 490 | fn get_expr_from_record<'e>( [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:365:17 [INFO] [stdout] | [INFO] [stdout] 360 | fn get_expr_from_def<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 365 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 495 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:513:17 [INFO] [stderr] | [INFO] [stderr] 508 | fn get_expr_from_set<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 513 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 376 | fn get_expr_from_class_def<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 381 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> hir_visitor.rs:529:17 [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:394:17 [INFO] [stdout] | [INFO] [stdout] 390 | fn get_expr_from_block<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 394 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 524 | fn get_expr_from_tuple<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 529 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> hir_visitor.rs:548:17 [INFO] [stderr] | [INFO] [stderr] 543 | fn get_expr_from_type_asc<'e>( [INFO] [stderr] | -- lifetime `'e` declared here [INFO] [stderr] ... [INFO] [stderr] 548 | ) -> Option<&Expr> { [INFO] [stderr] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 403 | fn get_expr_from_redef<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 408 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 19 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: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:413:85 [INFO] [stdout] | [INFO] [stdout] 413 | fn get_expr_from_dummy<'e>(&'e self, dummy: &'e Dummy, pos: Position) -> Option<&Expr> { [INFO] [stdout] | -- lifetime `'e` declared here ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:427:17 [INFO] [stdout] | [INFO] [stdout] 422 | fn get_expr_from_patch_def<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 427 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:439:17 [INFO] [stdout] | [INFO] [stdout] 434 | fn get_expr_from_lambda<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 439 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:453:17 [INFO] [stdout] | [INFO] [stdout] 448 | fn get_expr_from_list<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 453 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:469:17 [INFO] [stdout] | [INFO] [stdout] 464 | fn get_expr_from_dict<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 469 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:495:17 [INFO] [stdout] | [INFO] [stdout] 490 | fn get_expr_from_record<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 495 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:513:17 [INFO] [stdout] | [INFO] [stdout] 508 | fn get_expr_from_set<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 513 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:529:17 [INFO] [stdout] | [INFO] [stdout] 524 | fn get_expr_from_tuple<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 529 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:548:17 [INFO] [stdout] | [INFO] [stdout] 543 | fn get_expr_from_type_asc<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 548 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> call_hierarchy.rs:57:20 [INFO] [stdout] | [INFO] [stdout] 57 | if let Some(def) = self.get_min::(&uri, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> call_hierarchy.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | } [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] 57 ~ match self.get_min::(&uri, pos) { Some(def) => { [INFO] [stdout] 58 | if def.sig.is_subr() { [INFO] [stdout] ... [INFO] [stdout] 69 | } [INFO] [stdout] 70 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> call_hierarchy.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | if let Some(attr) = call.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] 127 | } else if let Expr::Accessor(acc) = call.obj.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] --> call_hierarchy.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | } else if let Expr::Accessor(acc) = call.obj.as_ref() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> call_hierarchy.rs:137:17 [INFO] [stdout] | [INFO] [stdout] 137 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 118 ~ match call.attr_name.as_ref() { Some(attr) => { [INFO] [stdout] 119 | let Some(to) = hierarchy_item(attr.inspect().to_string(), &attr.vi) else { [INFO] [stdout] ... [INFO] [stdout] 126 | calls.push(call); [INFO] [stdout] 127 ~ } _ => { match call.obj.as_ref() { Expr::Accessor(acc) => { [INFO] [stdout] 128 | let Some(to) = hierarchy_item(acc.last_name().to_string(), acc.var_info()) [INFO] [stdout] ... [INFO] [stdout] 136 | calls.push(call); [INFO] [stdout] 137 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> call_hierarchy.rs:200:16 [INFO] [stdout] | [INFO] [stdout] 200 | if let Some(vi) = self.get_definition(&uri, &token)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> call_hierarchy.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] 200 ~ match self.get_definition(&uri, &token)? { Some(vi) => { [INFO] [stdout] 201 | let Some(item) = hierarchy_item(token.content.to_string(), &vi) else { [INFO] [stdout] ... [INFO] [stdout] 204 | res.push(item); [INFO] [stdout] 205 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> code_action.rs:364:20 [INFO] [stdout] | [INFO] [stdout] 364 | if let Some(Expr::Def(def)) = visitor.get_min_expr(range.start) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> code_action.rs:366:17 [INFO] [stdout] | [INFO] [stdout] 366 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 364 ~ match visitor.get_min_expr(range.start) { Some(Expr::Def(def)) => { [INFO] [stdout] 365 | action.edit = Some(WorkspaceEdit::new(self.inline_var_def(def))); [INFO] [stdout] 366 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> completion.rs:464:16 [INFO] [stdout] | [INFO] [stdout] 464 | if let Some(comps) = self.cache.borrow_mut().get_mut(&k) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> completion.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | } 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] 464 ~ match self.cache.borrow_mut().get_mut(&k) { Some(comps) => { [INFO] [stdout] 465 | comps.extend(v); [INFO] [stdout] 466 ~ } _ => { [INFO] [stdout] 467 | self.cache.borrow_mut().insert(k, v); [INFO] [stdout] 468 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> completion.rs:626:16 [INFO] [stdout] | [INFO] [stdout] 626 | if let Some(receiver_t) = &receiver_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] --> completion.rs:642:13 [INFO] [stdout] | [INFO] [stdout] 642 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 626 ~ match &receiver_t { Some(receiver_t) => { [INFO] [stdout] 627 | for (field, ty) in mod_ctx.context.fields(receiver_t) { [INFO] [stdout] ... [INFO] [stdout] 641 | } [INFO] [stdout] 642 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> completion.rs:689:16 [INFO] [stdout] | [INFO] [stdout] 689 | if let Some(comps) = self.comp_cache.get("") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> completion.rs:691:13 [INFO] [stdout] | [INFO] [stdout] 691 | } 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] 689 ~ match self.comp_cache.get("") { Some(comps) => { [INFO] [stdout] 690 | result.extend(comps.clone()); [INFO] [stdout] 691 ~ } _ => { [INFO] [stdout] 692 | let comps = module_completions(); [INFO] [stdout] 693 | self.comp_cache.insert("".into(), comps.clone()); [INFO] [stdout] 694 | result.extend(comps); [INFO] [stdout] 695 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> definition.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | } else if let Some(visitor) = self.get_visitor(uri) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> definition.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | } 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] 25 ~ } else { match self.get_visitor(uri) { Some(visitor) => { [INFO] [stdout] 26 | Ok(visitor.get_info(token)) [INFO] [stdout] 27 ~ } _ => { [INFO] [stdout] 28 | self.send_log("definition not found")?; [INFO] [stdout] 29 | Ok(None) [INFO] [stdout] 30 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> definition.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(token) = self.file_cache.get_symbol(uri, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> definition.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | } 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] 38 ~ match self.file_cache.get_symbol(uri, pos) { Some(token) => { [INFO] [stdout] 39 | if let Some(vi) = self.get_definition(uri, &token)? { [INFO] [stdout] ... [INFO] [stdout] 117 | } [INFO] [stdout] 118 ~ } _ => { [INFO] [stdout] 119 | self.send_log("lex error occurred")?; [INFO] [stdout] 120 | Ok(None) [INFO] [stdout] 121 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> definition.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | if let Some(vi) = self.get_definition(uri, &token)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^--------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> definition.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | } 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] 39 ~ match self.get_definition(uri, &token)? { Some(vi) => { [INFO] [stdout] 40 | // If the target variable is an imported one, jump to the definition file. [INFO] [stdout] ... [INFO] [stdout] 114 | } [INFO] [stdout] 115 ~ } _ => { [INFO] [stdout] 116 | Ok(None) [INFO] [stdout] 117 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> definition.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | if let Some(def) = self.get_min::(uri, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> definition.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 47 ~ match self.get_min::(uri, pos) { Some(def) => { [INFO] [stdout] 48 | if def.def_kind().is_import() { [INFO] [stdout] ... [INFO] [stdout] 102 | } [INFO] [stdout] 103 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> definition.rs:76:35 [INFO] [stdout] | [INFO] [stdout] 76 | } else if let Some(Expr::Accessor(acc)) = def.body.block.last() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> definition.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 76 ~ } else { match def.body.block.last() { Some(Expr::Accessor(acc)) => { [INFO] [stdout] 77 | let vi = acc.var_info(); [INFO] [stdout] ... [INFO] [stdout] 101 | } [INFO] [stdout] 102 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> definition.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | ... if let Some(mod_uri) = [INFO] [stdout] | __________________________^ [INFO] [stdout] 50 | | ... vi.t.module_path() [INFO] [stdout] | | ---- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 51 | | ... .and_then(|path| Url::from_file_path(path).ok()) [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] --> definition.rs:57:29 [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] 49 ~ match vi.t.module_path() [INFO] [stdout] 50 | .and_then(|path| Url::from_file_path(path).ok()) [INFO] [stdout] 51 ~ { Some(mod_uri) => { [INFO] [stdout] 52 | return Ok(Some(lsp_types::Location::new( [INFO] [stdout] ... [INFO] [stdout] 55 | ))); [INFO] [stdout] 56 ~ } _ => { [INFO] [stdout] 57 | // line of module member definitions may no longer match after the desugaring process [INFO] [stdout] ... [INFO] [stdout] 73 | } [INFO] [stdout] 74 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> diagnostics.rs:76:16 [INFO] [stdout] | [INFO] [stdout] 76 | if let Ok(new) = self.build_ast(&dep) { [INFO] [stdout] | ^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> diagnostics.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | } 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] 76 ~ match self.build_ast(&dep) { Ok(new) => { [INFO] [stdout] 77 | if !ASTDiff::diff(old, &new).is_nop() { [INFO] [stdout] 78 | return ChangeKind::Valid; [INFO] [stdout] 79 | } [INFO] [stdout] 80 ~ } _ => { [INFO] [stdout] 81 | return ChangeKind::Invalid; [INFO] [stdout] 82 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> diagnostics.rs:215:20 [INFO] [stdout] | [INFO] [stdout] 215 | if let Some(new) = err.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] --> diagnostics.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | } 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] 215 ~ match err.ast { Some(new) => { [INFO] [stdout] 216 | new [INFO] [stdout] 217 ~ } _ => { [INFO] [stdout] 218 | return Ok(()); [INFO] [stdout] 219 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> diagnostics.rs:355:32 [INFO] [stdout] | [INFO] [stdout] 355 | ... if let Ok(code) = _self.file_cache.get_entire_code(&uri) { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> diagnostics.rs:358:29 [INFO] [stdout] | [INFO] [stdout] 358 | ... } [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 ~ match _self.file_cache.get_entire_code(&uri) { Ok(code) => { [INFO] [stdout] 356 | let _ = _self.check_file(uri.clone(), code); [INFO] [stdout] 357 | file_vers.insert(uri, latest_ver); [INFO] [stdout] 358 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> diagnostics.rs:380:20 [INFO] [stdout] | [INFO] [stdout] 380 | if let Ok(uri) = NormalizedUrl::from_file_path(entry.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] --> diagnostics.rs:382:17 [INFO] [stdout] | [INFO] [stdout] 382 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 380 ~ match NormalizedUrl::from_file_path(entry.path()) { Ok(uri) => { [INFO] [stdout] 381 | uris.push(uri); [INFO] [stdout] 382 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> diff.rs:109:24 [INFO] [stdout] | [INFO] [stdout] 109 | if let Some(name) = def.sig.name_as_str() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> diff.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 109 ~ match def.sig.name_as_str() { Some(name) => { [INFO] [stdout] 110 | lowerer.unregister(name); [INFO] [stdout] 111 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> diff.rs:140:20 [INFO] [stdout] | [INFO] [stdout] 140 | if let Some(old_expr) = old.module.get_mut(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] --> diff.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 140 ~ match old.module.get_mut(idx) { Some(old_expr) => { [INFO] [stdout] 141 | *old_expr = expr; [INFO] [stdout] 142 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | if let Some(ns) = self.get_exprs_ns(namespace.clone(), self.hir.module.iter(), pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | } 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] 115 ~ match self.get_exprs_ns(namespace.clone(), self.hir.module.iter(), pos) { Some(ns) => { [INFO] [stdout] 116 | ns [INFO] [stdout] 117 ~ } _ => { [INFO] [stdout] 118 | namespace [INFO] [stdout] 119 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:170:16 [INFO] [stdout] | [INFO] [stdout] 170 | if let Some(ns) = self.get_expr_ns(cur_ns.clone(), expr, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 170 ~ match self.get_expr_ns(cur_ns.clone(), expr, pos) { Some(ns) => { [INFO] [stdout] 171 | namespaces.push(ns); [INFO] [stdout] 172 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:343:16 [INFO] [stdout] | [INFO] [stdout] 343 | if let Some(expr) = self.get_expr(&arg.expr, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 345 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 343 ~ match self.get_expr(&arg.expr, pos) { Some(expr) => { [INFO] [stdout] 344 | return Some(expr); [INFO] [stdout] 345 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:348:16 [INFO] [stdout] | [INFO] [stdout] 348 | if let Some(expr) = self.get_expr(&var.expr, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:350:13 [INFO] [stdout] | [INFO] [stdout] 350 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 348 ~ match self.get_expr(&var.expr, pos) { Some(expr) => { [INFO] [stdout] 349 | return Some(expr); [INFO] [stdout] 350 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:353:16 [INFO] [stdout] | [INFO] [stdout] 353 | if let Some(expr) = self.get_expr(&arg.expr, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:355:13 [INFO] [stdout] | [INFO] [stdout] 355 | } [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 ~ match self.get_expr(&arg.expr, pos) { Some(expr) => { [INFO] [stdout] 354 | return Some(expr); [INFO] [stdout] 355 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:477:24 [INFO] [stdout] | [INFO] [stdout] 477 | if let Some(expr) = self [INFO] [stdout] | ________________________^ [INFO] [stdout] 478 | | .get_expr(&kv.key, pos) [INFO] [stdout] | | ------ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 479 | | .or_else(|| self.get_expr(&kv.value, pos)) [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] --> hir_visitor.rs:482:21 [INFO] [stdout] | [INFO] [stdout] 482 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 477 ~ match self [INFO] [stdout] 478 | .get_expr(&kv.key, pos) [INFO] [stdout] 479 | .or_else(|| self.get_expr(&kv.value, pos)) [INFO] [stdout] 480 ~ { Some(expr) => { [INFO] [stdout] 481 | return Some(expr); [INFO] [stdout] 482 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:501:16 [INFO] [stdout] | [INFO] [stdout] 501 | if let Some(expr) = self.get_expr_from_block(field.body.block.iter(), pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----------------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 501 ~ match self.get_expr_from_block(field.body.block.iter(), pos) { Some(expr) => { [INFO] [stdout] 502 | return Some(expr); [INFO] [stdout] 503 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:559:16 [INFO] [stdout] | [INFO] [stdout] 559 | if let Some(expr) = self.get_expr_info(chunk, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:561:13 [INFO] [stdout] | [INFO] [stdout] 561 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 559 ~ match self.get_expr_info(chunk, token) { Some(expr) => { [INFO] [stdout] 560 | return Some(expr); [INFO] [stdout] 561 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:626:16 [INFO] [stdout] | [INFO] [stdout] 626 | if let Some(t) = self.return_var_info_if_same(attr, attr.raw.name.token(), token) { [INFO] [stdout] | ^^^^^^^^^^^^^^---------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:628:13 [INFO] [stdout] | [INFO] [stdout] 628 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 626 ~ match self.return_var_info_if_same(attr, attr.raw.name.token(), token) { Some(t) => { [INFO] [stdout] 627 | return Some(t); [INFO] [stdout] 628 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:636:16 [INFO] [stdout] | [INFO] [stdout] 636 | if let Some(vi) = self.get_expr_info(&arg.expr, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:638:13 [INFO] [stdout] | [INFO] [stdout] 638 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 636 ~ match self.get_expr_info(&arg.expr, token) { Some(vi) => { [INFO] [stdout] 637 | return Some(vi); [INFO] [stdout] 638 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:641:16 [INFO] [stdout] | [INFO] [stdout] 641 | if let Some(vi) = self.get_expr_info(&var.expr, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:643:13 [INFO] [stdout] | [INFO] [stdout] 643 | } [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 self.get_expr_info(&var.expr, token) { Some(vi) => { [INFO] [stdout] 642 | return Some(vi); [INFO] [stdout] 643 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:646:16 [INFO] [stdout] | [INFO] [stdout] 646 | if let Some(vi) = self.get_expr_info(&arg.expr, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:648:13 [INFO] [stdout] | [INFO] [stdout] 648 | } [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.get_expr_info(&arg.expr, token) { Some(vi) => { [INFO] [stdout] 647 | return Some(vi); [INFO] [stdout] 648 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:676:16 [INFO] [stdout] | [INFO] [stdout] 676 | if let Some(vi) = param [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_______________________________| [INFO] [stdout] 677 | || .t_spec_as_expr [INFO] [stdout] 678 | || .as_ref() [INFO] [stdout] 679 | || .and_then(|t_spec| self.get_expr_info(t_spec, token)) [INFO] [stdout] | ||_____________________________________________________________________^ 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] --> hir_visitor.rs:682:13 [INFO] [stdout] | [INFO] [stdout] 682 | } else if param.raw.pat.loc() == token.loc() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 676 ~ match param [INFO] [stdout] 677 | .t_spec_as_expr [INFO] [stdout] 678 | .as_ref() [INFO] [stdout] 679 | .and_then(|t_spec| self.get_expr_info(t_spec, token)) [INFO] [stdout] 680 ~ { Some(vi) => { [INFO] [stdout] 681 | return Some(vi); [INFO] [stdout] 682 ~ } _ => if param.raw.pat.loc() == token.loc() { [INFO] [stdout] 683 | return Some(param.vi.clone()); [INFO] [stdout] 684 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:687:16 [INFO] [stdout] | [INFO] [stdout] 687 | if let Some(vi) = var [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_______________________________| [INFO] [stdout] 688 | || .t_spec_as_expr [INFO] [stdout] 689 | || .as_ref() [INFO] [stdout] 690 | || .and_then(|t_spec| self.get_expr_info(t_spec, token)) [INFO] [stdout] | ||_____________________________________________________________________^ 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] --> hir_visitor.rs:693:13 [INFO] [stdout] | [INFO] [stdout] 693 | } else if var.raw.pat.loc() == token.loc() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 687 ~ match var [INFO] [stdout] 688 | .t_spec_as_expr [INFO] [stdout] 689 | .as_ref() [INFO] [stdout] 690 | .and_then(|t_spec| self.get_expr_info(t_spec, token)) [INFO] [stdout] 691 ~ { Some(vi) => { [INFO] [stdout] 692 | return Some(vi); [INFO] [stdout] 693 ~ } _ => if var.raw.pat.loc() == token.loc() { [INFO] [stdout] 694 | return Some(var.vi.clone()); [INFO] [stdout] 695 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:698:16 [INFO] [stdout] | [INFO] [stdout] 698 | if let Some(vi) = self.get_expr_info(¶m.default_val, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^--------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 699 | return Some(vi); [INFO] [stdout] 700 | } else if let Some(vi) = param [INFO] [stdout] | ______________________________________- [INFO] [stdout] 701 | | .sig [INFO] [stdout] 702 | | .t_spec_as_expr [INFO] [stdout] 703 | | .as_ref() [INFO] [stdout] 704 | | .and_then(|t_spec| self.get_expr_info(t_spec, token)) [INFO] [stdout] | |_____________________________________________________________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:700:13 [INFO] [stdout] | [INFO] [stdout] 700 | } else if let Some(vi) = param [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:707:13 [INFO] [stdout] | [INFO] [stdout] 707 | } else if param.sig.raw.pat.loc() == token.loc() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 698 ~ match self.get_expr_info(¶m.default_val, token) { Some(vi) => { [INFO] [stdout] 699 | return Some(vi); [INFO] [stdout] 700 ~ } _ => { match param [INFO] [stdout] 701 | .sig [INFO] [stdout] ... [INFO] [stdout] 704 | .and_then(|t_spec| self.get_expr_info(t_spec, token)) [INFO] [stdout] 705 ~ { Some(vi) => { [INFO] [stdout] 706 | return Some(vi); [INFO] [stdout] 707 ~ } _ => if param.sig.raw.pat.loc() == token.loc() { [INFO] [stdout] 708 | return Some(param.sig.vi.clone()); [INFO] [stdout] 709 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:713:20 [INFO] [stdout] | [INFO] [stdout] 713 | if let Some(vi) = self.get_def_info(bind, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:715:17 [INFO] [stdout] | [INFO] [stdout] 715 | } [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 ~ match self.get_def_info(bind, token) { Some(vi) => { [INFO] [stdout] 714 | return Some(vi); [INFO] [stdout] 715 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:747:16 [INFO] [stdout] | [INFO] [stdout] 747 | if let Some(expr) = self.get_expr_info(chunk, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:749:13 [INFO] [stdout] | [INFO] [stdout] 749 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 747 ~ match self.get_expr_info(chunk, token) { Some(expr) => { [INFO] [stdout] 748 | return Some(expr); [INFO] [stdout] 749 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:761:16 [INFO] [stdout] | [INFO] [stdout] 761 | if let Some(expr) = self.get_expr_info(chunk, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^-------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:763:13 [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] 761 ~ match self.get_expr_info(chunk, token) { Some(expr) => { [INFO] [stdout] 762 | return Some(expr); [INFO] [stdout] 763 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:784:24 [INFO] [stdout] | [INFO] [stdout] 784 | if let Some(expr) = self.get_expr_info(&kv.key, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 785 | return Some(expr); [INFO] [stdout] 786 | } else if let Some(expr) = self.get_expr_info(&kv.value, token) { [INFO] [stdout] | ------------------------------------ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:786:21 [INFO] [stdout] | [INFO] [stdout] 786 | } else if let Some(expr) = self.get_expr_info(&kv.value, token) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:788:21 [INFO] [stdout] | [INFO] [stdout] 788 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 784 ~ match self.get_expr_info(&kv.key, token) { Some(expr) => { [INFO] [stdout] 785 | return Some(expr); [INFO] [stdout] 786 ~ } _ => { match self.get_expr_info(&kv.value, token) { Some(expr) => { [INFO] [stdout] 787 | return Some(expr); [INFO] [stdout] 788 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hir_visitor.rs:798:16 [INFO] [stdout] | [INFO] [stdout] 798 | if let Some(expr) = self.get_def_info(field, token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hir_visitor.rs:800:13 [INFO] [stdout] | [INFO] [stdout] 800 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 798 ~ match self.get_def_info(field, token) { Some(expr) => { [INFO] [stdout] 799 | return Some(expr); [INFO] [stdout] 800 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hover.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 88 | let opt_token = if let Some(token) = opt_tok { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hover.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | } 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] 88 ~ let opt_token = match opt_tok { Some(token) => { [INFO] [stdout] 89 | match token.category() { [INFO] [stdout] ... [INFO] [stdout] 96 | } [INFO] [stdout] 97 ~ } _ => { [INFO] [stdout] 98 | None [INFO] [stdout] 99 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hover.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | if let Some(token) = opt_token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hover.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | } 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] 100 ~ match opt_token { Some(token) => { [INFO] [stdout] 101 | match self.get_definition(&uri, &token)? { [INFO] [stdout] ... [INFO] [stdout] 177 | } [INFO] [stdout] 178 ~ } _ => { [INFO] [stdout] 179 | self.send_log("lex error")?; [INFO] [stdout] 180 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hover.rs:167:24 [INFO] [stdout] | [INFO] [stdout] 167 | if let Some(visitor) = self.get_visitor(&uri) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hover.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 175 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 167 ~ match self.get_visitor(&uri) { Some(visitor) => { [INFO] [stdout] 168 | if let Some(typ) = visitor.get_min_expr(pos) { [INFO] [stdout] ... [INFO] [stdout] 174 | } [INFO] [stdout] 175 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hover.rs:168:28 [INFO] [stdout] | [INFO] [stdout] 168 | if let Some(typ) = visitor.get_min_expr(pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> hover.rs:174:25 [INFO] [stdout] | [INFO] [stdout] 174 | } [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 ~ match visitor.get_min_expr(pos) { Some(typ) => { [INFO] [stdout] 169 | let typ = MarkedString::from_language_code( [INFO] [stdout] ... [INFO] [stdout] 173 | contents.push(typ); [INFO] [stdout] 174 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> hover.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | if let Some((_, vi)) = module.context.get_type_info(&inner_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] --> hover.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 213 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 200 ~ match module.context.get_type_info(&inner_t) { Some((_, vi)) => { [INFO] [stdout] 201 | if let Some(url) = vi [INFO] [stdout] ... [INFO] [stdout] 212 | } [INFO] [stdout] 213 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> implementation.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(location) = self.get_definition_location(&uri, pos)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^---------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> implementation.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 33 ~ match self.get_definition_location(&uri, pos)? { Some(location) => { [INFO] [stdout] 34 | return Ok(Some(GotoImplementationResponse::Scalar(location))); [INFO] [stdout] 35 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> inlay_hint.rs:191:20 [INFO] [stdout] | [INFO] [stdout] 191 | if let Some((ln, col)) = subr.params.ln_begin().zip(subr.params.col_begin()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-----------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> inlay_hint.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | } [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 subr.params.ln_begin().zip(subr.params.col_begin()) { Some((ln, col)) => { [INFO] [stdout] 192 | let hint = self.anot(ln, col, "(".to_string()); [INFO] [stdout] 193 | result.push(hint); [INFO] [stdout] 194 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> inlay_hint.rs:204:16 [INFO] [stdout] | [INFO] [stdout] 204 | if let Some((ln, col)) = def.sig.ln_begin().zip(def.sig.col_end()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> inlay_hint.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 204 ~ match def.sig.ln_begin().zip(def.sig.col_end()) { Some((ln, col)) => { [INFO] [stdout] 205 | let hint = self.type_anot(ln, col, def.sig.ident().ref_t(), false); [INFO] [stdout] 206 | result.push(hint); [INFO] [stdout] 207 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> inlay_hint.rs:217:16 [INFO] [stdout] | [INFO] [stdout] 217 | if let Some((ln, col)) = lambda.params.ln_begin().zip(lambda.params.col_begin()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> inlay_hint.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 217 ~ match lambda.params.ln_begin().zip(lambda.params.col_begin()) { Some((ln, col)) => { [INFO] [stdout] 218 | let hint = self.anot(ln, col, "(".to_string()); [INFO] [stdout] 219 | result.push(hint); [INFO] [stdout] 220 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> inlay_hint.rs:262:16 [INFO] [stdout] | [INFO] [stdout] 262 | if let Some(name) = param_ts.clone().nth(index).and_then(|pt| pt.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] --> inlay_hint.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 262 ~ match param_ts.clone().nth(index).and_then(|pt| pt.name()) { Some(name) => { [INFO] [stdout] 263 | if name.starts_with(['%']) { [INFO] [stdout] ... [INFO] [stdout] 284 | result.push(hint); [INFO] [stdout] 285 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> inlay_hint.rs:330:16 [INFO] [stdout] | [INFO] [stdout] 330 | if let Some(module) = self.get_mod_ctx(&uri) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> inlay_hint.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 345 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 330 ~ match self.get_mod_ctx(&uri) { Some(module) => { [INFO] [stdout] 331 | let InlayHintLabel::String(label) = &hint.label else { [INFO] [stdout] ... [INFO] [stdout] 344 | } [INFO] [stdout] 345 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> inlay_hint.rs:335:20 [INFO] [stdout] | [INFO] [stdout] 335 | if let Some((_, vi)) = module.context.get_type_info_by_str(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] --> inlay_hint.rs:344:17 [INFO] [stdout] | [INFO] [stdout] 344 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 335 ~ match module.context.get_type_info_by_str(name) { Some((_, vi)) => { [INFO] [stdout] 336 | let location = abs_loc_to_lsp_loc(&vi.def_loc); [INFO] [stdout] ... [INFO] [stdout] 343 | hint.label = InlayHintLabel::LabelParts(vec![parts]); [INFO] [stdout] 344 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> references.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | if let Some(visitor) = self.get_visitor(uri) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> references.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 25 ~ match self.get_visitor(uri) { Some(visitor) => { [INFO] [stdout] 26 | if let Some(vi) = visitor.get_info(&tok) { [INFO] [stdout] 27 | return self.get_refs_from_abs_loc(&vi.def_loc); [INFO] [stdout] 28 | } [INFO] [stdout] 29 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> references.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | if let Some(vi) = visitor.get_info(&tok) { [INFO] [stdout] | ^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> references.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 26 ~ match visitor.get_info(&tok) { Some(vi) => { [INFO] [stdout] 27 | return self.get_refs_from_abs_loc(&vi.def_loc); [INFO] [stdout] 28 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> rename.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | if let Some(vi) = self [INFO] [stdout] | ________________^ - [INFO] [stdout] | |_______________________________| [INFO] [stdout] 39 | || .get_visitor(&uri) [INFO] [stdout] 40 | || .and_then(|visitor| visitor.get_info(&tok)) [INFO] [stdout] | ||___________________________________________________________^ 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] --> rename.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 38 ~ match self [INFO] [stdout] 39 | .get_visitor(&uri) [INFO] [stdout] 40 | .and_then(|visitor| visitor.get_info(&tok)) [INFO] [stdout] 41 ~ { Some(vi) => { [INFO] [stdout] 42 | let mut changes: HashMap> = HashMap::new(); [INFO] [stdout] ... [INFO] [stdout] 105 | return Ok(()); [INFO] [stdout] 106 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> scheduler.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | if let Some(idx) = self.executing.borrow().iter().find(|task| task.id == 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] --> scheduler.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | } 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] 140 ~ match self.executing.borrow().iter().find(|task| task.id == id) { Some(idx) => { [INFO] [stdout] 141 | Some(*idx) [INFO] [stdout] 142 ~ } _ => { [INFO] [stdout] 143 | let task = self [INFO] [stdout] ... [INFO] [stdout] 169 | Some(task) [INFO] [stdout] 170 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> server.rs:312:20 [INFO] [stdout] | [INFO] [stdout] 312 | if let Some(ast::Expr::Literal(lit)) = path.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] --> server.rs:314:17 [INFO] [stdout] | [INFO] [stdout] 314 | } 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] 312 ~ match path.body.block.first() { Some(ast::Expr::Literal(lit)) => { [INFO] [stdout] 313 | Some(lit.token.content.replace('\"', "")) [INFO] [stdout] 314 ~ } _ => { [INFO] [stdout] 315 | None [INFO] [stdout] 316 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> server.rs:344:20 [INFO] [stdout] | [INFO] [stdout] 344 | if let Err(err) = _self.dispatch(msg) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> server.rs:349:17 [INFO] [stdout] | [INFO] [stdout] 349 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 344 ~ match _self.dispatch(msg) { Err(err) => { [INFO] [stdout] 345 | lsp_log!("error: {err}"); [INFO] [stdout] ... [INFO] [stdout] 348 | }; [INFO] [stdout] 349 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> server.rs:371:28 [INFO] [stdout] | [INFO] [stdout] 371 | if let Err(err) = _self.dispatch(msg) { [INFO] [stdout] | ^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> server.rs:376:25 [INFO] [stdout] | [INFO] [stdout] 376 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 371 ~ match _self.dispatch(msg) { Err(err) => { [INFO] [stdout] 372 | lsp_log!("error: {err}"); [INFO] [stdout] ... [INFO] [stdout] 375 | }; [INFO] [stdout] 376 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> server.rs:1029:24 [INFO] [stdout] | [INFO] [stdout] 1029 | if let Some(ctx) = mod_ctx.scope.get(&ns[..]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> server.rs:1031:21 [INFO] [stdout] | [INFO] [stdout] 1031 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1029 ~ match mod_ctx.scope.get(&ns[..]) { Some(ctx) => { [INFO] [stdout] 1030 | ctxs.push(ctx); [INFO] [stdout] 1031 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> server.rs:1092:12 [INFO] [stdout] | [INFO] [stdout] 1092 | if let Some(token) = maybe_token { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> server.rs:1119:9 [INFO] [stdout] | [INFO] [stdout] 1119 | } 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 maybe_token { Some(token) => { [INFO] [stdout] 1093 | // _log!(self, "token: {token}"); [INFO] [stdout] ... [INFO] [stdout] 1118 | Ok((expr, ctxs)) [INFO] [stdout] 1119 ~ } _ => { [INFO] [stdout] 1120 | self.send_log("token not found")?; [INFO] [stdout] 1121 | Ok((None, vec![])) [INFO] [stdout] 1122 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> server.rs:1095:27 [INFO] [stdout] | [INFO] [stdout] 1095 | let expr = if let Some(visitor) = self.get_visitor(uri) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> server.rs:1115:13 [INFO] [stdout] | [INFO] [stdout] 1115 | } 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] 1095 ~ let expr = match self.get_visitor(uri) { Some(visitor) => { [INFO] [stdout] 1096 | if let Some(expr) = [INFO] [stdout] ... [INFO] [stdout] 1114 | } [INFO] [stdout] 1115 ~ } _ => { [INFO] [stdout] 1116 | None [INFO] [stdout] 1117 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> server.rs:1096:20 [INFO] [stdout] | [INFO] [stdout] 1096 | if let Some(expr) = [INFO] [stdout] | ____________________^ [INFO] [stdout] 1097 | | loc_to_pos(token.loc()).and_then(|pos| visitor.get_min_expr(pos)) [INFO] [stdout] | |________________________________-----________________________________________________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> server.rs:1111:17 [INFO] [stdout] | [INFO] [stdout] 1111 | } 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] 1096 ~ match loc_to_pos(token.loc()).and_then(|pos| visitor.get_min_expr(pos)) [INFO] [stdout] 1097 ~ { Some(expr) => { [INFO] [stdout] 1098 | let type_ctxs = module [INFO] [stdout] ... [INFO] [stdout] 1109 | Some(expr.t()) [INFO] [stdout] 1110 ~ } _ => { [INFO] [stdout] 1111 | _log!(self, "expr not found: {token}"); [INFO] [stdout] 1112 | None [INFO] [stdout] 1113 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> sig_help.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | if let Some(expr) = visitor.get_min_expr(loc_to_pos(token.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] --> sig_help.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 89 ~ match visitor.get_min_expr(loc_to_pos(token.loc())?) { Some(expr) => { [INFO] [stdout] 90 | return Some((token, expr.clone())); [INFO] [stdout] 91 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> sig_help.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | if let Some(token) = self.file_cache.get_token(uri, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> sig_help.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | } 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] 143 ~ match self.file_cache.get_token(uri, pos) { Some(token) => { [INFO] [stdout] 144 | crate::_log!(self, "token: {token}"); [INFO] [stdout] ... [INFO] [stdout] 153 | } [INFO] [stdout] 154 ~ } _ => { [INFO] [stdout] 155 | crate::_log!(self, "failed to get the token"); [INFO] [stdout] 156 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> sig_help.rs:145:16 [INFO] [stdout] | [INFO] [stdout] 145 | if let Some(call) = self.get_min::(uri, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> sig_help.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | } 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] 145 ~ match self.get_min::(uri, pos) { Some(call) => { [INFO] [stdout] 146 | if call.ln_begin() > token.ln_begin() || call.ln_end() < token.ln_end() { [INFO] [stdout] ... [INFO] [stdout] 150 | return self.make_sig_help(call.obj.as_ref(), nth); [INFO] [stdout] 151 ~ } _ => { [INFO] [stdout] 152 | crate::_log!(self, "failed to get the call"); [INFO] [stdout] 153 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> sig_help.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | if let Some((_token, Expr::Accessor(acc))) = self.get_min_expr(uri, pos, -2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> sig_help.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | } 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] 161 ~ match self.get_min_expr(uri, pos, -2) { Some((_token, Expr::Accessor(acc))) => { [INFO] [stdout] 162 | return self.make_sig_help(&acc, 0); [INFO] [stdout] 163 ~ } _ => { [INFO] [stdout] 164 | crate::_log!(self, "lex error occurred"); [INFO] [stdout] 165 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> sig_help.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | if let Some(call) = self.get_min::(uri, pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> sig_help.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | } 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] 170 ~ match self.get_min::(uri, pos) { Some(call) => { [INFO] [stdout] 171 | let nth = self.nth(uri, &call, pos) as u32 + 1; [INFO] [stdout] 172 | let help = self.make_sig_help(call.obj.as_ref(), nth); [INFO] [stdout] 173 | return help; [INFO] [stdout] 174 ~ } _ => { [INFO] [stdout] 175 | crate::_log!(self, "failed to get continuous help"); [INFO] [stdout] 176 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 91 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.17s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking els v0.1.55 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> inlay_hint.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | let gen = InlayHintGenerator { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 309 | let r#gen = InlayHintGenerator { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> inlay_hint.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | let gen = InlayHintGenerator { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 309 | let r#gen = InlayHintGenerator { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> inlay_hint.rs:315:31 [INFO] [stdout] | [INFO] [stdout] 315 | result.extend(gen.get_expr_hint(chunk)); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> inlay_hint.rs:315:31 [INFO] [stdout] | [INFO] [stdout] 315 | result.extend(gen.get_expr_hint(chunk)); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:244:92 [INFO] [stdout] | [INFO] [stdout] 244 | fn return_expr_if_same<'e>(&'e self, expr: &'e Expr, l: &Token, r: Position) -> Option<&Expr> { [INFO] [stdout] | -- lifetime `'e` declared here ^ this elided lifetime gets resolved as `'e` [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] --> hir_visitor.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 255 | fn return_expr_if_contains<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 260 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 293 | fn get_expr_from_acc<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 298 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:312:17 [INFO] [stdout] | [INFO] [stdout] 307 | fn get_expr_from_bin<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 312 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:325:17 [INFO] [stdout] | [INFO] [stdout] 320 | fn get_expr_from_call<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 325 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:341:82 [INFO] [stdout] | [INFO] [stdout] 341 | fn get_expr_from_args<'e>(&'e self, args: &'e Args, pos: Position) -> Option<&Expr> { [INFO] [stdout] | -- lifetime `'e` declared here ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:365:17 [INFO] [stdout] | [INFO] [stdout] 360 | fn get_expr_from_def<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 365 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 376 | fn get_expr_from_class_def<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 381 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:394:17 [INFO] [stdout] | [INFO] [stdout] 390 | fn get_expr_from_block<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 394 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 403 | fn get_expr_from_redef<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 408 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:413:85 [INFO] [stdout] | [INFO] [stdout] 413 | fn get_expr_from_dummy<'e>(&'e self, dummy: &'e Dummy, pos: Position) -> Option<&Expr> { [INFO] [stdout] | -- lifetime `'e` declared here ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:427:17 [INFO] [stdout] | [INFO] [stdout] 422 | fn get_expr_from_patch_def<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 427 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:439:17 [INFO] [stdout] | [INFO] [stdout] 434 | fn get_expr_from_lambda<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 439 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:453:17 [INFO] [stdout] | [INFO] [stdout] 448 | fn get_expr_from_list<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 453 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:469:17 [INFO] [stdout] | [INFO] [stdout] 464 | fn get_expr_from_dict<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 469 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:495:17 [INFO] [stdout] | [INFO] [stdout] 490 | fn get_expr_from_record<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 495 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:513:17 [INFO] [stdout] | [INFO] [stdout] 508 | fn get_expr_from_set<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 513 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:529:17 [INFO] [stdout] | [INFO] [stdout] 524 | fn get_expr_from_tuple<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 529 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:548:17 [INFO] [stdout] | [INFO] [stdout] 543 | fn get_expr_from_type_asc<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 548 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:244:92 [INFO] [stdout] | [INFO] [stdout] 244 | fn return_expr_if_same<'e>(&'e self, expr: &'e Expr, l: &Token, r: Position) -> Option<&Expr> { [INFO] [stdout] | -- lifetime `'e` declared here ^ this elided lifetime gets resolved as `'e` [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] --> hir_visitor.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 255 | fn return_expr_if_contains<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 260 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 293 | fn get_expr_from_acc<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 298 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:312:17 [INFO] [stdout] | [INFO] [stdout] 307 | fn get_expr_from_bin<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 312 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:325:17 [INFO] [stdout] | [INFO] [stdout] 320 | fn get_expr_from_call<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 325 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:341:82 [INFO] [stdout] | [INFO] [stdout] 341 | fn get_expr_from_args<'e>(&'e self, args: &'e Args, pos: Position) -> Option<&Expr> { [INFO] [stdout] | -- lifetime `'e` declared here ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:365:17 [INFO] [stdout] | [INFO] [stdout] 360 | fn get_expr_from_def<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 365 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:381:17 [INFO] [stdout] | [INFO] [stdout] 376 | fn get_expr_from_class_def<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 381 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:394:17 [INFO] [stdout] | [INFO] [stdout] 390 | fn get_expr_from_block<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 394 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 403 | fn get_expr_from_redef<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 408 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:413:85 [INFO] [stdout] | [INFO] [stdout] 413 | fn get_expr_from_dummy<'e>(&'e self, dummy: &'e Dummy, pos: Position) -> Option<&Expr> { [INFO] [stdout] | -- lifetime `'e` declared here ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:427:17 [INFO] [stdout] | [INFO] [stdout] 422 | fn get_expr_from_patch_def<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 427 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:439:17 [INFO] [stdout] | [INFO] [stdout] 434 | fn get_expr_from_lambda<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 439 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:453:17 [INFO] [stdout] | [INFO] [stdout] 448 | fn get_expr_from_list<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 453 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:469:17 [INFO] [stdout] | [INFO] [stdout] 464 | fn get_expr_from_dict<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 469 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:495:17 [INFO] [stdout] | [INFO] [stdout] 490 | fn get_expr_from_record<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 495 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:513:17 [INFO] [stdout] | [INFO] [stdout] 508 | fn get_expr_from_set<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 513 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:529:17 [INFO] [stdout] | [INFO] [stdout] 524 | fn get_expr_from_tuple<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 529 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> hir_visitor.rs:548:17 [INFO] [stdout] | [INFO] [stdout] 543 | fn get_expr_from_type_asc<'e>( [INFO] [stdout] | -- lifetime `'e` declared here [INFO] [stdout] ... [INFO] [stdout] 548 | ) -> Option<&Expr> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `els` (lib) due to 3 previous errors; 19 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `els` (lib test) due to 3 previous errors; 19 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "6b7902070c5c7e5e4b8b2785914b0eb55731847a9eaf0474517a29107bc5e224", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b7902070c5c7e5e4b8b2785914b0eb55731847a9eaf0474517a29107bc5e224", kill_on_drop: false }` [INFO] [stdout] 6b7902070c5c7e5e4b8b2785914b0eb55731847a9eaf0474517a29107bc5e224