Skip to content

[submit] SubmitError missing #[non_exhaustive] — future variants will be semver-breaking #201

@obchain

Description

@obchain

Refs #44

File: crates/charon-executor/src/submit.rs

Problem

Pattern recurring since PR #27. All public error enums must carry #[non_exhaustive] so new variants (RateLimited, AuthFailure, etc) can be added without breaking downstream match exhaustiveness.

Fix

Add #[non_exhaustive] to SubmitError enum (introduced by sibling issue on this PR).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestlayer:rustRust crates (core / scanner / protocols / executor / cli)pr-reviewFindings from PR review processpriority:p2-polishNice-to-have / polishstatus:readyScoped and ready to pick up

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions