diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2019-06-18 22:23:13 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2019-07-11 00:12:07 +0300 |
| commit | 48635226d8d71f18b09ea40f5cdbe34dbaaf378f (patch) | |
| tree | 18c6d28bd7c6eecd2ebdfff76834f07d9947ad44 /src/librustc/ich | |
| parent | c6a9e766f90a5271c2356fbc7941e38559200ab5 (diff) | |
| download | rust-48635226d8d71f18b09ea40f5cdbe34dbaaf378f.tar.gz rust-48635226d8d71f18b09ea40f5cdbe34dbaaf378f.zip | |
Remove `MacroKind::ProcMacroStub`
It's internal to resolve and always results in `Res::Err` outside of resolve. Instead put `DefKind::Fn`s themselves into the macro namespace, it's ok. Proc macro stubs are items placed into macro namespase for functions that define proc macros. https://github.com/rust-lang/rust/pull/52383 The rustdoc test is changed because the old test didn't actually reproduce the ICE it was supposed to reproduce.
Diffstat (limited to 'src/librustc/ich')
| -rw-r--r-- | src/librustc/ich/impls_syntax.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/librustc/ich/impls_syntax.rs b/src/librustc/ich/impls_syntax.rs index 1db18d30282..c09b2003f38 100644 --- a/src/librustc/ich/impls_syntax.rs +++ b/src/librustc/ich/impls_syntax.rs @@ -89,7 +89,6 @@ impl_stable_hash_for!(enum ::syntax::ext::base::MacroKind { Bang, Attr, Derive, - ProcMacroStub, }); |
