Release 4.1.3 #2922
Annotations
13 errors
usage of a legacy numeric method:
crates/transcode/src/transcoder.rs#L302
error: usage of a legacy numeric method
--> crates/transcode/src/transcoder.rs:302:30
|
302 | Value::Int(i128::max_value()),
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants
help: use the associated constant instead
|
302 | Value::Int(i128::MAX),
| ~~~
|
usage of a legacy numeric method:
crates/transcode/src/transcoder.rs#L298
error: usage of a legacy numeric method
--> crates/transcode/src/transcoder.rs:298:30
|
298 | Value::Int(i128::min_value()),
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants
help: use the associated constant instead
|
298 | Value::Int(i128::MIN),
| ~~~
|
usage of a legacy numeric method:
crates/transcode/src/transcoder.rs#L293
error: usage of a legacy numeric method
--> crates/transcode/src/transcoder.rs:293:29
|
293 | Value::Int(i64::max_value().into()),
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants
help: use the associated constant instead
|
293 | Value::Int(i64::MAX.into()),
| ~~~
|
usage of a legacy numeric method:
crates/transcode/src/transcoder.rs#L289
error: usage of a legacy numeric method
--> crates/transcode/src/transcoder.rs:289:29
|
289 | Value::Int(i64::min_value().into()),
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants
help: use the associated constant instead
|
289 | Value::Int(i64::MIN.into()),
| ~~~
|
usage of a legacy numeric method:
crates/transcode/src/transcoder.rs#L285
error: usage of a legacy numeric method
--> crates/transcode/src/transcoder.rs:285:66
|
285 | transcode_roundtrip::<i32>("2147483647", Value::Int(i32::max_value().into()))?;
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants
help: use the associated constant instead
|
285 | transcode_roundtrip::<i32>("2147483647", Value::Int(i32::MAX.into()))?;
| ~~~
|
usage of a legacy numeric method:
crates/transcode/src/transcoder.rs#L284
error: usage of a legacy numeric method
--> crates/transcode/src/transcoder.rs:284:67
|
284 | transcode_roundtrip::<i32>("-2147483648", Value::Int(i32::min_value().into()))?;
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants
help: use the associated constant instead
|
284 | transcode_roundtrip::<i32>("-2147483648", Value::Int(i32::MIN.into()))?;
| ~~~
|
usage of a legacy numeric method:
crates/transcode/src/transcoder.rs#L282
error: usage of a legacy numeric method
--> crates/transcode/src/transcoder.rs:282:61
|
282 | transcode_roundtrip::<i16>("32767", Value::Int(i16::max_value().into()))?;
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants
help: use the associated constant instead
|
282 | transcode_roundtrip::<i16>("32767", Value::Int(i16::MAX.into()))?;
| ~~~
|
usage of a legacy numeric method:
crates/transcode/src/transcoder.rs#L281
error: usage of a legacy numeric method
--> crates/transcode/src/transcoder.rs:281:62
|
281 | transcode_roundtrip::<i16>("-32768", Value::Int(i16::min_value().into()))?;
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants
help: use the associated constant instead
|
281 | transcode_roundtrip::<i16>("-32768", Value::Int(i16::MIN.into()))?;
| ~~~
|
usage of a legacy numeric method:
crates/transcode/src/transcoder.rs#L279
error: usage of a legacy numeric method
--> crates/transcode/src/transcoder.rs:279:57
|
279 | transcode_roundtrip::<i8>("127", Value::Int(i8::max_value().into()))?;
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants
help: use the associated constant instead
|
279 | transcode_roundtrip::<i8>("127", Value::Int(i8::MAX.into()))?;
| ~~~
|
usage of a legacy numeric method:
crates/transcode/src/transcoder.rs#L278
error: usage of a legacy numeric method
--> crates/transcode/src/transcoder.rs:278:58
|
278 | transcode_roundtrip::<i8>("-128", Value::Int(i8::min_value().into()))?;
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants
= note: `-D clippy::legacy-numeric-constants` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::legacy_numeric_constants)]`
help: use the associated constant instead
|
278 | transcode_roundtrip::<i8>("-128", Value::Int(i8::MIN.into()))?;
| ~~~
|
unexpected `cfg` condition value: `__ink_dylint_Constructor`:
crates/transcode/src/lib.rs#L539
error: unexpected `cfg` condition value: `__ink_dylint_Constructor`
--> crates/transcode/src/lib.rs:539:13
|
539 | pub fn default() -> Self {
| ^^^
|
= note: expected values for `feature` are: `default` and `std`
= help: consider adding `__ink_dylint_Constructor` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
unexpected `cfg` condition value: `__ink_dylint_Constructor`:
crates/transcode/src/lib.rs#L534
error: unexpected `cfg` condition value: `__ink_dylint_Constructor`
--> crates/transcode/src/lib.rs:534:13
|
534 | pub fn new(init_value: bool) -> Self {
| ^^^
|
= note: expected values for `feature` are: `default` and `std`
= help: consider adding `__ink_dylint_Constructor` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
unexpected `cfg` condition value: `__ink_dylint_Storage`:
crates/transcode/src/lib.rs#L520
error: unexpected `cfg` condition value: `__ink_dylint_Storage`
--> crates/transcode/src/lib.rs:520:9
|
520 | pub struct Transcode {
| ^^^
|
= note: expected values for `feature` are: `default` and `std`
= help: consider adding `__ink_dylint_Storage` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `-D unexpected-cfgs` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unexpected_cfgs)]`
|