| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-02-14 | Rollup merge of #57856 - lzutao:fix-old-first-edition, r=steveklabnik | Mazdak Farrokhzad | -1/+3 | |
| Convert old first edition links to current edition one r? @steveklabnik | ||||
| 2019-02-13 | Convert old doc links to current edition | Lzu Tao | -1/+3 | |
| Use footnote style to bypass the tidy check | ||||
| 2019-02-12 | Auto merge of #58341 - alexreg:cosmetic-2-doc-comments, r=steveklabnik | bors | -12/+12 | |
| Cosmetic improvements to doc comments This has been factored out from https://github.com/rust-lang/rust/pull/58036 to only include changes to documentation comments (throughout the rustc codebase). r? @steveklabnik Once you're happy with this, maybe we could get it through with r=1, so it doesn't constantly get invalidated? (I'm not sure this will be an issue, but just in case...) Anyway, thanks for your advice so far! | ||||
| 2019-02-10 | tests: doc comments | Alexander Regueiro | -12/+12 | |
| 2019-02-10 | Revert removed #![feature(nll)] | Taiki Endo | -0/+1 | |
| 2019-02-07 | Remove images' url to make it work even without internet connection | Guillaume Gomez | -3/+1 | |
| 2019-02-04 | libproc_macro => 2018 | Taiki Endo | -90/+100 | |
| 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 | -110/+0 | |
| 2018-12-19 | proc_macro: Validate tokens coming from the compiler again | Vadim Petrochenkov | -21/+0 | |
| 2018-12-07 | Various minor/cosmetic improvements to code | Alexander Regueiro | -16/+16 | |
| 2018-12-01 | Introduce proc_macro::Span::source_text | Olivier Goffart | -0/+13 | |
| 2018-11-30 | Statically link proc_macro into proc macros. | Eduard-Mihai Burtescu | -2/+0 | |
| 2018-11-30 | proc_macro: move the rustc server to syntax_ext. | Eduard-Mihai Burtescu | -749/+0 | |
| 2018-11-30 | proc_macro: remove the __internal module. | Eduard-Mihai Burtescu | -135/+57 | |
| 2018-11-30 | proc_macro: introduce a "bridge" between clients (proc macros) and servers ↵ | Eduard-Mihai Burtescu | -409/+2697 | |
| (compiler front-ends). | ||||
| 2018-11-20 | Add unstable Literal::subspan(). | Sergio Benitez | -1/+46 | |
| 2018-11-13 | fix various typos in doc comments | Andy Russell | -6/+6 | |
| 2018-10-01 | All `proc_macro_span` APIs tracked at #54725 now | Alex Crichton | -24/+24 | |
| 2018-10-01 | Span::def_site() is now at #54724 | Alex Crichton | -1/+1 | |
| 2018-10-01 | The `proc_macro_raw_ident` feature is now at #54723 | Alex Crichton | -1/+1 | |
| 2018-10-01 | The `proc_macro_quote` feature now lives at #54722 | Alex Crichton | -4/+4 | |
| 2018-09-27 | Bump to 1.31.0 and bootstrap from 1.30 beta | Josh Stone | -1/+1 | |
| 2018-09-19 | Make 'proc_macro::MultiSpan' public. | Sergio Benitez | -1/+1 | |
| 2018-09-13 | Add multispan support to proc-macro diagnostics. | Sergio Benitez | -41/+74 | |
| Also updates the issue number for 'proc_macro_diagnostic'. | ||||
| 2018-09-12 | Add inspection and setter methods to proc_macro::Diagnostic. | Sergio Benitez | -0/+51 | |
| 2018-09-12 | Auto merge of #53793 - toidiu:ak-stabalize, r=nikomatsakis | bors | -1/+0 | |
| stabilize outlives requirements https://github.com/rust-lang/rust/issues/44493 r? @nikomatsakis | ||||
| 2018-09-11 | stabalize infer outlives requirements (RFC 2093). | toidiu | -1/+0 | |
| Co-authored-by: nikomatsakis | ||||
| 2018-09-09 | Remove documentation about proc_macro being bare-bones | David Tolnay | -7/+0 | |
| 2018-09-08 | Track distinct spans for open and close delimiter | David Tolnay | -26/+12 | |
| 2018-09-02 | proc_macro::Group::span_open and span_close | David Tolnay | -1/+42 | |
| Before this addition, every delimited group like (...) [...] {...} has only a single Span that covers the full source location from opening delimiter to closing delimiter. This makes it impossible for a procedural macro to trigger an error pointing to just the opening or closing delimiter. The Rust compiler does not seem to have the same limitation: mod m { type T = } error: expected type, found `}` --> src/main.rs:3:1 | 3 | } | ^ On that same input, a procedural macro would be forced to trigger the error on the last token inside the block, on the entire block, or on the next token after the block, none of which is really what you want for an error like above. This commit adds group.span_open() and group.span_close() which access the Span associated with just the opening delimiter and just the closing delimiter of the group. Relevant to Syn as we implement real error messages for when parsing fails in a procedural macro. | ||||
| 2018-08-24 | check that adding infer-outlives requirement to all crates works | Niko Matsakis | -0/+1 | |
| 2018-08-21 | Rollup merge of #53496 - matthiaskrgr:codespell_08_2018, r=varkor | kennytm | -1/+1 | |
| Fix typos found by codespell. | ||||
| 2018-08-19 | fix tidy errors | Donato Sciarra | -1/+1 | |
| 2018-08-19 | mv codemap() source_map() | Donato Sciarra | -1/+1 | |
| 2018-08-19 | mv filemap source_file | Donato Sciarra | -4/+4 | |
| 2018-08-19 | mv FileMap SourceFile | Donato Sciarra | -3/+3 | |
| 2018-08-19 | Fix typos found by codespell. | Matthias Krüger | -1/+1 | |
| 2018-08-16 | Auto merge of #53433 - kennytm:rollup, r=kennytm | bors | -3/+2 | |
| Rollup of 10 pull requests Successful merges: - #52946 (Documented impl From on line 367 of libserialize/json.rs) - #53234 (Remove Travis shutdown debug scripts, and remove CI-specific DNS settings) - #53313 (Two small improvements) - #53360 (Addressed #51602) - #53364 (Warn if the user tries to use GATs) - #53373 (Tweak unclosed delimiter parser error) - #53377 (std: Use target_pointer_width for BACKTRACE_ELF_SIZE) - #53395 (Use #[non_exhaustive] on internal enums) - #53399 (Tidy: ignore non-Markdown files when linting for the Unstable Book) - #53412 (syntax_ext: remove leftover span_err_if_not_stage0 macro.) | ||||
| 2018-08-16 | Auto merge of #53304 - dtolnay:extend, r=dtolnay | bors | -0/+14 | |
| TokenStream::extend Two new insta-stable impls in libproc_macro: ```rust impl Extend<TokenTree> for TokenStream impl Extend<TokenStream> for TokenStream ``` `proc_macro::TokenStream` already implements `FromIterator<TokenTree>` and `FromIterator<TokenStream>` so I elected to support the same input types for `Extend`. **This commit reduces compile time of Serde derives by 60% (takes less than half as long to compile)** as measured by building our test suite: ```console $ git clone https://github.com/serde-rs/serde $ cd serde/test_suite $ cargo check --tests --features proc-macro2/nightly $ rm -f ../target/debug/deps/libtest_*.rmeta $ time cargo check --tests --features proc-macro2/nightly Before: 20.8 seconds After: 8.6 seconds ``` r? @alexcrichton | ||||
| 2018-08-15 | Make proc_macro Level #[non_exhaustive] | varkor | -3/+2 | |
| 2018-08-12 | TokenStream::extend | David Tolnay | -0/+14 | |
| 2018-08-09 | [nll] libproc_macro: enable feature(nll) for bootstrap | memoryruins | -0/+1 | |
| 2018-07-25 | Deny bare_trait_objects globally | Tatsuyuki Ishi | -1/+0 | |
| 2018-07-20 | proc_macro: avoid exposing internal details in formatting impls. | Eduard-Mihai Burtescu | -7/+37 | |
| 2018-07-20 | proc_macro: move some implementation details to a rustc module. | Eduard-Mihai Burtescu | -258/+305 | |
| 2018-07-20 | proc_macro: don't expose compiler-internal FileName in public API. | Eduard-Mihai Burtescu | -16/+7 | |
| 2018-07-20 | proc_macro: clean up the implementation of quasi-quoting. | Eduard-Mihai Burtescu | -183/+96 | |
| 2018-07-20 | proc_macro: don't try to reflect literals in quasi-quoting. | Eduard-Mihai Burtescu | -95/+16 | |
