about summary refs log tree commit diff
path: root/tests/coverage/branch/generics.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-04-14 00:03:53 +0000
committerbors <bors@rust-lang.org>2024-04-14 00:03:53 +0000
commit7ab5eb8fe7aee35aea8ed4aed8c34f6abd988cc5 (patch)
tree777af5e88ef71b62636b35a9c232337fae4e73f0 /tests/coverage/branch/generics.rs
parent0bf471f339837af930ec90ef5e1e9cb232e99f29 (diff)
parent0f52cd0e71adf4d0062a15afdfd2a9cb832e3052 (diff)
downloadrust-7ab5eb8fe7aee35aea8ed4aed8c34f6abd988cc5.tar.gz
rust-7ab5eb8fe7aee35aea8ed4aed8c34f6abd988cc5.zip
Auto merge of #123819 - joboet:fmt_usize_marker, r=Mark-Simulacrum
Get rid of `USIZE_MARKER` in formatting infrastructure

An alternative to #123780.

The `USIZE_MARKER` function used to differentiate between placeholder and count arguments is never called anyway, so we can just replace the function-pointer-comparison hack with an `enum` and an `unreachable_unchecked`, hopefully without causing a regression.

CC `@RalfJung`
Diffstat (limited to 'tests/coverage/branch/generics.rs')
0 files changed, 0 insertions, 0 deletions