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> {
410410 _ => {
411411 // Non-ADT derive is an error, but it should have been
412412 // 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()
414415 return ;
415416 }
416417 } ;
@@ -461,7 +462,8 @@ impl<'a> TraitDef<'a> {
461462 _ => {
462463 // Non-Item derive is an error, but it should have been
463464 // 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()
465467 return ;
466468 }
467469 }
Original file line number Diff line number Diff line change @@ -89,7 +89,8 @@ fn inject_impl_of_structural_trait(cx: &mut ExtCtxt<'_>,
8989 _ => {
9090 // Non-Item derive is an error, but it should have been
9191 // 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()
9394 return ;
9495 }
9596 } ;
You can’t perform that action at this time.
0 commit comments