diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-06-20 14:07:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-20 14:07:03 +0200 |
| commit | 7b91d11abb8883d903cbd09b07e022ede814b89d (patch) | |
| tree | 6d553cba9f4288d817ff81d9a5ebe98f453c50da /compiler/rustc_pattern_analysis/src/errors.rs | |
| parent | 9cbfbda1656230ce4ce2addcadef6fda65d11952 (diff) | |
| parent | 35c65a8c0cf018d472afec5adf9da8242adc8c23 (diff) | |
| download | rust-7b91d11abb8883d903cbd09b07e022ede814b89d.tar.gz rust-7b91d11abb8883d903cbd09b07e022ede814b89d.zip | |
Rollup merge of #126711 - GKFX:const-option-as-slice, r=oli-obk
Make Option::as_[mut_]slice const These two functions can both be made `const`. I have added them to the `const_option_ext` feature, #91930. I don't believe there is anything blocking stabilization of `as_slice`, but `as_mut_slice` contains mutable references so depends on `const_mut_refs`.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
