-
-
Notifications
You must be signed in to change notification settings - Fork 133
Commit f32b420
committed
Ignore incompatible_msrv clippy lint for conditionally compiled code
warning: current MSRV (Minimum Supported Rust Version) is `1.31.0` but this item is stable since `1.53.0`
--> src/identifier.rs:331:40
|
331 | let zero_bits_on_string_end = repr.leading_zeros();
| ^^^^^^^^^^^^^^^
|
= 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)]`
warning: current MSRV (Minimum Supported Rust Version) is `1.31.0` but this item is stable since `1.53.0`
--> src/identifier.rs:420:37
|
420 | let len_bits = usize_bits - len.leading_zeros() as usize;
| ^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv
warning: current MSRV (Minimum Supported Rust Version) is `1.31.0` but this item is stable since `1.45.0`
--> src/parse.rs:48:52
|
48 | let (pre, text) = if let Some(text) = text.strip_prefix('-') {
| ^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv
warning: current MSRV (Minimum Supported Rust Version) is `1.31.0` but this item is stable since `1.45.0`
--> src/parse.rs:59:54
|
59 | let (build, text) = if let Some(text) = text.strip_prefix('+') {
| ^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv
warning: current MSRV (Minimum Supported Rust Version) is `1.31.0` but this item is stable since `1.45.0`
--> src/parse.rs:192:31
|
192 | if let Some(rest) = input.strip_prefix('*') {
| ^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv
warning: current MSRV (Minimum Supported Rust Version) is `1.31.0` but this item is stable since `1.45.0`
--> src/parse.rs:194:38
|
194 | } else if let Some(rest) = input.strip_prefix('x') {
| ^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv
warning: current MSRV (Minimum Supported Rust Version) is `1.31.0` but this item is stable since `1.45.0`
--> src/parse.rs:196:38
|
196 | } else if let Some(rest) = input.strip_prefix('X') {
| ^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv
warning: current MSRV (Minimum Supported Rust Version) is `1.31.0` but this item is stable since `1.45.0`
--> src/parse.rs:204:31
|
204 | if let Some(rest) = input.strip_prefix('.') {
| ^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv
warning: current MSRV (Minimum Supported Rust Version) is `1.31.0` but this item is stable since `1.45.0`
--> src/parse.rs:301:50
|
301 | let (minor, text) = if let Some(text) = text.strip_prefix('.') {
| ^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv
warning: current MSRV (Minimum Supported Rust Version) is `1.31.0` but this item is stable since `1.45.0`
--> src/parse.rs:317:50
|
317 | let (patch, text) = if let Some(text) = text.strip_prefix('.') {
| ^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv
warning: current MSRV (Minimum Supported Rust Version) is `1.31.0` but this item is stable since `1.37.0`
--> src/parse.rs:387:22
|
387 | unsafe { out.as_mut_ptr().add(depth).write(comparator) }
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv
warning: current MSRV (Minimum Supported Rust Version) is `1.31.0` but this item is stable since `1.45.0`
--> src/parse.rs:391:41
|
391 | let text = if let Some(text) = text.strip_prefix(',') {
| ^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv
warning: current MSRV (Minimum Supported Rust Version) is `1.31.0` but this item is stable since `1.37.0`
--> src/parse.rs:407:18
|
407 | unsafe { out.as_mut_ptr().add(depth).write(comparator) }
| ^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv1 parent f9cc2df commit f32b420Copy full SHA for f32b420
1 file changed
+1
-0
lines changed+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
70 | 70 |
| |
71 | 71 |
| |
72 | 72 |
| |
| 73 | + | |
73 | 74 |
| |
74 | 75 |
| |
75 | 76 |
| |
|
0 commit comments