Vadim Petrochenkov
68f94e94ed
resolve: Centralize some error reporting for unexpected macro resolutions
2020-11-19 19:25:20 +03:00
Vadim Petrochenkov
69894ce9ac
resolve: Introduce a separate NonMacroAttrKind
for legacy derive helpers
2020-11-19 19:25:20 +03:00
Mara Bos
92dcf6d733
Rollup merge of #78999 - petrochenkov:deprid, r=eddyb
...
stability: More precise location for deprecation lint on macros
One missing piece of https://github.com/rust-lang/rust/pull/73178 .
2020-11-18 15:46:25 +01:00
Vadim Petrochenkov
ac4c1f58b9
rustc_resolve: Make macro_rules
scope chain compression lazy
2020-11-14 00:35:56 +03:00
Vadim Petrochenkov
909c8945b1
stability: More precise location for deprecation lint on macros
2020-11-12 22:53:42 +03:00
Vadim Petrochenkov
922107919d
resolve: Collapse macro_rules
scope chains on the fly
2020-11-07 02:18:29 +03:00
Vadim Petrochenkov
ef09ed2002
resolve: Relax macro resolution consistency check to account for any errors
2020-10-24 21:26:08 +03:00
Joshua Nelson
be2947d0b7
Give a better error message for duplicate built-in macros
...
Previously, this would say no such macro existed, but this was
misleading, since the macro _did_ exist, it was just already seen.
- Say where the macro was previously defined
- Add long-form error message
2020-09-01 08:34:17 -04:00
mark
9e5f7d5631
mv compiler to compiler/
2020-08-30 18:45:07 +03:00