Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement compile_error using call site span
Mixed site is equivalent to def site for local variables, labels, and $crate; and equivalent to call site for all other name resolution. Since it is being used here for a macro invocation which is not one of the above 3 def site scenarios, directly using call_site is clearer to me.
- Loading branch information