rust/src/libsyntax/ext
Ariel Ben-Yehuda 824b307ff7 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).
2017-11-14 01:24:36 +02:00
..
tt Rollup merge of #44088 - bjorn3:better_trace_macros, r=jseyfried 2017-09-17 13:19:00 +02:00
base.rs suggest an outer attribute when #![derive(...)] (predictably) fails 2017-09-21 21:20:31 -07:00
build.rs Implement RFC 1925 2017-09-01 12:46:37 -05:00
derive.rs Make fields of Span private 2017-08-30 01:38:54 +03:00
expand.rs avoid the pprust infrastructure in macro expansion 2017-11-14 01:24:36 +02:00
placeholders.rs Lifting Generics from MethodSig to TraitItem and ImplItem since we want to support generics in each variant of TraitItem and ImplItem 2017-10-17 22:14:14 -04:00
quote.rs Add support for ..= syntax 2017-09-22 22:05:18 +02:00
source_util.rs Rename FileMap::path and change to an Option 2017-10-03 19:47:33 +10:00