Skip to content

Commit e94f432

Browse files
committed
Ignore incompatible_msrv clippy lint for conditionally compiled code
warning: current MSRV (Minimum Supported Rust Version) is `1.56.0` but this item is stable since `1.66.0` --> src/wrapper.rs:514:36 | 514 | Span::Compiler(s) => s.source_text(), | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv = note: `-W clippy::incompatible-msrv` implied by `-W clippy::all` = help: to override `-W clippy::all` add `#[allow(clippy::incompatible_msrv)]`
1 parent 18c75c6 commit e94f432

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@
9696
clippy::cast_possible_truncation,
9797
clippy::checked_conversions,
9898
clippy::doc_markdown,
99+
clippy::incompatible_msrv,
99100
clippy::items_after_statements,
100101
clippy::iter_without_into_iter,
101102
clippy::let_underscore_untyped,

0 commit comments

Comments
 (0)