Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dtolnay/syn
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.0.18
Choose a base ref
...
head repository: dtolnay/syn
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.0.20
Choose a head ref
  • 20 commits
  • 16 files changed
  • 3 contributors

Commits on May 30, 2023

  1. Configuration menu
    Copy the full SHA
    d1bf43a View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2023

  1. Configuration menu
    Copy the full SHA
    250a08d View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1466 from dtolnay/threadboundclone

    Fix call of proc_macro::Span::clone on the wrong thread
    dtolnay authored Jun 5, 2023
    Configuration menu
    Copy the full SHA
    2a001f4 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2023

  1. *Resolve* spanned errors at call/mixed site

    - This fixes the error message loss (shadowed by an error complaining about `::core` not found) for 2015 edition callers when the callee was using `Error::new_spanned` over the caller's input tokens (since this would then *resolve* `::core` using the caller's edition).
    
      - an example: wasm-bindgen/wasm-bindgen#3415 (comment) complains about `unresolved import` while pointing to an open parenthesis.
    
    
    - More generally, it is more correct to only tweak the `located_at` aspect of spans when dealing with a `compile_error!` invocation.
    danielhenrymantilla authored Jun 7, 2023
    Configuration menu
    Copy the full SHA
    a091982 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2023

  1. Merge pull request #1467 from danielhenrymantilla/located_at_error

    *Resolve* spanned errors at call/mixed site
    dtolnay authored Jun 8, 2023
    Configuration menu
    Copy the full SHA
    145142a View commit details
    Browse the repository at this point in the history
  2. Implement compile_error using call site span

    Mixed site is equivalent to def site for local variables, labels, and
    $crate; and equivalent to call site for all other name resolution. Since
    it is being used here for a macro invocation which is not one of the
    above 3 def site scenarios, directly using call_site is clearer to me.
    dtolnay committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    8aeb1d7 View commit details
    Browse the repository at this point in the history
  3. Release 2.0.19

    dtolnay committed Jun 8, 2023
    Configuration menu
    Copy the full SHA
    35e6821 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2023

  1. Configuration menu
    Copy the full SHA
    e53120a View commit details
    Browse the repository at this point in the history
  2. Revert "*Resolve* spanned errors at call/mixed site"

    This reverts commit a091982.
    dtolnay committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    aa1de30 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2023

  1. Configuration menu
    Copy the full SHA
    fe4b750 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2023

  1. Configuration menu
    Copy the full SHA
    31035aa View commit details
    Browse the repository at this point in the history
  2. Categorize new parse failures

    dtolnay committed Jun 20, 2023
    Configuration menu
    Copy the full SHA
    ed8dcbd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    782fd24 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2023

  1. Configuration menu
    Copy the full SHA
    8e94e99 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f052630 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2023

  1. Configuration menu
    Copy the full SHA
    85d41e1 View commit details
    Browse the repository at this point in the history
  2. Move syn-codegen crate to own workspace

    Fixes this error when attempting to build syn with a compiler older
    than 1.64:
    
        error: failed to select a version for the requirement `hashbrown = "^0.14"`
        candidate versions found which didn't match: 0.13.2, 0.13.1, 0.12.3, ...
        location searched: crates.io index
        required by package `indexmap v2.0.0`
            ... which satisfies dependency `indexmap = "^2"` of package `syn-codegen v0.4.0`
    dtolnay committed Jun 24, 2023
    Configuration menu
    Copy the full SHA
    7fa4584 View commit details
    Browse the repository at this point in the history
  3. Release syn-codegen 0.4.0

    dtolnay committed Jun 24, 2023
    Configuration menu
    Copy the full SHA
    db3381a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d422546 View commit details
    Browse the repository at this point in the history
  5. Release 2.0.20

    dtolnay committed Jun 24, 2023
    Configuration menu
    Copy the full SHA
    0d55124 View commit details
    Browse the repository at this point in the history
Loading