about summary refs log tree commit diff
path: root/compiler/rustc_errors/src/snippet.rs
diff options
context:
space:
mode:
authorDavid Wood <david.wood@huawei.com>2022-03-30 03:08:58 +0100
committerDavid Wood <david.wood@huawei.com>2022-04-05 07:01:02 +0100
commit8677fef192a1d121b9123aa481422505833b57fe (patch)
tree578f640f1ea3afea288717b5cce32e696fda2e1c /compiler/rustc_errors/src/snippet.rs
parent2bf64d64832be674f26fa6e92740ac71c00c2ee5 (diff)
downloadrust-8677fef192a1d121b9123aa481422505833b57fe.tar.gz
rust-8677fef192a1d121b9123aa481422505833b57fe.zip
macros: move suggestion type handling to fn
Move the handling of `Span` or `(Span, Applicability)` types in
`#[suggestion]` attributes to its own function.

Signed-off-by: David Wood <david.wood@huawei.com>
Diffstat (limited to 'compiler/rustc_errors/src/snippet.rs')
0 files changed, 0 insertions, 0 deletions