Skip to content

Commit c94e30b

Browse files
chore: Update enum variant name in matches! rewrite.
Signed-off-by: Tomas Fabrizio Orsi <[email protected]>
1 parent 45a7cad commit c94e30b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hir/src/pass.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ impl Print {
192192

193193
// Always print, unless "only_when_modified" has been set and there have not been changes.
194194
let modification_filter =
195-
!matches!(ir_changed, PostPassStatus::IRUnchanged if self.only_when_modified);
195+
!matches!(ir_changed, PostPassStatus::Unchanged if self.only_when_modified);
196196

197197
pass_filter && modification_filter
198198
}

0 commit comments

Comments
 (0)