| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-07-27 | mv std libs to library/ | mark | -1840/+0 | |
| 2020-07-26 | proc_macro: Add API for tracked access to environment variables | Vadim Petrochenkov | -0/+7 | |
| 2020-05-15 | Clarify use of format_args in Debug for Literal | David Tolnay | -0/+1 | |
| 2020-05-15 | Fix {:#?} representation of proc_macro::Literal | David Tolnay | -4/+10 | |
| Before: TokenStream [ Ident { ident: "name", span: #0 bytes(37..41), }, Punct { ch: '=', spacing: Alone, span: #0 bytes(42..43), }, Literal { lit: Lit { kind: Str, symbol: "SNPP", suffix: None }, span: Span { lo: BytePos(44), hi: BytePos(50), ctxt: #0 } }, Punct { ch: ',', spacing: Alone, span: #0 bytes(50..51), }, Ident { ident: "owner", span: #0 bytes(56..61), }, Punct { ch: '=', spacing: Alone, span: #0 bytes(62..63), }, Literal { lit: Lit { kind: Str, symbol: "Canary M Burns", suffix: None }, span: Span { lo: BytePos(64), hi: BytePos(80), ctxt: #0 } }, ] After: TokenStream [ Ident { ident: "name", span: #0 bytes(37..41), }, Punct { ch: '=', spacing: Alone, span: #0 bytes(42..43), }, Literal { kind: Str, symbol: "SNPP", suffix: None, span: #0 bytes(44..50), }, Punct { ch: ',', spacing: Alone, span: #0 bytes(50..51), }, Ident { ident: "owner", span: #0 bytes(56..61), }, Punct { ch: '=', spacing: Alone, span: #0 bytes(62..63), }, Literal { kind: Str, symbol: "Canary M Burns", suffix: None, span: #0 bytes(64..80), }, ] | ||||
| 2020-04-21 | proc_macro::is_available() | David Tolnay | -0/+7 | |
| 2020-03-06 | fix various typos | Matthias Krüger | -2/+2 | |
| 2019-12-22 | Format the world | Mark Rousskov | -98/+26 | |
| 2019-10-28 | proc_macro: don't use Rust ABI fn pointers in a C ABI fn signature. | Eduard-Mihai Burtescu | -2/+2 | |
| 2019-10-28 | proc_macro: consolidate bridge::client::run_expand{1,2} into one helper. | Eduard-Mihai Burtescu | -48/+23 | |
| 2019-10-28 | proc_macro: remove now-unnecessary ICE workarounds from bridge::client. | Eduard-Mihai Burtescu | -10/+9 | |
| 2019-10-03 | proc_macro: Add `Span::mixed_site` exposing `macro_rules` hygiene | Vadim Petrochenkov | -0/+1 | |
| 2019-08-17 | Serialize additional data for procedural macros | Aaron Hill | -0/+8 | |
| Split off from #62855 This PR deerializes the declaration `Span` and attributes for all procedural macros from their underlying function definitions. This allows Rustdoc to properly render doc comments and source links when inlining procedural macros across crates | ||||
| 2019-07-28 | Deny `unused_lifetimes` through rustbuild | Vadim Petrochenkov | -0/+1 | |
| 2019-07-04 | Rollup merge of #62249 - czipperz:use-mem-take-instead-of-replace-default, ↵ | Mazdak Farrokhzad | -1/+1 | |
| r=dtolnay,Centril Use mem::take instead of mem::replace with default | ||||
| 2019-07-03 | Remove needless lifetimes | Jeremy Stucki | -1/+1 | |
| 2019-07-01 | Use mem::take instead of mem::replace with default | Chris Gregory | -1/+1 | |
| 2019-06-23 | Fix meta-variable binding errors in macros | Julien Cretin | -3/+3 | |
| The errors are either: - The meta-variable used in the right-hand side is not bound (or defined) in the left-hand side. - The meta-variable used in the right-hand side does not repeat with the same kleene operator as its binder in the left-hand side. Either it does not repeat enough, or it uses a different operator somewhere. This change should have no semantic impact. | ||||
| 2019-04-09 | proc_macro: stop using LEB128 for RPC. | Eduard-Mihai Burtescu | -23/+13 | |
| 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). | ||||
