DioxusLabs / DioxusLabs/dioxus

Unused Props Don't Warn

Open
#3,919 0 comments 0 reactions 0 assignees View on GitHub
bug rsx
Dominant language
Rust
Stars
39.1k
Forks
1.9k
Avg merge
4d 10h
Merged PRs (30d)
4

Description

## Issue

If a prop variable (function argument or struct field) is unused, the unused clippy lint does not go off. This is likely due to the generated builders from the component macro.

Not sure if this is feasible to fix, but it'd be super helpful.

edit: I notice that the generated builders have a lot of `allow(dead_code)`. Perhaps removing some may fix this.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.