Skip to content

Commit

Permalink
Update compiler/qsc_linter/src/lints/hir.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Mine Starks <[email protected]>
  • Loading branch information
Manvi-Agrawal and minestarks authored Jun 8, 2024
1 parent 6a24701 commit 6d25727
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/qsc_linter/src/lints/hir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ use crate::linter::hir::declare_hir_lints;
use super::lint;

declare_hir_lints! {
(NeedlessOperation, LintLevel::Warn, "unnecessary operation declaration", "convert to function")
(NeedlessOperation, LintLevel::Warn, "operation does not contain any quantum operations", "this callable can be declared as a function instead")
}

/// Helper to check if an operation has desired operation characteristics
Expand Down

0 comments on commit 6d25727

Please sign in to comment.