<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/test/rustdoc/proc-macro.rs, branch 1.52.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.52.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.52.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2019-08-24T17:11:57+00:00</updated>
<entry>
<title>Improve Rustdoc's handling of procedural macros</title>
<updated>2019-08-24T17:11:57+00:00</updated>
<author>
<name>Aaron Hill</name>
<email>aa1ronham@gmail.com</email>
</author>
<published>2019-07-20T20:34:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=14986081355db0a2ae67df6a43dd9e6e360d718c'/>
<id>urn:sha1:14986081355db0a2ae67df6a43dd9e6e360d718c</id>
<content type='text'>
Fixes #58700
Fixes #58696
Fixes #49553
Fixes #52210

This commit removes the special rustdoc handling for proc macros, as we
can now
retrieve their span and attributes just like any other item.

A new command-line option is added to rustdoc: `--crate-type`. This
takes the same options as rustc's `--crate-type` option. However, all
values other than `proc-macro` are treated the same. This allows Rustdoc
to enable 'proc macro mode' when handling a proc macro crate.

In compiletest, a new 'rustdoc-flags' option is added. This allows us to
pass in the '--proc-macro-crate' flag in the absence of Cargo.

I've opened [an additional PR to
Cargo](https://github.com/rust-lang/cargo/pull/7159) to support passing
in this flag.
These two PRS can be merged in any order - the Cargo changes will not
take effect until the 'cargo' submodule is updated in this repository.
</content>
</entry>
<entry>
<title>Remove `MacroKind::ProcMacroStub`</title>
<updated>2019-07-10T21:12:07+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2019-06-18T19:23:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=48635226d8d71f18b09ea40f5cdbe34dbaaf378f'/>
<id>urn:sha1:48635226d8d71f18b09ea40f5cdbe34dbaaf378f</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>add intra-doc link test to proc-macro test</title>
<updated>2019-01-22T21:44:19+00:00</updated>
<author>
<name>QuietMisdreavus</name>
<email>grey@quietmisdreavus.net</email>
</author>
<published>2019-01-22T21:44:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b876694734cfc5919b8c12527c287aea1a8d8cfd'/>
<id>urn:sha1:b876694734cfc5919b8c12527c287aea1a8d8cfd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove licenses</title>
<updated>2018-12-26T04:08:33+00:00</updated>
<author>
<name>Mark Rousskov</name>
<email>mark.simulacrum@gmail.com</email>
</author>
<published>2018-12-25T15:56:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=2a663555ddf36f6b041445894a8c175cd1bc718c'/>
<id>urn:sha1:2a663555ddf36f6b041445894a8c175cd1bc718c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustdoc: Fix local reexports of proc macros</title>
<updated>2018-12-08T18:33:09+00:00</updated>
<author>
<name>Oliver Middleton</name>
<email>olliemail27@gmail.com</email>
</author>
<published>2018-12-08T18:27:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0bb075f5a512affd6f5bb6a573e8b0188e6c0132'/>
<id>urn:sha1:0bb075f5a512affd6f5bb6a573e8b0188e6c0132</id>
<content type='text'>
Filter out `ProcMacroStub`s to avoid an ICE during cleaning.

Also add proc macros to `cache().paths` so it can generate links.
</content>
</entry>
<entry>
<title>tests: use `force-host` and `no-prefer-dynamic` in all proc_macro tests.</title>
<updated>2018-11-30T04:15:20+00:00</updated>
<author>
<name>Eduard-Mihai Burtescu</name>
<email>edy.burt@gmail.com</email>
</author>
<published>2018-11-24T13:34:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=3369929ddb7a3be8048636ed376d05f1a3295378'/>
<id>urn:sha1:3369929ddb7a3be8048636ed376d05f1a3295378</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tests: remove ignore-stage1 where possible in proc_macro tests.</title>
<updated>2018-11-30T04:15:20+00:00</updated>
<author>
<name>Eduard-Mihai Burtescu</name>
<email>edy.burt@gmail.com</email>
</author>
<published>2018-03-20T18:20:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d3ab4a74efad266155fcd402c8d159af9e443e3d'/>
<id>urn:sha1:d3ab4a74efad266155fcd402c8d159af9e443e3d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>check for proc-macros in "all items"</title>
<updated>2018-09-27T15:22:29+00:00</updated>
<author>
<name>QuietMisdreavus</name>
<email>grey@quietmisdreavus.net</email>
</author>
<published>2018-09-27T15:22:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d37f3696b167251a96b8f0e4b33336d023daa2c5'/>
<id>urn:sha1:d37f3696b167251a96b8f0e4b33336d023daa2c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>handle proc-macros as macros instead of functions</title>
<updated>2018-09-25T19:56:43+00:00</updated>
<author>
<name>QuietMisdreavus</name>
<email>grey@quietmisdreavus.net</email>
</author>
<published>2018-09-25T19:56:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=aea1bd0a5908430d41b6f2d38240f2652ef5651f'/>
<id>urn:sha1:aea1bd0a5908430d41b6f2d38240f2652ef5651f</id>
<content type='text'>
</content>
</entry>
</feed>
