rust/library/core/src/str
Ralf Jung 19e287060d remove const-support for align_offset
Operations like is_aligned would return actively wrong results at compile-time,
i.e. calling it on the same pointer at compiletime and runtime could yield
different results. That's no good.

Instead of having hacks to make align_offset kind-of work in const-eval, just
use const_eval_select in the few places where it makes sense, which also ensures
those places are all aware they need to make sure the fallback behavior is
consistent.
2024-11-03 17:00:44 +01:00
..
converts.rs remove const-support for align_offset 2024-11-03 17:00:44 +01:00
count.rs Add blank lines after module-level //! comments. 2024-06-20 09:23:20 +10:00
error.rs add FIXME(const-hack) 2024-09-08 23:08:40 +02:00
iter.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
lossy.rs Utf8Chunks: add link to Utf8Chunk 2024-09-25 19:46:41 +02:00
mod.rs Rollup merge of #132398 - krtab:add_doc_link, r=Noratrieb 2024-11-02 08:33:11 +01:00
pattern.rs library: consistently use American spelling for 'behavior' 2024-10-25 12:02:47 +02:00
traits.rs remove const_slice_index annotations, it never had a feature gate anyway 2024-09-08 23:08:43 +02:00
validations.rs remove const-support for align_offset 2024-11-03 17:00:44 +01:00