aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksandr Babak <alexanderbabak@proton.me>2025-05-15 18:23:55 +0200
committerEmil Fresk <emil.fresk@gmail.com>2025-06-18 18:49:41 +0000
commitb2764f57607d0dd24dc69f498dc2c7af0a097a9f (patch)
tree4dcd5bd60d5113a4202d3bf7757c0619199f5d01
parentd16ad16bd7ff56fa4dcfb1a0832f556c7931d000 (diff)
fix: UI test: add `unsafe()` for link_section
-rw-r--r--rtic/ui/custom_section.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtic/ui/custom_section.rs b/rtic/ui/custom_section.rs
index 2806780..308654f 100644
--- a/rtic/ui/custom_section.rs
+++ b/rtic/ui/custom_section.rs
@@ -4,7 +4,7 @@
mod app {
#[shared]
struct Shared {
- #[link_section = ".custom_section"]
+ #[unsafe(link_section = ".custom_section")]
foo: (),
}