diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-03-08 11:04:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-08 11:04:50 +0100 |
| commit | e22331ce02d9847a0837bddc074f0e7b5d34db13 (patch) | |
| tree | 6456bd8bcae7cd61ed1dbec6131ebffe4ab4d4d9 /compiler/rustc_codegen_llvm/src | |
| parent | e3ea69f0ce8f833858340d2735b6f763a6ee76bf (diff) | |
| parent | 19645ac05a3e5cd4e508e9819f4939fc2f959b5b (diff) | |
| download | rust-e22331ce02d9847a0837bddc074f0e7b5d34db13.tar.gz rust-e22331ce02d9847a0837bddc074f0e7b5d34db13.zip | |
Rollup merge of #92385 - clarfonthey:const_option, r=fee1-dead
Add Result::{ok, err, and, or, unwrap_or} as const
Already opened tracking issue #92384.
I don't think that this should actually cause any issues as long as the constness is unstable, but we may want to double-check that this doesn't get interpreted as a weird `Drop` bound even for non-const usages.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
