Commit 2940ef8
Fixes `collapsable_if` lint failing in CI pipelines.
The `assert_matches` stabilization that was expected to ship with Rust
1.95.0 was [reverted from the 1.95
beta](rust-lang/rust#154999) due to an
[inconsistency in temporary scoping
behavior](rust-lang/rust#154406) between
`assert_matches!`/`assert_eq!` and their `debug_` variants.
We gated `assert_matches` usage based on the nightly compiler warning
that the feature was "stable since 1.95.0" (see #612). Since the
stabilization was reverted before the actual release, this gate now
fires on stable 1.95 and tries to use an unstable API, breaking CI
pipelines.
This bumps the gate to `1.96.0`. Beta 1.96 currently still has
`assert_matches` available, though that may change if the
destabilization propagates.
---------
Co-authored-by: leon-xd <leondu@microsoft.com>
1 parent 2b992bc commit 2940ef8
3 files changed
Lines changed: 18 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
23 | | - | |
| 25 | + | |
24 | 26 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
163 | | - | |
| 162 | + | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
173 | 171 | | |
174 | 172 | | |
175 | 173 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
| |||
0 commit comments