Sometimes, a backend may need to emit warnings, errors, or otherwise need to know the span of the current item in a basic block. So, add a set_span method to give the backend that information.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.