about summary refs log tree commit diff
path: root/src/test/rustdoc
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2019-06-18 22:23:13 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2019-07-11 00:12:07 +0300
commit48635226d8d71f18b09ea40f5cdbe34dbaaf378f (patch)
tree18c6d28bd7c6eecd2ebdfff76834f07d9947ad44 /src/test/rustdoc
parentc6a9e766f90a5271c2356fbc7941e38559200ab5 (diff)
downloadrust-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/test/rustdoc')
-rw-r--r--src/test/rustdoc/proc-macro.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/rustdoc/proc-macro.rs b/src/test/rustdoc/proc-macro.rs
index 1e396f1be0e..4bd0b092b55 100644
--- a/src/test/rustdoc/proc-macro.rs
+++ b/src/test/rustdoc/proc-macro.rs
@@ -7,7 +7,7 @@
 // @has some_macros/index.html
 // @has - '//a/[@href="attr.some_proc_attr.html"]' 'some_proc_attr'
 
-//! include a link to [some_proc_attr] to make sure it works.
+//! include a link to [some_proc_macro] to make sure it works.
 
 extern crate proc_macro;