Skip to content

Crates generated with svd2rust 0.17.0 cause warnings on stable #437

Closed
@hannobraun

Description

@hannobraun

Here's what I'm getting when compiling with 1.42.0:

warning: lint `legacy_directory_ownership` has been removed: `converted into hard error, see https://github.com/rust-lang/rust/issues/37872`
 --> src/lib.rs:5:9
  |
5 | #![deny(legacy_directory_ownership)]
  |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(renamed_and_removed_lints)]` on by default

warning: lint `plugin_as_library` has been removed: `plugins have been deprecated and retired`
  --> src/lib.rs:12:9
   |
12 | #![deny(plugin_as_library)]
   |         ^^^^^^^^^^^^^^^^^

warning: lint `safe_extern_statics` has been removed: `converted into hard error, see https://github.com/rust-lang/rust/issues/36247`
  --> src/lib.rs:14:9
   |
14 | #![deny(safe_extern_statics)]
   |         ^^^^^^^^^^^^^^^^^^^

warning: unknown lint: `unions_with_drop_fields`
  --> src/lib.rs:16:9
   |
16 | #![deny(unions_with_drop_fields)]
   |         ^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(unknown_lints)]` on by default

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions