diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-09-22 19:19:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-22 19:19:16 +0200 |
| commit | c43a9ea146c299d5dcc6fefb86a186d110845229 (patch) | |
| tree | 924fc3247016b86fd7d41047f71cd73db0991c3f /compiler/rustc_codegen_llvm/src | |
| parent | f40efa44ab3027e627a527c46af5a40a2cb8e2b0 (diff) | |
| parent | 89c3cbafb8d212468e899660af5b95f3b9df4bc6 (diff) | |
| download | rust-c43a9ea146c299d5dcc6fefb86a186d110845229.tar.gz rust-c43a9ea146c299d5dcc6fefb86a186d110845229.zip | |
Rollup merge of #130692 - RalfJung:result-flatten, r=Noratrieb
make unstable Result::flatten a const fn This method is still unstable (tracked at https://github.com/rust-lang/rust/issues/70142), but there's no reason I can see for it not to be const -- after all, `Option::flatten` is const. So let's make the `Result` one `const` as well, under the same feature gate. Cc https://github.com/rust-lang/rust/issues/70142
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
