]> git.lizzy.rs Git - rust.git/commitdiff
Merge #6751
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Mon, 7 Dec 2020 18:41:07 +0000 (18:41 +0000)
committerGitHub <noreply@github.com>
Mon, 7 Dec 2020 18:41:07 +0000 (18:41 +0000)
6751: Use the right `def_crate` for builtin macros r=jonas-schievink a=jonas-schievink

Fixes the incorrect macro resolution in https://github.com/rust-analyzer/rust-analyzer/issues/6716

No test, because diagnostics do not get remapped correctly for some reason. I've checked manually that this fixes the resolution errors.

bors r+

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

Trivial merge