diff options
| author | Kornel <kornel@geekhood.net> | 2021-08-07 12:51:58 +0100 |
|---|---|---|
| committer | Kornel <kornel@geekhood.net> | 2021-08-07 14:48:27 +0100 |
| commit | 7dca8eb5653fb7ae5efbea2b80941997fead5ce3 (patch) | |
| tree | 7fc0a868920125abcd93a120519a16f4909bf8a8 /library/alloc/tests/lib.rs | |
| parent | 215712283f044b902ef36f792e7360bb7690a65b (diff) | |
Use assert_matches! instead of if let {} else
Diffstat (limited to 'library/alloc/tests/lib.rs')
| -rw-r--r-- | library/alloc/tests/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/alloc/tests/lib.rs b/library/alloc/tests/lib.rs index b3e048a6587..8fca2662fc3 100644 --- a/library/alloc/tests/lib.rs +++ b/library/alloc/tests/lib.rs @@ -1,4 +1,5 @@ #![feature(allocator_api)] +#![feature(assert_matches)] #![feature(box_syntax)] #![feature(cow_is_borrowed)] #![feature(const_cow_is_borrowed)] |
