diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-08-15 13:13:14 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-09-01 08:52:34 +1000 |
| commit | d3e2c93498d2ed4b924ac7b1d42bd824d58ffe0e (patch) | |
| tree | 86e874bbe93352715f421aa4faedbf8bdafdde02 /compiler/rustc_codegen_gcc/example/std_example.rs | |
| parent | d7faa5630daf13c3d298e81ac329bf048a0d5a01 (diff) | |
| download | rust-d3e2c93498d2ed4b924ac7b1d42bd824d58ffe0e.tar.gz rust-d3e2c93498d2ed4b924ac7b1d42bd824d58ffe0e.zip | |
Use trait object references for closures.
The dynamic dispatch cost doesn't matter for MIR dumping, which is perf-insensitive. And it's necessary for the next commit, which will store some `extra_data` closures in a struct.
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions
