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

Add Ident case to respan procedural macro #24390

Merged
merged 1 commit into from
Apr 15, 2022

Conversation

CriesofCarrots
Copy link
Contributor

@CriesofCarrots CriesofCarrots commented Apr 15, 2022

Problem

solana-ledger doesn't compile on Rust 1.61.0-nightly (76d770ac2 2022-04-02) and later. This is because of the respan procedural macro and this change: rust-lang/rust#95571
respan expects the module $name to parse as a None-delimited Group, but it is now parsing as an Ident.

Docs for solana-ledger and all crates that depend on it are hence broken, since docs.rs uses recent nightly for builds.

Summary of Changes

Add Ident case to match statement

@Aaron1011 , I wonder if you could take a look at this? Looks like you wrote our respan macro (thank you!), and also approved the rust-lang/rust#95571 change

Fixes #24361

@CriesofCarrots CriesofCarrots added the automerge Merge this Pull Request automatically once CI passes label Apr 15, 2022
@mergify
Copy link
Contributor

mergify bot commented Apr 15, 2022

automerge label removed due to a CI failure

@mergify mergify bot removed the automerge Merge this Pull Request automatically once CI passes label Apr 15, 2022
@codecov
Copy link

codecov bot commented Apr 15, 2022

Codecov Report

Merging #24390 (2d42ba9) into master (77182fc) will decrease coverage by 0.0%.
The diff coverage is 0.0%.

@@            Coverage Diff            @@
##           master   #24390     +/-   ##
=========================================
- Coverage    82.1%    82.1%   -0.1%     
=========================================
  Files         582      582             
  Lines      162388   162392      +4     
=========================================
- Hits       133397   133396      -1     
- Misses      28991    28996      +5     

@CriesofCarrots CriesofCarrots merged commit a0e3e3c into solana-labs:master Apr 15, 2022
mergify bot pushed a commit that referenced this pull request Apr 15, 2022
(cherry picked from commit a0e3e3c)
mergify bot pushed a commit that referenced this pull request Apr 15, 2022
(cherry picked from commit a0e3e3c)
CriesofCarrots pushed a commit that referenced this pull request Apr 16, 2022
(cherry picked from commit a0e3e3c)

Co-authored-by: Tyera Eulberg <[email protected]>
CriesofCarrots pushed a commit that referenced this pull request Apr 16, 2022
(cherry picked from commit a0e3e3c)

Co-authored-by: Tyera Eulberg <[email protected]>
jeffwashington pushed a commit to jeffwashington/solana that referenced this pull request Jun 23, 2022
jeffwashington pushed a commit to jeffwashington/solana that referenced this pull request Jun 23, 2022
jeffwashington pushed a commit to jeffwashington/solana that referenced this pull request Jun 23, 2022
jeffwashington pushed a commit to jeffwashington/solana that referenced this pull request Jun 28, 2022
jeffwashington pushed a commit to jeffwashington/solana that referenced this pull request Jun 28, 2022
jeffwashington pushed a commit to jeffwashington/solana that referenced this pull request Jun 28, 2022
jeffwashington pushed a commit to jeffwashington/solana that referenced this pull request Jun 28, 2022
jeffwashington pushed a commit to jeffwashington/solana that referenced this pull request Jun 30, 2022
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.

Various crate docs aren't building as of v1.10.7
2 participants