Skip to content

fix(clippy): resolve new pedantic warnings from Rust 1.94#117

Merged
JanZachmann merged 1 commit intoomnect:mainfrom
JanZachmann:fix/clippy-ci
Apr 7, 2026
Merged

fix(clippy): resolve new pedantic warnings from Rust 1.94#117
JanZachmann merged 1 commit intoomnect:mainfrom
JanZachmann:fix/clippy-ci

Conversation

@JanZachmann
Copy link
Copy Markdown
Contributor

@JanZachmann JanZachmann commented Apr 7, 2026

Summary

  • Allow doc_markdown and missing_panics_doc pedantic lints in workspace config
  • Add #[cfg_attr] allow for unnecessary_wraps on IoTEdgeConfig::load (mock vs non-mock cfg branches)
  • Add #[allow(clippy::unused_async)] on mock create_module_certificate stub

Reason

Rust 1.94 promotes doc_markdown and missing_panics_doc from nursery to pedantic, causing CI failures with -D warnings.

- Allow doc_markdown and missing_panics_doc in workspace lint config
- Add cfg_attr allow for unnecessary_wraps on IoTEdgeConfig::load
  (mock branch provides defaults, non-mock uses ?)
- Allow unused_async on mock create_module_certificate (must match
  non-mock async signature)

Signed-off-by: Jan Zachmann <50990105+JanZachmann@users.noreply.github.com>
@JanZachmann JanZachmann merged commit 517831f into omnect:main Apr 7, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant