diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-08-12 17:09:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-12 17:09:19 +0200 |
| commit | 7c6dca90509fe94e775bfd5d2c7132fb210f57b4 (patch) | |
| tree | 03125ecb6327917b43531b1690d41760fae3f4ec /compiler/rustc_infer/src/lib.rs | |
| parent | bb35b888b5f92c844b962a752b2f91628e0cc0b7 (diff) | |
| parent | c361c924a08c2e34c705ec3ee1ad2099315338d8 (diff) | |
| download | rust-7c6dca90509fe94e775bfd5d2c7132fb210f57b4.tar.gz rust-7c6dca90509fe94e775bfd5d2c7132fb210f57b4.zip | |
Rollup merge of #128978 - compiler-errors:assert-matches, r=jieyouxu
Use `assert_matches` around the compiler more It's a useful assertion, especially since it actually prints out the LHS.
Diffstat (limited to 'compiler/rustc_infer/src/lib.rs')
| -rw-r--r-- | compiler/rustc_infer/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_infer/src/lib.rs b/compiler/rustc_infer/src/lib.rs index b65ac859667..25ac8ba974b 100644 --- a/compiler/rustc_infer/src/lib.rs +++ b/compiler/rustc_infer/src/lib.rs @@ -18,6 +18,7 @@ #![allow(rustc::untranslatable_diagnostic)] #![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")] #![doc(rust_logo)] +#![feature(assert_matches)] #![feature(box_patterns)] #![feature(control_flow_enum)] #![feature(extend_one)] |
