]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #63449 - petrochenkov:builtinagain, r=eddyb
authorMazdak Farrokhzad <twingoow@gmail.com>
Mon, 12 Aug 2019 08:58:18 +0000 (10:58 +0200)
committerGitHub <noreply@github.com>
Mon, 12 Aug 2019 08:58:18 +0000 (10:58 +0200)
commit33f53d699c9c4891df89d2f11ac51cd8523f5278
treeb1fc7f9c67d0a0ff20b6f6ec4e04b9cbd868c1fd
parente19ce5d16a10ddb56ffac054f1bc7c6d7b022410
parentfa7fe196018e5fec39dee7ca6567c2024e60daf6
Rollup merge of #63449 - petrochenkov:builtinagain, r=eddyb

resolve: Remove remaining special cases from built-in macros

Edition and definition sites of the macros are now also taken from the `#[rustc_builtin_macro]` definitions in `libcore`.

---
The edition switch may be a breaking change for `Rustc{Encodable,Decodable}` derives if they are used in combination with the unstable crate `serialize` from sysroot like this
```rust
extern crate serialize;
use serialize as rustc_serialize;

#[derive(RustcEncodable)]
struct S;
```
(see the updated `ui-fulldeps` tests).
src/librustc_resolve/lib.rs