mirror of
https://github.com/rust-lang/rust.git
synced 2026-01-01 11:55:31 +00:00
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.