json_typegen icon indicating copy to clipboard operation
json_typegen copied to clipboard

Future incompatibility lints

Open Artxiom opened this issue 1 year ago • 0 comments

The package json_typegen_shared v0.7.0 currently triggers the following future incompatibility lints:

warning: trailing semicolon in macro used in expression position --> /Users/artur/.cargo/registry/src/index.crates.io-6f17d22bba15001f/json_typegen_shared-0.7.0/src/parse.rs:25:11 | 25 | )); | ^ ... 48 | fail!("Unable to parse macro. Expected 'json_typegen!('", input) | ---------------------------------------------------------------- in this macro invocation | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #79813 https://github.com/rust-lang/rust/issues/79813 = note: macro invocations at the end of a block are treated as expressions = note: to ignore the value produced by the macro, add a semicolon after the invocation of fail = note: this warning originates in the macro fail (in Nightly builds, run with -Z macro-backtrace for more info)

warning: trailing semicolon in macro used in expression position --> /Users/artur/.cargo/registry/src/index.crates.io-6f17d22bba15001f/json_typegen_shared-0.7.0/src/parse.rs:25:11 | 25 | )); | ^ ... 53 | fail!("Unable to parse macro. Expected it to end with ');'", input) | ------------------------------------------------------------------- in this macro invocation | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #79813 https://github.com/rust-lang/rust/issues/79813 = note: macro invocations at the end of a block are treated as expressions = note: to ignore the value produced by the macro, add a semicolon after the invocation of fail = note: this warning originates in the macro fail (in Nightly builds, run with -Z macro-backtrace for more info)

warning: trailing semicolon in macro used in expression position --> /Users/artur/.cargo/registry/src/index.crates.io-6f17d22bba15001f/json_typegen_shared-0.7.0/src/parse.rs:25:11 | 25 | )); | ^ ... 66 | IResult::Error => fail!("First argument must be a string literal", input), | ------------------------------------------------------- in this macro invocation | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #79813 https://github.com/rust-lang/rust/issues/79813 = note: this warning originates in the macro fail (in Nightly builds, run with -Z macro-backtrace for more info)

warning: trailing semicolon in macro used in expression position --> /Users/artur/.cargo/registry/src/index.crates.io-6f17d22bba15001f/json_typegen_shared-0.7.0/src/parse.rs:25:11 | 25 | )); | ^ ... 73 | IResult::Error => fail!("Second argument must be a string literal", input), | -------------------------------------------------------- in this macro invocation | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #79813 https://github.com/rust-lang/rust/issues/79813 = note: this warning originates in the macro fail (in Nightly builds, run with -Z macro-backtrace for more info)

warning: trailing semicolon in macro used in expression position --> /Users/artur/.cargo/registry/src/index.crates.io-6f17d22bba15001f/json_typegen_shared-0.7.0/src/parse.rs:25:11 | 25 | )); | ^ ... 197 | IResult::Error => fail!( | __________________- 198 | | format!("The argument to '{}' has to be a string literal", name), 199 | | input 200 | | ), | |- in this macro invocation | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #79813 https://github.com/rust-lang/rust/issues/79813 = note: this warning originates in the macro fail (in Nightly builds, run with -Z macro-backtrace for more info)

warning: trailing semicolon in macro used in expression position --> /Users/artur/.cargo/registry/src/index.crates.io-6f17d22bba15001f/json_typegen_shared-0.7.0/src/parse.rs:25:11 | 25 | )); | ^ ... 222 | IResult::Error => fail!( | __________________- 223 | | format!("The argument to '{}' has to be a boolean literal", name), 224 | | input 225 | | ), | |- in this macro invocation | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #79813 https://github.com/rust-lang/rust/issues/79813 = note: this warning originates in the macro fail (in Nightly builds, run with -Z macro-backtrace for more info)

warning: trailing semicolon in macro used in expression position --> /Users/artur/.cargo/registry/src/index.crates.io-6f17d22bba15001f/json_typegen_shared-0.7.0/src/parse.rs:25:11 | 25 | )); | ^ ... 242 | IResult::Error => fail!("Expected an option name", input), | --------------------------------------- in this macro invocation | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #79813 https://github.com/rust-lang/rust/issues/79813 = note: this warning originates in the macro fail (in Nightly builds, run with -Z macro-backtrace for more info)

warning: trailing semicolon in macro used in expression position --> /Users/artur/.cargo/registry/src/index.crates.io-6f17d22bba15001f/json_typegen_shared-0.7.0/src/parse.rs:25:11 | 25 | )); | ^ ... 262 | IResult::Error => fail!(msg, input), | ----------------- in this macro invocation | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #79813 https://github.com/rust-lang/rust/issues/79813 = note: this warning originates in the macro fail (in Nightly builds, run with -Z macro-backtrace for more info)

Artxiom avatar Nov 18 '24 12:11 Artxiom