warning: &
without an explicit lifetime name cannot be used here
#1619
Labels
tweak
Small changes to improve experience
Problem
When using server functions (as in the fullstack axum-router example) calls to the
server
macro have the following warning:Steps To Reproduce
git clone https://github.com/DioxusLabs/dioxus.git cd dioxus/packages/fullstack/examples/axum-router dx build --features web --release cargo run --features ssr --release
Expected behavior
Macro shouldn't create warnings.
Screenshots
Environment:
$ rustup show Default host: x86_64-unknown-linux-gnu rustup home: /home/wolfe/.rustup installed toolchains -------------------- stable-x86_64-unknown-linux-gnu nightly-x86_64-unknown-linux-gnu (default) installed targets for active toolchain -------------------------------------- wasm32-unknown-unknown x86_64-unknown-linux-gnu active toolchain ---------------- nightly-x86_64-unknown-linux-gnu (default) rustc 1.75.0-nightly (7adc89b69 2023-11-07)
Questionnaire
The text was updated successfully, but these errors were encountered: