Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Force Backends to implement Debug trait #272

Closed
1 task done
phated opened this issue May 9, 2023 · 0 comments · Fixed by #275
Closed
1 task done

Force Backends to implement Debug trait #272

phated opened this issue May 9, 2023 · 0 comments · Fixed by #275
Assignees
Labels
enhancement New feature or request

Comments

@phated
Copy link
Contributor

phated commented May 9, 2023

Problem

If backends don't derive the Debug trait, we can't use them as a generic in combination with deriving thiserror::Error. I encountered this in noir-lang/noir#1322 and added derive(Debug) to the aztec_backend, but we should enforce it via traits.

Proposed solution

Add + Debug to the backend trait.

Alternatives considered

No response

Additional context

No response

Submission Checklist

  • Once I hit submit, I will assign this issue to the Project Board with the appropriate tags.
@phated phated added the enhancement New feature or request label May 9, 2023
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Noir May 9, 2023
@phated phated self-assigned this May 9, 2023
@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Noir May 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant