From c75cf128d75b2562b7886f27144381427a02f4b2 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 6eca24028c2..e08b75fb52b 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 f6067f78a3f..4735f26e12e 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 b53916ff808..dbb313b73bb 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 6b15e0b94db..440ff79ab4c 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 2094625b458..617dd494b3f 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 30f1a7f6df9..27f7441e057 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 3f627e9b516..5afc57db740 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 81f20d3902b..2ec631bd06a 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 3416220e8bf..ebd7f798a78 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 568fc846e28..0e19102b7cd 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 2965387d0a1..64a855a04ab 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 4e9e2ce0922..1a3fa8991b8 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 bbf3cc29675..d9df9a3fe09 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 f485dc774e1..fc0ef720343 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 cb3b0ef5b72..e5240866e7f 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 b48cd43d41d..da997d571dd 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)]