aboutsummaryrefslogtreecommitdiff
path: root/mingling_macros/src/derive.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-07-21 15:38:00 +0800
committer魏曹先生 <1992414357@qq.com>2026-07-21 15:38:00 +0800
commit0056e1095e75b34f39cde7de87ce6be2cd301ff1 (patch)
tree5a79e51a8a42a7d1f40e8eab388c7b71f279b1a2 /mingling_macros/src/derive.rs
parenta4780f04172b3ef9fb11af5f7bc8abd7139cbe54 (diff)
feat(mlint): support RenderResult::default and ::from detection
Extend the `unnecessary_render_result_creation` lint to also flag uses of `RenderResult::default()` and `RenderResult::from(...)`, and add `#[derive(Default)]` to `MlintReport` and `MlintLevel` to simplify struct instantiation
Diffstat (limited to 'mingling_macros/src/derive.rs')
0 files changed, 0 insertions, 0 deletions