rust/library/core/src/fmt
Stuart Cook fededb9906
Rollup merge of #139123 - thaliaarchi:core-alloc-test-paths, r=bjorn3
tidy: Fix paths to `coretests` and `alloctests`

Following `#135937` and `#136642`, tests for core and alloc are in coretests and alloctests. Fix tidy to lint for the new paths. Also, update comments referring to the old locations.

Some context for changes which don't match that pattern:
- `library/std/src/thread/local/dynamic_tests.rs` and `library/std/src/sync/mpsc/sync_tests.rs` were moved under `library/std/tests/` in 332fb7e6f1 (Move std::thread_local unit tests to integration tests, 2025-01-17) and b8ae372e48 (Move std::sync unit tests to integration tests, 2025-01-17), respectively, so are no longer special cases.
- There never was a `library/core/tests/fmt.rs` file. That comment previously referred to `src/test/ui/ifmt.rs`, which was folded into `library/alloc/tests/fmt.rs` in 949c96660c (move format! interface tests, 2020-09-08).

Now, the only matches for `(alloc|core)/tests` are in `compiler/rustc_codegen_{cranelift,gcc}/patches`. I don't know why CI hasn't broken because those patches can't apply. Or maybe they somehow still can apply?

r? `@bjorn3`
2025-04-06 16:21:02 +10:00
..
builders.rs Mark std::fmt::from_fn as #[must_use] 2025-02-03 20:17:27 +00:00
float.rs Reduce FormattingOptions to 64 bits. 2025-03-12 16:32:00 +01:00
fmt_trait_method_doc.md Document proper usage of fmt::Error and fmt()'s Result. 2024-05-09 17:58:38 -07:00
mod.rs Rollup merge of #139123 - thaliaarchi:core-alloc-test-paths, r=bjorn3 2025-04-06 16:21:02 +10:00
nofloat.rs Refactor floating macro and nofloat panic message 2024-10-15 22:27:06 +09:00
num.rs Auto merge of #136409 - TDecking:mul_hi, r=Mark-Simulacrum 2025-02-06 03:43:58 +00:00
rt.rs Simplify expansion for format_args!(). 2025-03-30 10:42:00 +02:00