]> git.lizzy.rs Git - rust.git/commit
Merge #4173
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Mon, 27 Apr 2020 20:12:27 +0000 (20:12 +0000)
committerGitHub <noreply@github.com>
Mon, 27 Apr 2020 20:12:27 +0000 (20:12 +0000)
commitda1f316b0246ce41d7cb8560181e294089f06ef3
treed73e1927a6e3d57df3a1cbd64abdb2de0a735e2d
parent7a9ba1657daa9fd90c639dcd937da11b4f526675
parentc69f9c1b0a849b2cf5349e707508358e42bc8bb5
Merge #4173

4173: Use core instead of std for builtin derive macros r=edwin0cheng a=edwin0cheng

Fixed #4087.

We can't use `$crate` here right now because :

1. We have to able to detect `macro` 2.0 in collecting phase for finding `rustc_builtin_macro` attrs.
2. And we have to make hygiene works for builtin derive macro.

r= @flodiebold

Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>