The assert_matches macro is due to be stabilized in std fairly soon. (In fact, it was planned for the next Rust released and de-stabilized at the last moment.)
Once that happens, we should stop importing the assert_matches crate and use the std macro directly in our tests.
The
assert_matchesmacro is due to be stabilized instdfairly soon. (In fact, it was planned for the next Rust released and de-stabilized at the last moment.)Once that happens, we should stop importing the
assert_matchescrate and use thestdmacro directly in our tests.