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 @@ -410,7 +410,8 @@ impl<'a> TraitDef<'a> {
410
410
_ => {
411
411
// Non-ADT derive is an error, but it should have been
412
412
// set earlier; see
413
- // libsyntax/ext/expand.rs:MacroExpander::expand()
413
+ // libsyntax_expand/expand.rs:MacroExpander::fully_expand_fragment()
414
+ // libsyntax_expand/base.rs:Annotatable::derive_allowed()
414
415
return ;
415
416
}
416
417
} ;
@@ -461,7 +462,8 @@ impl<'a> TraitDef<'a> {
461
462
_ => {
462
463
// Non-Item derive is an error, but it should have been
463
464
// set earlier; see
464
- // libsyntax/ext/expand.rs:MacroExpander::expand()
465
+ // libsyntax_expand/expand.rs:MacroExpander::fully_expand_fragment()
466
+ // libsyntax_expand/base.rs:Annotatable::derive_allowed()
465
467
return ;
466
468
}
467
469
}
Original file line number Diff line number Diff line change @@ -89,7 +89,8 @@ fn inject_impl_of_structural_trait(cx: &mut ExtCtxt<'_>,
89
89
_ => {
90
90
// Non-Item derive is an error, but it should have been
91
91
// set earlier; see
92
- // libsyntax/ext/expand.rs:MacroExpander::expand()
92
+ // libsyntax_expand/expand.rs:MacroExpander::fully_expand_fragment()
93
+ // libsyntax_expand/base.rs:Annotatable::derive_allowed()
93
94
return ;
94
95
}
95
96
} ;
You can’t perform that action at this time.
0 commit comments