1 // Support for legacy derive helpers is limited and heuristic-based
2 // (that's exactly the reason why they are deprecated).
5 // aux-build:test-macros.rs
8 extern crate test_macros;
10 use derive as my_derive;
16 // Legacy helper detection doesn't see through `derive` renaming.
17 #[empty_helper] //~ ERROR cannot find attribute `empty_helper` in this scope