add #[rustc_pass_by_value]
to more types
This commit is contained in:
parent
67b3e81838
commit
b8135fd5c8
27 changed files with 165 additions and 152 deletions
|
@ -197,6 +197,7 @@ impl Parse for Newtype {
|
|||
#(#attrs)*
|
||||
#[derive(Clone, Copy, PartialEq, Eq, Hash, #(#derive_paths),*)]
|
||||
#[rustc_layout_scalar_valid_range_end(#max)]
|
||||
#[rustc_pass_by_value]
|
||||
#vis struct #name {
|
||||
private: u32,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue