This repository was archived by the owner on Jan 21, 2023. It is now read-only.

Description
In addition to having matches! in stable, std now has assert_matches! in the latest nightly.
This results in compile-time errors for users of the matches crate if they have a wildcard use matches::*;.
Would you consider making new versions of matches re-export these macros from std if they're available? (While assert_matches is on nightly, this would require some level of compile-time detection; if you don't want to do that, and you don't mind bumping MSRV, this could wait until assert_matches is stable.)
I've confirmed that re-exporting a macro from the prelude eliminates this breakage: rustc doesn't consider two names to conflict if they're the same underlying item.