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.37
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.38
Choose a head ref
  • 8 commits
  • 7 files changed
  • 2 contributors

Commits on Sep 24, 2023

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

Commits on Oct 2, 2023

  1. Ignore single_match_else pedantic clippy lint in test

        warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`
          --> tests/test_lit.rs:16:5
           |
        16 | /     match TokenStream::from_str(s)
        17 | |         .unwrap()
        18 | |         .into_iter()
        19 | |         .next()
        ...  |
        23 | |         _ => panic!(),
        24 | |     }
           | |_____^
           |
           = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match_else
           = note: `-W clippy::single-match-else` implied by `-W clippy::pedantic`
           = help: to override `-W clippy::pedantic` add `#[allow(clippy::single_match_else)]`
        help: try
           |
        16 ~     if let TokenTree::Literal(lit) = TokenStream::from_str(s)
        17 +         .unwrap()
        18 +         .into_iter()
        19 +         .next()
        20 +         .unwrap() { Lit::new(lit) } else { panic!() }
           |
    dtolnay committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    258e9e8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    137ae33 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    67ab64f View commit details
    Browse the repository at this point in the history
  4. Resolve single_match_else pedantic clippy lint in code generator

        warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`
           --> src/parse.rs:146:33
            |
        146 |                       let punct = match introspect_type(last_arg(&last.arguments), lookup) {
            |  _________________________________^
        147 | |                         types::Type::Token(s) => s,
        148 | |                         _ => panic!(),
        149 | |                     };
            | |_____________________^ help: try: `if let types::Type::Token(s) = introspect_type(last_arg(&last.arguments), lookup) { s } else { panic!() }`
            |
            = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match_else
            = note: `-W clippy::single-match-else` implied by `-W clippy::pedantic`
            = help: to override `-W clippy::pedantic` add `#[allow(clippy::single_match_else)]`
    dtolnay committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    7313d24 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2023

  1. Configuration menu
    Copy the full SHA
    6701e60 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1518 from Vanille-N/master

    Absolute path to `bool` in `custom_punctuation.rs`
    dtolnay authored Oct 5, 2023
    Configuration menu
    Copy the full SHA
    abd2c21 View commit details
    Browse the repository at this point in the history
  3. Release 2.0.38

    dtolnay committed Oct 5, 2023
    Configuration menu
    Copy the full SHA
    43632bf View commit details
    Browse the repository at this point in the history
Loading