Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

PACs need to be regenerated to remove lint diagnostic #648

Closed
pabigot opened this issue Dec 18, 2022 · 0 comments · Fixed by #683
Closed

PACs need to be regenerated to remove lint diagnostic #648

pabigot opened this issue Dec 18, 2022 · 0 comments · Fixed by #683

Comments

@pabigot
Copy link
Contributor

pabigot commented Dec 18, 2022

With Rust 1.66 all pacs produce:

    warning: lint `const_err` has been removed: converted into hard error, see issue #71800 <https://github.com/rust-lang/rust/issues/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

svdrust v0.27.0 or later is needed to remove this lint from the generated code.

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

Successfully merging a pull request may close this issue.

1 participant