Skip to content

Commit

Permalink
refactor: cleanup for stable CI testing
Browse files Browse the repository at this point in the history
  • Loading branch information
MingweiSamuel committed Dec 12, 2024
1 parent 1058b51 commit d115fc5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hydroflow_lang/src/diagnostic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,10 @@ impl From<Span> for SerdeSpan {
.into();
}

#[cfg_attr(
not(nightly),
expect(clippy::diverging_sub_expression, reason = "conditional compilation")
)]
break 'a "unknown".into();
};

Expand Down
7 changes: 7 additions & 0 deletions hydroflow_lang/src/graph/hydroflow_graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1027,6 +1027,13 @@ impl HydroflowGraph {
);
}

#[cfg_attr(
not(nightly),
expect(
clippy::diverging_sub_expression,
reason = "conditional compilation"
)
)]
break 'a format!(
"loc_nopath_{}_{}_{}_{}",
op_span.start().line,
Expand Down

0 comments on commit d115fc5

Please sign in to comment.