]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #64189 - phansch:add_macros_support, r=estebank
authorMazdak Farrokhzad <twingoow@gmail.com>
Fri, 6 Sep 2019 17:00:47 +0000 (19:00 +0200)
committerGitHub <noreply@github.com>
Fri, 6 Sep 2019 17:00:47 +0000 (19:00 +0200)
annotate-snippet emitter: Deal with multispans from macros, too

This moves the two methods from the `EmitterWriter` impl to trait
default methods in the `Emitter` trait so that they can be re-used by
the `AnnotateSnippetEmitterWriter`.

r? @estebank

Closes #61810


Trivial merge