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: 1.0.89
Choose a base ref
...
head repository: dtolnay/syn
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.0.90
Choose a head ref
  • 10 commits
  • 22 files changed
  • 1 contributor

Commits on Mar 26, 2022

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

Commits on Mar 27, 2022

  1. Configuration menu
    Copy the full SHA
    a9759cf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a0ed0d3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3d72c80 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c1a63c4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d545093 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    390e0c1 View commit details
    Browse the repository at this point in the history
  7. Switch non exhaustive syntax tree enums to use #[non_exhaustive]

    This follows through on the comments on the __TestExhaustive variants
    promising that their purpose will be substituted with a deny(reachable)
    rustc lint once one is available.
    
    That lint is now landing as non_exhaustive_omitted_patterns in Rust 1.57.
    The correct way to use it for checking exhaustivity of a match is:
    
        match expr {
            Expr::Array(e) => {...}
            Expr::Assign(e) => {...}
            ...
            Expr::Yield(e) => {...}
    
            #[cfg_attr(test, deny(non_exhaustive_omitted_patterns))]
            _ => { /* some sane fallback */ }
        }
    dtolnay committed Mar 27, 2022
    Configuration menu
    Copy the full SHA
    c6ce512 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #1067 from dtolnay/nonexhaustive

    Switch non exhaustive syntax tree enums to use #[non_exhaustive]
    dtolnay authored Mar 27, 2022
    Configuration menu
    Copy the full SHA
    be520c1 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2022

  1. Release 1.0.90

    dtolnay committed Mar 28, 2022
    Configuration menu
    Copy the full SHA
    a0f0bb3 View commit details
    Browse the repository at this point in the history
Loading