diff options
| author | bors <bors@rust-lang.org> | 2019-09-15 08:17:57 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-09-15 08:17:57 +0000 |
| commit | 117cdf35d46cb4dbb246e300a492c860a86233be (patch) | |
| tree | 109e3227f1b4076c99874c94dc9aa1d554781f2b /src/test/debuginfo/function-arg-initialization.rs | |
| parent | 8bf776d5c2fc88624d2562e493aab0d324a3b7d8 (diff) | |
| parent | 8ab67c8f560a730b8978f4a42deb70d01ca1cdfc (diff) | |
| download | rust-117cdf35d46cb4dbb246e300a492c860a86233be.tar.gz rust-117cdf35d46cb4dbb246e300a492c860a86233be.zip | |
Auto merge of #64469 - matthewjasper:increase-hygiene-use, r=petrochenkov
Cleanup handling of hygiene for built-in macros
This makes most identifiers generated by built-in macros use def-site hygiene, not only the ones that previously used gensyms.
* `ExtCtxt::ident_of` now takes a `Span` and is preferred to `Ident::{from_str, from_str_and_span}`
* Remove `Span::with_legacy_ctxt`
* `assert` now uses call-site hygiene because it needs to resolve `panic` unhygienically.
* `concat_idents` now uses call-site hygiene because it wouldn't be very useful with def-site hygiene.
* everything else is moved to def-site hygiene
r? @petrochenkov
Diffstat (limited to 'src/test/debuginfo/function-arg-initialization.rs')
0 files changed, 0 insertions, 0 deletions
