]> git.lizzy.rs Git - rust.git/commit
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)
commit57e900e453ab271aa30371208aee9cf95f836ab6
treeb74a2f20db8a3f9a95a6a743a52fe51e6b8f2526
parent8bbd71b99a3993c83267a25c62f990139e277f3b
parent159d249705659ecb2ef41623105cab1c9f95b802
Rollup merge of #64189 - phansch:add_macros_support, r=estebank

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