| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-04-27 | Rollup merge of #68716 - petrochenkov:stabmixed, r=dtolnay | Dylan DPC | -1/+1 | |
| Stabilize `Span::mixed_site` Closes https://github.com/rust-lang/rust/issues/65049. cc https://github.com/rust-lang/rust/issues/54727#issuecomment-580647446 Pre-requisite for https://github.com/rust-lang/rust/pull/68717 ("Stabilize fn-like proc macros in expression, pattern and statement positions"). Stabilization report: https://github.com/rust-lang/rust/pull/68716#issuecomment-581076337. | ||||
| 2020-04-26 | Stabilize `Span::mixed_site` | Vadim Petrochenkov | -1/+1 | |
| 2020-04-26 | proc_macro: Fix since attributes for new Span methods | Jonas Platte | -2/+2 | |
| 2020-04-25 | Auto merge of #71556 - Dylan-DPC:rollup-9ll4shr, r=Dylan-DPC | bors | -2/+2 | |
| Rollup of 7 pull requests Successful merges: - #69041 (proc_macro: Stabilize `Span::resolved_at` and `Span::located_at`) - #69813 (Implement BitOr and BitOrAssign for the NonZero integer types) - #70712 (stabilize BTreeMap::remove_entry) - #71168 (Deprecate `{Box,Rc,Arc}::into_raw_non_null`) - #71544 (Replace filter_map().next() calls with find_map()) - #71545 (Fix comment in docstring example for Error::kind) - #71548 (Add missing Send and Sync impls for linked list Cursor and CursorMut.) Failed merges: r? @ghost | ||||
| 2020-04-25 | Bump rustfmt to most recently shipped | Mark Rousskov | -2/+2 | |
| 2020-04-25 | Bump bootstrap compiler | Mark Rousskov | -3/+2 | |
| 2020-04-25 | proc_macro: Stabilize `Span::resolved_at` and `Span::located_at` | Vadim Petrochenkov | -2/+2 | |
| 2020-04-22 | Add tracking issue for proc_macro_is_available | David Tolnay | -1/+1 | |
| 2020-04-21 | proc_macro::is_available() | David Tolnay | -0/+18 | |
| 2020-03-26 | introduce `negative_impls` feature gate and document | Niko Matsakis | -0/+1 | |
| They used to be covered by `optin_builtin_traits` but negative impls are now applicable to all traits, not just auto traits. This also adds docs in the unstable book for the current state of auto traits. | ||||
| 2020-03-15 | Use min_specialization in libstd and libproc_macro | Matthew Jasper | -1/+2 | |
| 2020-03-11 | Give LexError more descriptive Display impl | Kinsey Favre | -1/+1 | |
| 2020-03-11 | Correct stability attribute for new LexError impls | Kinsey Favre | -2/+2 | |
| 2020-03-11 | Add Display and Error impls for proc_macro::LexError | Kinsey Favre | -1/+11 | |
| This should allow LexError to play much nicer with the `?` operator. | ||||
| 2020-01-10 | Remove unnecessary `const_fn` feature gates | Dylan MacKenzie | -1/+0 | |
| This flag opts out of the min-const-fn checks entirely, which is usually not what we want. The few cases where the flag is still necessary have been annotated. | ||||
| 2019-12-22 | Format the world | Mark Rousskov | -36/+22 | |
| 2019-11-12 | Snap cfgs | Mark Rousskov | -1/+0 | |
| 2019-10-25 | RFC 2008: Stabilization | David Wood | -1/+1 | |
| This commit stabilizes RFC 2008 (#44109) by removing the feature gate. Signed-off-by: David Wood <david@davidtw.co> | ||||
| 2019-10-08 | Stabilize mem::take (mem_take) | Jon Gjengset | -1/+0 | |
| Tracking issue: https://github.com/rust-lang/rust/issues/61129 | ||||
| 2019-10-03 | proc_macro: Add `Span::mixed_site` exposing `macro_rules` hygiene | Vadim Petrochenkov | -0/+9 | |
| 2019-09-25 | Snap cfgs to new beta | Mark Rousskov | -1/+1 | |
| 2019-08-27 | proc_macro: Turn `quote` into a regular built-in macro | Vadim Petrochenkov | -4/+6 | |
| Previously in was implemented using a special hack in the metadata loader | ||||
| 2019-07-28 | Remove lint annotations in specific crates that are already enforced by ↵ | Vadim Petrochenkov | -2/+0 | |
| rustbuild Remove some random unnecessary lint `allow`s | ||||
| 2019-07-01 | Enable mem_take feature in relevant crates | Chris Gregory | -0/+1 | |
| 2019-04-05 | Use for_each to extend collections | Josh Stone | -3/+1 | |
| This updates the `Extend` implementations to use `for_each` for many collections: `BinaryHeap`, `BTreeMap`, `BTreeSet`, `LinkedList`, `Path`, `TokenStream`, `VecDeque`, and `Wtf8Buf`. Folding with `for_each` enables better performance than a `for`-loop for some iterators, especially if they can just forward to internal iterators, like `Chain` and `FlatMap` do. | ||||
| 2019-03-27 | Auto merge of #55780 - ogoffart:span_source_text, r=petrochenkov | bors | -0/+12 | |
| 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-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 | -6/+6 | |
| 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 | -6/+6 | |
| 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 | -16/+17 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -10/+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 | -10/+10 | |
| 2018-12-01 | Introduce proc_macro::Span::source_text | Olivier Goffart | -0/+12 | |
| 2018-11-30 | proc_macro: move the rustc server to syntax_ext. | Eduard-Mihai Burtescu | -10/+0 | |
| 2018-11-30 | proc_macro: remove the __internal module. | Eduard-Mihai Burtescu | -98/+0 | |
| 2018-11-30 | proc_macro: introduce a "bridge" between clients (proc macros) and servers ↵ | Eduard-Mihai Burtescu | -293/+170 | |
| (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 | -2/+2 | |
| 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 | -2/+2 | |
| Also updates the issue number for 'proc_macro_diagnostic'. | ||||
| 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 | ||||
