Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Rust crate proc-macro2 to 1.0.81 #52

Merged
merged 1 commit into from
May 1, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 1, 2024

Mend Renovate

This PR contains the following updates:

Package Type Update Change
proc-macro2 dependencies patch 1 -> 1.0.81

Release Notes

dtolnay/proc-macro2 (proc-macro2)

v1.0.81

Compare Source

  • Documentation improvements

v1.0.80

Compare Source

  • Add Literal::byte_character constructor (#​449)
  • Add Literal::c_string constructor #​450)

v1.0.79

Compare Source

  • Clean up dead code

v1.0.78

Compare Source

v1.0.77

Compare Source

v1.0.76

Compare Source

  • Work around dead_code warning false positive (#​435)

v1.0.75

Compare Source

  • Improve error messages related to proc_macro::LexError (#​434)

v1.0.74

Compare Source

  • Work around improperly cached build script result by sccache (#​432)

v1.0.73

Compare Source

  • Documentation improvements

v1.0.72

Compare Source

  • Improve build script to be robust to proc_macro::Span unstable API changes

v1.0.71

Compare Source

  • Turn on deny(unsafe_op_in_unsafe_fn) lint

v1.0.70

Compare Source

  • Add #[track_caller] on Ident::new so that panics on invalid input are attributed to the caller (#​423)

v1.0.69

Compare Source

  • Fix Span::source_text() bug causing panics or incorrect source text (#​410)

v1.0.68

Compare Source

  • Fix panic in Span::source_text() when source contains multibyte characters (#​408)

v1.0.67

Compare Source

  • Special handling for the (/*ERROR*/) placeholder that rustc uses for macros that fail to expand (#​405)

v1.0.66

Compare Source

  • Raise required compiler from Rust 1.31 to 1.56

v1.0.65

Compare Source

  • Documentation improvements

v1.0.64

Compare Source

  • Fix parsing of bare \r in between tokens (#​399)

v1.0.63

Compare Source

v1.0.62

Compare Source

yanked

v1.0.61

Compare Source

  • Stricter parsing of whitespace in cooked string literals and between tokens (#​392, #​393)

v1.0.60

Compare Source

  • Eliminate uses of unstable proc_macro::Span::before/after (#​391)

v1.0.59

Compare Source

  • Enable proc_macro support on wasm targets (#​388)

v1.0.58

Compare Source

  • Make rustc version detection more robust by compiling against modernest stable features (#​384)

v1.0.57

Compare Source

v1.0.56

Compare Source

  • Circumvent clippy::octal_escapes lint inside generated string and byte-string literals (#​363, #​380)
  • Provide RefUnwindSafe impls for compilers older than 1.58 (#​382)

v1.0.55

Compare Source

  • Set a meaningful Span for literals produced via the FromStr impl of Literal (#​378)
  • Implement Literal::subspan in non-macro contexts when "span-locations" feature is enabled (#​379)

v1.0.54

Compare Source

  • Performance improvement to "span-locations" feature (#​373)
  • Fix unbounded memory usage when calling proc-macro2's parser from a fuzzer (#​374)

v1.0.53

Compare Source

  • Add support for Rust 1.66's source_text() method (#​350)

v1.0.52

Compare Source

v1.0.51

Compare Source

  • Implement rustc's limit on the number of # used for delimiting a raw string literal: 255 (#​364)

v1.0.50

Compare Source

  • Implement Hash for proc_macro2::LineColumn (#​362)

v1.0.49

Compare Source

  • Opt out of -Zrustdoc-scrape-examples on docs.rs for now

v1.0.48

Compare Source

  • Documentation improvements

v1.0.47

Compare Source

  • Fix integer overflow when nesting depth of nested comments exceeds 4 billion (#​357)

v1.0.46

Compare Source

  • Make proc_macro2::TokenStream's FromStr impl consistent with proc_macro::TokenStream's on strings that begin with a byte order mark \u{feff} (#​353)

v1.0.45

Compare Source

  • Fix panic on parsing disallowed raw identifiers such as r#self (#​351)

v1.0.44

Compare Source

v1.0.43

Compare Source

  • Add keywords to crates.io metadata

v1.0.42

Compare Source

  • Improve parsing performance in non-macro mode (#​335)
  • Expose a size_hint() for TokenStream's iterator (#​334)

v1.0.41

Compare Source

  • Produce an accurate .size_hint() from TokenStream's iterator (#​334)

v1.0.40

Compare Source

v1.0.39

Compare Source

v1.0.38

Compare Source

  • Reduce allocations done by Literal::byte_string constructor (#​328)

v1.0.37

Compare Source

  • Rely on unicode-xid to optimize ASCII properly (#​325)

v1.0.36

Compare Source

  • Improve performance of creating literal tokens through quote! macro

v1.0.35

Compare Source

  • Try to diagnose "cannot find type SourceFile" errors better (#​311)

v1.0.34

Compare Source

  • Work around doc build failure due to docs.rs flags change (#​310)

v1.0.33

Compare Source

v1.0.32

Compare Source

v1.0.31

Compare Source

  • Update Cargo metadata to new repository location

v1.0.30

Compare Source

  • Use proc_macro::is_available on Rust 1.57+ to support projects built with panic=abort or cg_clif (#​300, thanks @​bjorn3)

v1.0.29

Compare Source

  • Pick up stable implementation of proc_macro's impl FromStr for Literal (#​287)

v1.0.28

Compare Source

v1.0.27

Compare Source

v1.0.26

Compare Source

  • Add impl LexError { pub fn span(&self) -> Span } (#​283)

v1.0.25

Compare Source

v1.0.24

Compare Source

  • Implement Error and Display for proc_macro2::LexError, matching the libproc_macro impls which exists in Rust 1.44+ (#​240)

v1.0.23

Compare Source

v1.0.22

Compare Source

v1.0.21

Compare Source

v1.0.20

Compare Source

v1.0.19

Compare Source

  • Remove procmacro2_semver_exempt feature gate on all methods stabilized in Rust 1.45 (#​243)

v1.0.18

Compare Source

  • Fix discrepancy with libproc_macro in handling of negative numbers in token streams (#​235)

v1.0.17

Compare Source

  • Allow using proc_macro2::fallback::force() from 1.0.12 at the same time as proc-macro2 = { default-features = false } (#​233)

v1.0.16

Compare Source

v1.0.15

Compare Source

  • Support parsing arbitrarily deeply nested token streams without using excessive stack space (#​231, #​232)

v1.0.14

Compare Source

v1.0.13

Compare Source

  • Parse literal suffix on byte string, byte, and char literal tokens: br#"..."#suffix, b'?'suffix, '?'suffix

v1.0.12

Compare Source

  • Add a way to force avoid using the compiler's libproc_macro implementation even when available (#​220)

v1.0.11

Compare Source

(yanked)

v1.0.10

Compare Source

  • Enable span-locations feature when building for play.rust-lang.org

v1.0.9

Compare Source

  • Match the escaping behavior of libproc_macro when displaying non-ascii strings and characters

v1.0.8

Compare Source

v1.0.7

Compare Source

  • Return meaningful spans from Group::span_open and Group::span_close when running with span-locations feature enabled outside of a procedural macro

v1.0.6

Compare Source

  • No code changes.

Just retriggering a docs.rs build because 1.0.5 failed. See https://github.com/alexcrichton/proc-macro2/issues/203 and https://github.com/rust-lang/docs.rs/issues/440.

v1.0.5

Compare Source

  • Improve performance of impl Extend<TokenTree> for TokenStream (#​198)

v1.0.4

Compare Source

  • Add Literal::subspan method to match libproc_macro (#​195)

v1.0.3

Compare Source

  • Treat dev builds of rustc the same as a nightly, with unstable features available

v1.0.2

Compare Source

  • Add impl From<TokenTree> for TokenStream to match libproc_macro

v1.0.1

Compare Source

  • Documentation improvements
  • Fail with a better error message when being built on a compiler that is too old

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot merged commit 18aa851 into main May 1, 2024
1 check passed
@renovate renovate bot deleted the renovate/proc-macro2-1.x branch May 1, 2024 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants