rust/src/librustc_resolve
Mazdak Farrokhzad 33f53d699c
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).
2019-08-12 10:58:18 +02:00
..
late diagnostics: Describe crate root modules in DefKind::Mod as "crate" 2019-08-10 23:17:20 +03:00
build_reduced_graph.rs resolve: Remove remaining special cases from built-in macros 2019-08-10 21:50:56 +03:00
Cargo.toml rustc: Remove dylib crate type from most rustc crates 2019-07-07 03:23:00 +02:00
check_unused.rs resolve: Turn resolve_error into a method on Resolver 2019-08-10 13:16:06 +03:00
diagnostics.rs Rollup merge of #63406 - jakubadamw:resolve-inconsistent-names-suggest-qualified-path, r=petrochenkov 2019-08-12 10:58:15 +02:00
error_codes.rs Remove lint annotations in specific crates that are already enforced by rustbuild 2019-07-28 18:46:24 +03:00
late.rs Apply suggestions from code review 2019-08-10 21:09:53 +00:00
lib.rs Rollup merge of #63449 - petrochenkov:builtinagain, r=eddyb 2019-08-12 10:58:18 +02:00
macros.rs resolve: Remove remaining special cases from built-in macros 2019-08-10 21:50:56 +03:00
resolve_imports.rs resolve: Address FIXME from the previous commit 2019-08-10 13:48:17 +03:00