Skip to content

Warning regarding private macro use on Rust 1.79 #306

Closed
@gschulze

Description

@gschulze

I am getting the following warning on recent Rust versions. Although not an error, it would be nice to export the macro properly in a future release.

warning: macro Error is private
--> path/to/file.rs:40:10
|
| #[derive(Error, Debug)]
| ^^^^^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #120192 rust-lang/rust#120192
= note: #[warn(private_macro_use)] on by default

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions