rust/compiler/rustc_const_eval/src/util
Stuart Cook 9ace0de26b
Rollup merge of #147489 - chenyukang:yukang-prefer-repeat-n, r=Kivooeo,oli-obk
Prefer to use repeat_n over repeat().take()

More from https://github.com/rust-lang/rust/pull/147464, but batch processed with `ast-grep` to find and replace.

second commit add notes for library: affaf532f9

r? ``@RalfJung``
2025-10-09 18:43:26 +11:00
..
alignment.rs remove explicit deref of AbiAlign for most methods 2025-09-28 15:02:14 -07:00
caller_location.rs const_caller_location: edit FIXME to explain use of DUMMY_SP 2025-09-25 16:09:27 -04:00
check_validity_requirement.rs prefer to use repeat_n over repeat and take 2025-10-09 01:24:55 +08:00
compare_types.rs rename select_where_possible and select_all_or_error 2025-10-07 23:02:23 +01:00
mod.rs Pretty print pattern type values with transmute if they don't satisfy their pattern 2025-02-05 14:56:41 +00:00
type_name.rs Remove DynKind 2025-09-17 04:46:46 +02:00