Files
rust/src/libsyntax
Guillaume Gomez 3c1ea047da Rollup merge of #45973 - arielb1:fast-path, r=estebank
avoid the pprust infrastructure in macro expansion

This changes macro expansion to format the path of a macro directly
instead of usng the pprust infrastructure. The pprust infrastructure
tries to perform line-breaking in a slow fashion, which is undesired
when formatting the path of a macro.

This should to speed up expansion by a fair amount (I saw 20% on a
profiler on `rustc_mir`, and 50% of the time marked as "expansion" in
the profiler/time-passes is actually spent loading dependencies).

r? @jseyfried
2017-11-16 10:05:03 +01:00
..
2017-05-24 16:40:03 -04:00
2017-09-20 20:48:06 +02:00
2017-08-30 01:38:54 +03:00
2017-09-22 22:05:18 +02:00
2016-11-21 09:00:56 +00:00
2017-06-07 12:15:39 +09:00
2017-08-30 01:38:54 +03:00
2017-10-20 16:04:32 +02:00
2017-08-30 01:38:54 +03:00
2017-08-30 01:38:54 +03:00

NB: This crate is part of the Rust compiler. For an overview of the compiler as a whole, see the README.md file found in librustc.

The syntax crate contains those things concerned purely with syntax that is, the AST ("abstract syntax tree"), parser, pretty-printer, lexer, macro expander, and utilities for traversing ASTs.