We can manipulate rustc's spans only in nightly. With it, since we know where we are in the template source, we can then generate code with a span associated to this exact location. It would be a crazy improvement over the current situation and I don't think it would be too difficult to do as well.
Gonna reserve this issue for myself. =D
We can manipulate rustc's spans only in nightly. With it, since we know where we are in the template source, we can then generate code with a span associated to this exact location. It would be a crazy improvement over the current situation and I don't think it would be too difficult to do as well.
Gonna reserve this issue for myself. =D