-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Description
Hi,
I'm new to rust and started my first project. As I have rust 1.85, cargo new created a Cargo.toml and set edition = 2024
. However with this edition, the generated rust code from a varlink interface doesn't build.
error: binding modifiers may only be written when the default binding mode is `move`
--> src/io_systemd_UserDatabase.rs:128:29
|
128 | error: Some(ref t), ..
| ^^^ binding modifier not allowed under `ref` default binding mode
|
= note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/match-ergonomics.html>
The varlink interface is defined here: https://systemd.io/USER_GROUP_API/
Metadata
Metadata
Assignees
Labels
No labels