File tree 2 files changed +6
-3
lines changed
src/libsyntax_ext/deriving
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -412,7 +412,8 @@ impl<'a> TraitDef<'a> {
412
412
_ => {
413
413
// Non-ADT derive is an error, but it should have been
414
414
// set earlier; see
415
- // libsyntax/ext/expand.rs:MacroExpander::expand()
415
+ // libsyntax_expand/expand.rs:MacroExpander::fully_expand_fragment()
416
+ // libsyntax_expand/base.rs:Annotatable::derive_allowed()
416
417
return ;
417
418
}
418
419
} ;
@@ -486,7 +487,8 @@ impl<'a> TraitDef<'a> {
486
487
_ => {
487
488
// Non-Item derive is an error, but it should have been
488
489
// set earlier; see
489
- // libsyntax/ext/expand.rs:MacroExpander::expand()
490
+ // libsyntax_expand/expand.rs:MacroExpander::fully_expand_fragment()
491
+ // libsyntax_expand/base.rs:Annotatable::derive_allowed()
490
492
return ;
491
493
}
492
494
}
Original file line number Diff line number Diff line change @@ -92,7 +92,8 @@ fn inject_impl_of_structural_trait(
92
92
_ => {
93
93
// Non-Item derive is an error, but it should have been
94
94
// set earlier; see
95
- // libsyntax/ext/expand.rs:MacroExpander::expand()
95
+ // libsyntax_expand/expand.rs:MacroExpander::fully_expand_fragment()
96
+ // libsyntax_expand/base.rs:Annotatable::derive_allowed()
96
97
return ;
97
98
}
98
99
} ;
You can’t perform that action at this time.
0 commit comments