44#[ macro_export]
55macro_rules! return_mode_expression {
66 (
7- ( copy, $maybe_backdate : ident , $ maybe_default: ident) ,
7+ ( copy, $maybe_default: ident) ,
88 $field_ty: ty,
99 $field_ref_expr: expr,
1010 ) => {
1111 * $field_ref_expr
1212 } ;
1313
1414 (
15- ( clone, $maybe_backdate : ident , $ maybe_default: ident) ,
15+ ( clone, $maybe_default: ident) ,
1616 $field_ty: ty,
1717 $field_ref_expr: expr,
1818 ) => {
1919 :: core:: clone:: Clone :: clone( $field_ref_expr)
2020 } ;
2121
2222 (
23- ( ref, $maybe_backdate : ident , $ maybe_default: ident) ,
23+ ( ref, $maybe_default: ident) ,
2424 $field_ty: ty,
2525 $field_ref_expr: expr,
2626 ) => {
2727 $field_ref_expr
2828 } ;
2929
3030 (
31- ( deref, $maybe_backdate : ident , $ maybe_default: ident) ,
31+ ( deref, $maybe_default: ident) ,
3232 $field_ty: ty,
3333 $field_ref_expr: expr,
3434 ) => {
3535 :: core:: ops:: Deref :: deref( $field_ref_expr)
3636 } ;
3737
3838 (
39- ( as_ref, $maybe_backdate : ident , $ maybe_default: ident) ,
39+ ( as_ref, $maybe_default: ident) ,
4040 $field_ty: ty,
4141 $field_ref_expr: expr,
4242 ) => {
4343 :: salsa:: SalsaAsRef :: as_ref( $field_ref_expr)
4444 } ;
4545
4646 (
47- ( as_deref, $maybe_backdate : ident , $ maybe_default: ident) ,
47+ ( as_deref, $maybe_default: ident) ,
4848 $field_ty: ty,
4949 $field_ref_expr: expr,
5050 ) => {
@@ -55,47 +55,47 @@ macro_rules! return_mode_expression {
5555#[ macro_export]
5656macro_rules! return_mode_ty {
5757 (
58- ( copy, $maybe_backdate : ident , $ maybe_default: ident) ,
58+ ( copy, $maybe_default: ident) ,
5959 $db_lt: lifetime,
6060 $field_ty: ty
6161 ) => {
6262 $field_ty
6363 } ;
6464
6565 (
66- ( clone, $maybe_backdate : ident , $ maybe_default: ident) ,
66+ ( clone, $maybe_default: ident) ,
6767 $db_lt: lifetime,
6868 $field_ty: ty
6969 ) => {
7070 $field_ty
7171 } ;
7272
7373 (
74- ( ref, $maybe_backdate : ident , $ maybe_default: ident) ,
74+ ( ref, $maybe_default: ident) ,
7575 $db_lt: lifetime,
7676 $field_ty: ty
7777 ) => {
7878 & $db_lt $field_ty
7979 } ;
8080
8181 (
82- ( deref, $maybe_backdate : ident , $ maybe_default: ident) ,
82+ ( deref, $maybe_default: ident) ,
8383 $db_lt: lifetime,
8484 $field_ty: ty
8585 ) => {
8686 & $db_lt <$field_ty as :: core:: ops:: Deref >:: Target
8787 } ;
8888
8989 (
90- ( as_ref, $maybe_backdate : ident , $ maybe_default: ident) ,
90+ ( as_ref, $maybe_default: ident) ,
9191 $db_lt: lifetime,
9292 $field_ty: ty
9393 ) => {
9494 <$field_ty as :: salsa:: SalsaAsRef >:: AsRef <$db_lt>
9595 } ;
9696
9797 (
98- ( as_deref, $maybe_backdate : ident , $ maybe_default: ident) ,
98+ ( as_deref, $maybe_default: ident) ,
9999 $db_lt: lifetime,
100100 $field_ty: ty
101101 ) => {
0 commit comments