Closed
Description
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
Labels
No labels