diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-10-17 10:51:40 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-10-19 08:09:40 +1100 |
| commit | ca2561a07b01841ceef6790d78e12aaa1d2e3aec (patch) | |
| tree | 87c8e48616e64f4fe1790b7178a5feddb9b101b7 /compiler/rustc_codegen_gcc | |
| parent | 38988e62bc7672e1e85b7db4e3a885608d9a3888 (diff) | |
| download | rust-ca2561a07b01841ceef6790d78e12aaa1d2e3aec.tar.gz rust-ca2561a07b01841ceef6790d78e12aaa1d2e3aec.zip | |
Avoid cloning `RenderOptions`.
By moving `RenderOptions` out of `Option`, because the two structs' uses are almost entirely separate. The only complication is that `unstable_features` is needed in both structs, but it's a tiny `Copy` type so its duplication seems fine.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
