mirror of
https://github.com/rust-lang/rust.git
synced 2026-01-21 00:20:38 +00:00
Adds a simple helper function to the `SourceMap` for extending a `Span` to encompass the entire line it is on - useful for suggestions where removing a line is the suggested action. Signed-off-by: David Wood <david.wood@huawei.com>