]> git.lizzy.rs Git - rust.git/commitdiff
Merge #6698
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Wed, 2 Dec 2020 13:25:54 +0000 (13:25 +0000)
committerGitHub <noreply@github.com>
Wed, 2 Dec 2020 13:25:54 +0000 (13:25 +0000)
6698: Attach macro expansion errors to the right file r=jonas-schievink a=jonas-schievink

Previously it attached them to the result of the macro expansion (or, if no result was produced, to the file containing the invocation). Always use the file containing the invocation.

This doesn't seem to have any observable difference, but seems better in theory.

bors r+

Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>

Trivial merge