From 5e31fa33c3b5cf726a57a063b8e7a070869250fe Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 19 May 2026 21:46:01 +0900 Subject: fix(compile): fix more random compile errors Co-Authored-By: Claude Opus 4.7 (1M context) --- .../shirabe-semver/src/constraint/match_all_constraint.rs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'crates/shirabe-semver/src/constraint/match_all_constraint.rs') diff --git a/crates/shirabe-semver/src/constraint/match_all_constraint.rs b/crates/shirabe-semver/src/constraint/match_all_constraint.rs index 97ce98c..41aa32d 100644 --- a/crates/shirabe-semver/src/constraint/match_all_constraint.rs +++ b/crates/shirabe-semver/src/constraint/match_all_constraint.rs @@ -8,6 +8,20 @@ pub struct MatchAllConstraint { pub(crate) pretty_string: Option, } +impl MatchAllConstraint { + pub fn new() -> Self { + Self { + pretty_string: None, + } + } +} + +impl Default for MatchAllConstraint { + fn default() -> Self { + Self::new() + } +} + impl ConstraintInterface for MatchAllConstraint { fn matches(&self, _provider: &dyn ConstraintInterface) -> bool { true -- cgit v1.3.1