diff options
| author | Maybe Waffle <waffle.lapkin@gmail.com> | 2023-04-13 18:04:30 +0000 |
|---|---|---|
| committer | Maybe Waffle <waffle.lapkin@gmail.com> | 2023-04-13 18:04:30 +0000 |
| commit | 09a8791d42152bb08ecb99d029ef6ce51ef48aea (patch) | |
| tree | 63dd0bd4ee4f932790b9d9bd68285a15347fa051 /compiler/rustc_session/src | |
| parent | e4dae0dac76436ada630b519f5fbf0b373bc5974 (diff) | |
| download | rust-09a8791d42152bb08ecb99d029ef6ce51ef48aea.tar.gz rust-09a8791d42152bb08ecb99d029ef6ce51ef48aea.zip | |
Implement `Copy` for `LocationDetail`
Diffstat (limited to 'compiler/rustc_session/src')
| -rw-r--r-- | compiler/rustc_session/src/config.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_session/src/config.rs b/compiler/rustc_session/src/config.rs index acfb36c97d0..79eb31bb105 100644 --- a/compiler/rustc_session/src/config.rs +++ b/compiler/rustc_session/src/config.rs @@ -222,7 +222,7 @@ impl LinkerPluginLto { } /// The different settings that can be enabled via the `-Z location-detail` flag. -#[derive(Clone, PartialEq, Hash, Debug)] +#[derive(Copy, Clone, PartialEq, Hash, Debug)] pub struct LocationDetail { pub file: bool, pub line: bool, |
