more rustc_pass_by_value

This commit is contained in:
lcnr 2022-07-04 09:40:58 +02:00
parent a5c6a48aee
commit 658b7f3652
4 changed files with 15 additions and 14 deletions

View file

@ -311,6 +311,7 @@ pub enum StatementKind<'tcx> {
/// Describes what kind of retag is to be performed.
#[derive(Copy, Clone, TyEncodable, TyDecodable, Debug, PartialEq, Eq, Hash, HashStable)]
#[rustc_pass_by_value]
pub enum RetagKind {
/// The initial retag when entering a function.
FnEntry,