Skip to content

Commit

Permalink
clear labels
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettMayson committed Sep 18, 2024
1 parent 6170c1d commit f94b463
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/preprocessor/src/codes/pw4_include_case.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ impl Code for IncludeCase {
}

fn expand_diagnostic(&self, diag: Diagnostic) -> Diagnostic {
diag.with_label(
diag.clear_labels().with_label(
Label::primary(
self.tokens
.first()
Expand Down

0 comments on commit f94b463

Please sign in to comment.