From 201f7b3f754a25d5958cc2700c990dedb841321b Mon Sep 17 00:00:00 2001 From: "Peter A. Bigot" Date: Sun, 18 Dec 2022 13:41:11 -0700 Subject: [PATCH] Remove const_err lint As of Rust 1.66 this produces: warning: lint `const_err` has been removed: converted into hard error, see issue #71800 for more information --> /mnt/devel/external/Rust/github.com/atsamd-rs/atsamd/pac/atsamd51p/src/lib.rs:3:9 | 3 | #![deny(const_err)] | ^^^^^^^^^ | = note: `#[warn(renamed_and_removed_lints)]` on by default --- pac/atsamd11c/src/lib.rs | 1 - pac/atsamd11d/src/lib.rs | 1 - pac/atsamd21e/src/lib.rs | 1 - pac/atsamd21g/src/lib.rs | 1 - pac/atsamd21j/src/lib.rs | 1 - pac/atsamd51g/src/lib.rs | 1 - pac/atsamd51j/src/lib.rs | 1 - pac/atsamd51n/src/lib.rs | 1 - pac/atsamd51p/src/lib.rs | 1 - pac/atsame51g/src/lib.rs | 1 - pac/atsame51j/src/lib.rs | 1 - pac/atsame51n/src/lib.rs | 1 - pac/atsame53j/src/lib.rs | 1 - pac/atsame53n/src/lib.rs | 1 - pac/atsame54n/src/lib.rs | 1 - pac/atsame54p/src/lib.rs | 1 - 16 files changed, 16 deletions(-) diff --git a/pac/atsamd11c/src/lib.rs b/pac/atsamd11c/src/lib.rs index 6eca24028c20..e08b75fb52bb 100644 --- a/pac/atsamd11c/src/lib.rs +++ b/pac/atsamd11c/src/lib.rs @@ -1,6 +1,5 @@ #![doc = "Peripheral access API for ATSAMD11C microcontrollers (generated using svd2rust v0.20.0 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.20.0/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] -#![deny(const_err)] #![deny(dead_code)] #![deny(improper_ctypes)] #![deny(missing_docs)] diff --git a/pac/atsamd11d/src/lib.rs b/pac/atsamd11d/src/lib.rs index f6067f78a3f7..4735f26e12e6 100644 --- a/pac/atsamd11d/src/lib.rs +++ b/pac/atsamd11d/src/lib.rs @@ -1,6 +1,5 @@ #![doc = "Peripheral access API for ATSAMD11D microcontrollers (generated using svd2rust v0.20.0 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.20.0/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] -#![deny(const_err)] #![deny(dead_code)] #![deny(improper_ctypes)] #![deny(missing_docs)] diff --git a/pac/atsamd21e/src/lib.rs b/pac/atsamd21e/src/lib.rs index b53916ff8086..dbb313b73bb9 100644 --- a/pac/atsamd21e/src/lib.rs +++ b/pac/atsamd21e/src/lib.rs @@ -1,6 +1,5 @@ #![doc = "Peripheral access API for ATSAMD21E microcontrollers (generated using svd2rust v0.20.0 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.20.0/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] -#![deny(const_err)] #![deny(dead_code)] #![deny(improper_ctypes)] #![deny(missing_docs)] diff --git a/pac/atsamd21g/src/lib.rs b/pac/atsamd21g/src/lib.rs index 6b15e0b94db6..440ff79ab4cf 100644 --- a/pac/atsamd21g/src/lib.rs +++ b/pac/atsamd21g/src/lib.rs @@ -1,6 +1,5 @@ #![doc = "Peripheral access API for ATSAMD21G microcontrollers (generated using svd2rust v0.20.0 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.20.0/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] -#![deny(const_err)] #![deny(dead_code)] #![deny(improper_ctypes)] #![deny(missing_docs)] diff --git a/pac/atsamd21j/src/lib.rs b/pac/atsamd21j/src/lib.rs index 2094625b4586..617dd494b3fe 100644 --- a/pac/atsamd21j/src/lib.rs +++ b/pac/atsamd21j/src/lib.rs @@ -1,6 +1,5 @@ #![doc = "Peripheral access API for ATSAMD21J microcontrollers (generated using svd2rust v0.20.0 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.20.0/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] -#![deny(const_err)] #![deny(dead_code)] #![deny(improper_ctypes)] #![deny(missing_docs)] diff --git a/pac/atsamd51g/src/lib.rs b/pac/atsamd51g/src/lib.rs index 30f1a7f6df9a..27f7441e0570 100644 --- a/pac/atsamd51g/src/lib.rs +++ b/pac/atsamd51g/src/lib.rs @@ -1,6 +1,5 @@ #![doc = "Peripheral access API for ATSAMD51G microcontrollers (generated using svd2rust v0.20.0 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.20.0/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] -#![deny(const_err)] #![deny(dead_code)] #![deny(improper_ctypes)] #![deny(missing_docs)] diff --git a/pac/atsamd51j/src/lib.rs b/pac/atsamd51j/src/lib.rs index 3f627e9b5160..5afc57db740c 100644 --- a/pac/atsamd51j/src/lib.rs +++ b/pac/atsamd51j/src/lib.rs @@ -1,6 +1,5 @@ #![doc = "Peripheral access API for ATSAMD51J microcontrollers (generated using svd2rust v0.20.0 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.20.0/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] -#![deny(const_err)] #![deny(dead_code)] #![deny(improper_ctypes)] #![deny(missing_docs)] diff --git a/pac/atsamd51n/src/lib.rs b/pac/atsamd51n/src/lib.rs index 81f20d3902be..2ec631bd06a3 100644 --- a/pac/atsamd51n/src/lib.rs +++ b/pac/atsamd51n/src/lib.rs @@ -1,6 +1,5 @@ #![doc = "Peripheral access API for ATSAMD51N microcontrollers (generated using svd2rust v0.20.0 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.20.0/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] -#![deny(const_err)] #![deny(dead_code)] #![deny(improper_ctypes)] #![deny(missing_docs)] diff --git a/pac/atsamd51p/src/lib.rs b/pac/atsamd51p/src/lib.rs index 3416220e8bff..ebd7f798a78b 100644 --- a/pac/atsamd51p/src/lib.rs +++ b/pac/atsamd51p/src/lib.rs @@ -1,6 +1,5 @@ #![doc = "Peripheral access API for ATSAMD51P microcontrollers (generated using svd2rust v0.20.0 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.20.0/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] -#![deny(const_err)] #![deny(dead_code)] #![deny(improper_ctypes)] #![deny(missing_docs)] diff --git a/pac/atsame51g/src/lib.rs b/pac/atsame51g/src/lib.rs index 568fc846e286..0e19102b7cda 100644 --- a/pac/atsame51g/src/lib.rs +++ b/pac/atsame51g/src/lib.rs @@ -1,6 +1,5 @@ #![doc = "Peripheral access API for ATSAME51G microcontrollers (generated using svd2rust v0.20.0 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.20.0/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] -#![deny(const_err)] #![deny(dead_code)] #![deny(improper_ctypes)] #![deny(missing_docs)] diff --git a/pac/atsame51j/src/lib.rs b/pac/atsame51j/src/lib.rs index 2965387d0a17..64a855a04abc 100644 --- a/pac/atsame51j/src/lib.rs +++ b/pac/atsame51j/src/lib.rs @@ -1,6 +1,5 @@ #![doc = "Peripheral access API for ATSAME51J microcontrollers (generated using svd2rust v0.20.0 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.20.0/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] -#![deny(const_err)] #![deny(dead_code)] #![deny(improper_ctypes)] #![deny(missing_docs)] diff --git a/pac/atsame51n/src/lib.rs b/pac/atsame51n/src/lib.rs index 4e9e2ce0922b..1a3fa8991b86 100644 --- a/pac/atsame51n/src/lib.rs +++ b/pac/atsame51n/src/lib.rs @@ -1,6 +1,5 @@ #![doc = "Peripheral access API for ATSAME51N microcontrollers (generated using svd2rust v0.20.0 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.20.0/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] -#![deny(const_err)] #![deny(dead_code)] #![deny(improper_ctypes)] #![deny(missing_docs)] diff --git a/pac/atsame53j/src/lib.rs b/pac/atsame53j/src/lib.rs index bbf3cc296752..d9df9a3fe093 100644 --- a/pac/atsame53j/src/lib.rs +++ b/pac/atsame53j/src/lib.rs @@ -1,6 +1,5 @@ #![doc = "Peripheral access API for ATSAME53J microcontrollers (generated using svd2rust v0.20.0 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.20.0/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] -#![deny(const_err)] #![deny(dead_code)] #![deny(improper_ctypes)] #![deny(missing_docs)] diff --git a/pac/atsame53n/src/lib.rs b/pac/atsame53n/src/lib.rs index f485dc774e1e..fc0ef7203437 100644 --- a/pac/atsame53n/src/lib.rs +++ b/pac/atsame53n/src/lib.rs @@ -1,6 +1,5 @@ #![doc = "Peripheral access API for ATSAME53N microcontrollers (generated using svd2rust v0.20.0 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.20.0/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] -#![deny(const_err)] #![deny(dead_code)] #![deny(improper_ctypes)] #![deny(missing_docs)] diff --git a/pac/atsame54n/src/lib.rs b/pac/atsame54n/src/lib.rs index cb3b0ef5b729..e5240866e7fb 100644 --- a/pac/atsame54n/src/lib.rs +++ b/pac/atsame54n/src/lib.rs @@ -1,6 +1,5 @@ #![doc = "Peripheral access API for ATSAME54N microcontrollers (generated using svd2rust v0.20.0 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.20.0/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] -#![deny(const_err)] #![deny(dead_code)] #![deny(improper_ctypes)] #![deny(missing_docs)] diff --git a/pac/atsame54p/src/lib.rs b/pac/atsame54p/src/lib.rs index b48cd43d41dc..da997d571dd9 100644 --- a/pac/atsame54p/src/lib.rs +++ b/pac/atsame54p/src/lib.rs @@ -1,6 +1,5 @@ #![doc = "Peripheral access API for ATSAME54P microcontrollers (generated using svd2rust v0.20.0 ( ))\n\nYou can find an overview of the generated API [here].\n\nAPI features to be included in the [next] svd2rust release can be generated by cloning the svd2rust [repository], checking out the above commit, and running `cargo doc --open`.\n\n[here]: https://docs.rs/svd2rust/0.20.0/svd2rust/#peripheral-api\n[next]: https://github.com/rust-embedded/svd2rust/blob/master/CHANGELOG.md#unreleased\n[repository]: https://github.com/rust-embedded/svd2rust"] -#![deny(const_err)] #![deny(dead_code)] #![deny(improper_ctypes)] #![deny(missing_docs)]