nac3ld rustc 1.81.0 incompatibility #549
sb10q
commented 2024-10-08 11:34:03 +08:00
Owner
```
error: the `expr` fragment specifier will accept more expressions in the 2024 edition
--> nac3ld/src/lib.rs:152:33
|
152 | ($linker: ident, $sec_name: expr) => {
| ^^^^
|
= warning: this changes meaning in Rust 2024
= note: for more information, see Migration Guide <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/macro-fragment-specifiers.html>
note: the lint level is defined here
--> nac3ld/src/lib.rs:5:5
|
5 | rust_2024_compatibility,
| ^^^^^^^^^^^^^^^^^^^^^^^
= note: `#[deny(edition_2024_expr_fragment_specifier)]` implied by `#[deny(rust_2024_compatibility)]`
help: to keep the existing behavior, use the `expr_2021` fragment specifier
|
152 | ($linker: ident, $sec_name: expr_2021) => {
| ~~~~~~~~~
error: the `expr` fragment specifier will accept more expressions in the 2024 edition
--> nac3ld/src/lib.rs:158:33
|
158 | ($linker: ident, $sec_name: expr) => {
| ^^^^
|
= warning: this changes meaning in Rust 2024
= note: for more information, see Migration Guide <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/macro-fragment-specifiers.html>
help: to keep the existing behavior, use the `expr_2021` fragment specifier
|
158 | ($linker: ident, $sec_name: expr_2021) => {
| ~~~~~~~~~
error: the `expr` fragment specifier will accept more expressions in the 2024 edition
--> nac3ld/src/lib.rs:840:21
|
840 | ($shdr: expr, $stmt: expr) => {
| ^^^^
|
= warning: this changes meaning in Rust 2024
= note: for more information, see Migration Guide <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/macro-fragment-specifiers.html>
help: to keep the existing behavior, use the `expr_2021` fragment specifier
|
840 | ($shdr: expr_2021, $stmt: expr) => {
| ~~~~~~~~~
error: the `expr` fragment specifier will accept more expressions in the 2024 edition
--> nac3ld/src/lib.rs:840:34
|
840 | ($shdr: expr, $stmt: expr) => {
| ^^^^
|
= warning: this changes meaning in Rust 2024
= note: for more information, see Migration Guide <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/macro-fragment-specifiers.html>
help: to keep the existing behavior, use the `expr_2021` fragment specifier
|
840 | ($shdr: expr, $stmt: expr_2021) => {
| ~~~~~~~~~
error: the `expr` fragment specifier will accept more expressions in the 2024 edition
--> nac3ld/src/lib.rs:1234:25
|
1234 | ($sym_name: expr, $st_value: expr, $st_shndx: expr) => {
| ^^^^
|
= warning: this changes meaning in Rust 2024
= note: for more information, see Migration Guide <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/macro-fragment-specifiers.html>
help: to keep the existing behavior, use the `expr_2021` fragment specifier
|
1234 | ($sym_name: expr_2021, $st_value: expr, $st_shndx: expr) => {
| ~~~~~~~~~
error: the `expr` fragment specifier will accept more expressions in the 2024 edition
--> nac3ld/src/lib.rs:1234:42
|
1234 | ($sym_name: expr, $st_value: expr, $st_shndx: expr) => {
| ^^^^
|
= warning: this changes meaning in Rust 2024
= note: for more information, see Migration Guide <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/macro-fragment-specifiers.html>
help: to keep the existing behavior, use the `expr_2021` fragment specifier
|
1234 | ($sym_name: expr, $st_value: expr_2021, $st_shndx: expr) => {
| ~~~~~~~~~
error: the `expr` fragment specifier will accept more expressions in the 2024 edition
--> nac3ld/src/lib.rs:1234:59
|
1234 | ($sym_name: expr, $st_value: expr, $st_shndx: expr) => {
| ^^^^
|
= warning: this changes meaning in Rust 2024
= note: for more information, see Migration Guide <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/macro-fragment-specifiers.html>
help: to keep the existing behavior, use the `expr_2021` fragment specifier
|
1234 | ($sym_name: expr, $st_value: expr, $st_shndx: expr_2021) => {
| ~~~~~~~~~
error: could not compile `nac3ld` (lib) due to 7 previous errors
```
occheung
was assigned by sb10q 2024-10-08 11:34:03 +08:00
Labels
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: M-Labs/nac3#549
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?