about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/debug.rs
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2022-05-22 23:10:27 +0200
committerest31 <MTest31@outlook.com>2022-06-01 02:28:34 +0200
commitcfc21deebd948e99c553cb6ad14ddb91368257d3 (patch)
tree4826db4d20fbe5c21454e3c38b83611a67270829 /compiler/rustc_mir_transform/src/coverage/debug.rs
parente810f750a2a407f9caeabba39059578e844add14 (diff)
downloadrust-cfc21deebd948e99c553cb6ad14ddb91368257d3.tar.gz
rust-cfc21deebd948e99c553cb6ad14ddb91368257d3.zip
Add #[rustc_box]
This commit adds an alternative content boxing syntax,
and uses it inside alloc.

The usage inside the very performance relevant code in
liballoc is the only remaining relevant usage of box syntax
in the compiler (outside of tests, which are comparatively
easy to port).

box syntax was originally designed to be used by all Rust
developers. This introduces a replacement syntax more tailored
to only being used inside the Rust compiler, and with it,
lays the groundwork for eventually removing box syntax.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions