Open Veykril opened 11 months ago
One of the things I hate about rustc errors in IDE is how they are split. Please don't repeat that mistake. Marking errors from macros is good, but splitting obligations lead to users reading (and copying) only half of the error.
Very rough information but we now have call and def site information for macros, so a diagnostic originating from the def site should be repoted at the call site with the def site info attached. We should be able to support this. Also needed for other non macro related things, once we track obligation causes and the like.