mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 19:27:30 +03:00
97edb9f336
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>