| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-03-27 | Auto merge of #55780 - ogoffart:span_source_text, r=petrochenkov | bors | -0/+1 | |
| Introduce proc_macro::Span::source_text A function to extract the actual source behind a Span. Background: I would like to use `syn` in a `build.rs` script to parse the rust code, and extract part of the source code. However, `syn` only gives access to proc_macro2::Span, and i would like to get the source code behind that. I opened an issue on proc_macro2 bug tracker for this feature https://github.com/alexcrichton/proc-macro2/issues/110 and @alexcrichton said the feature should first go upstream in proc_macro. So there it is! Since most of the Span API is unstable anyway, this is guarded by the same `proc_macro_span` feature as everything else. | ||||
| 2019-02-24 | Use ? in some macros | Taiki Endo | -16/+16 | |
| 2019-02-10 | tests: doc comments | Alexander Regueiro | -2/+2 | |
| 2019-02-04 | libproc_macro => 2018 | Taiki Endo | -50/+58 | |
| 2018-12-26 | Work-around for shadowing of variant names with assoc const names in ↵ | Alexander Regueiro | -8/+14 | |
| `libproc_macro/bridge/rpc.rs`. | ||||
| 2018-12-26 | Store `Ident` rather than just `Name` in HIR types `Item` and `ForeignItem`. | Alexander Regueiro | -1/+1 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -80/+0 | |
| 2018-12-07 | Various minor/cosmetic improvements to code | Alexander Regueiro | -6/+6 | |
| 2018-12-01 | Introduce proc_macro::Span::source_text | Olivier Goffart | -0/+1 | |
| 2018-11-30 | proc_macro: introduce a "bridge" between clients (proc macros) and servers ↵ | Eduard-Mihai Burtescu | -0/+1982 | |
| (compiler front-ends). | ||||
