Make rustdoc deal with macros. Rustdoc still fails, though; we think it needs to do an unparallelized, non-failure-ignoring resolve.
This commit is contained in:
parent
0930b95395
commit
a57686d46d
1 changed files with 2 additions and 0 deletions
|
|
@ -107,6 +107,8 @@ fn build_ctxt(sess: session,
|
|||
import rustc::front::config;
|
||||
|
||||
let ast = config::strip_unconfigured_items(ast);
|
||||
let ast = syntax::ext::expand::expand_crate(sess.parse_sess,
|
||||
sess.opts.cfg, ast);
|
||||
let ast = front::test::modify_for_testing(sess, ast);
|
||||
let ast_map = ast_map::map_crate(sess.diagnostic(), *ast);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue