diff options
| author | Jubilee <workingjubilee@gmail.com> | 2024-09-09 00:17:50 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-09 00:17:50 -0700 |
| commit | 38520aed189fb7d62555b80e6213f41bccd4a3cd (patch) | |
| tree | 7e28819fd932851052029a33d760067e037f6ac8 /compiler/rustc_codegen_llvm/src | |
| parent | 09373b997de09d43dc76c328c3f8941374bb9065 (diff) | |
| parent | f7d4da65c7df37c316d9e2793dff1ae6c994c44d (diff) | |
| download | rust-38520aed189fb7d62555b80e6213f41bccd4a3cd.tar.gz rust-38520aed189fb7d62555b80e6213f41bccd4a3cd.zip | |
Rollup merge of #130087 - RalfJung:option-const-iter, r=workingjubilee
remove 'const' from 'Option::iter' This is kind of pointless to be a `const fn` since you can't do anything with the iterator. It is also the only `const fn iter*` in the entire standard library. It probably got constified when `~const` traits got added everywhere, and then was forgotten to be de-constified when that was undone. The rest of the const_option feature seems like it can reasonably be stabilized, but this one IMO should not be stabilized, and it's not worth creating a new tracking issue. Cc https://github.com/rust-lang/rust/issues/67441
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
