Skip to content

Future incompatibility lints #42

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
Artxiom opened this issue Nov 18, 2024 · 0 comments
Open

Future incompatibility lints #42

Artxiom opened this issue Nov 18, 2024 · 0 comments

Comments

@Artxiom
Copy link

Artxiom commented Nov 18, 2024

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 rust-lang/rust#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 rust-lang/rust#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 rust-lang/rust#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 rust-lang/rust#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 rust-lang/rust#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 rust-lang/rust#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 rust-lang/rust#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 rust-lang/rust#79813
= note: this warning originates in the macro fail (in Nightly builds, run with -Z macro-backtrace for more info)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant