File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
src/libsyntax_ext/deriving Expand file tree Collapse file tree 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> {
412412 _ => {
413413 // Non-ADT derive is an error, but it should have been
414414 // 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()
416417 return ;
417418 }
418419 } ;
@@ -486,7 +487,8 @@ impl<'a> TraitDef<'a> {
486487 _ => {
487488 // Non-Item derive is an error, but it should have been
488489 // 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()
490492 return ;
491493 }
492494 }
Original file line number Diff line number Diff line change @@ -92,7 +92,8 @@ fn inject_impl_of_structural_trait(
9292 _ => {
9393 // Non-Item derive is an error, but it should have been
9494 // 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()
9697 return ;
9798 }
9899 } ;
You can’t perform that action at this time.
0 commit comments