diff options
author | Mikael Urankar <mikael@FreeBSD.org> | 2025-08-25 13:56:02 +0200 |
---|---|---|
committer | Mikael Urankar <mikael@FreeBSD.org> | 2025-09-01 10:24:04 +0200 |
commit | c4e118b293f62c76dcb50f28425b69ccc4afd14b (patch) | |
tree | a61f9edac5d19774188d65e1250065216417d28c /misc/xd-rust/files | |
parent | mail/thunderbird: : Fix build with rust 1.89.0 (diff) |
misc/xd-rust: Fix build with rust 1.89.0
error: implicit autoref creates a reference to the dereference of a raw pointer
--> src/bin/xd/cli.rs:107:17
PR: 288923
Approved by: portmgr (build fix blanket)
Diffstat (limited to 'misc/xd-rust/files')
-rw-r--r-- | misc/xd-rust/files/patch-rust-1.89.0 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/misc/xd-rust/files/patch-rust-1.89.0 b/misc/xd-rust/files/patch-rust-1.89.0 new file mode 100644 index 000000000000..e6428dda91df --- /dev/null +++ b/misc/xd-rust/files/patch-rust-1.89.0 @@ -0,0 +1,10 @@ +--- src/bin/xd/cli.rs.orig 2025-08-23 07:56:06 UTC ++++ src/bin/xd/cli.rs +@@ -100,6 +100,7 @@ impl From<TableOption> for &xd::table::Table { + } + } + ++#[warn(dangerous_implicit_autorefs)] + #[rustfmt::skip] + pub fn app() -> App<'static, 'static> { + App::new("xd") |