sourcegen need to detect and complain about "stray" #[sourcegen::generated] attributes if they were split off the main #[sourcegen::sourcegen(..)] attribute.
Currently it fails complaining it does not see generator attribute. Instead, it should give an explanation what's going on and how to fix it.
sourcegen
need to detect and complain about "stray"#[sourcegen::generated]
attributes if they were split off the main#[sourcegen::sourcegen(..)]
attribute.Currently it fails complaining it does not see
generator
attribute. Instead, it should give an explanation what's going on and how to fix it.