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

Consolodate and improve use of old names #990

Merged
merged 1 commit into from Mar 1, 2024
Merged

Consolodate and improve use of old names #990

merged 1 commit into from Mar 1, 2024

Conversation

joshlf
Copy link
Member

@joshlf joshlf commented Mar 1, 2024

This commit builds on #980 in a few ways:

  • Consolodates use lines so we can avoid repeating the same comment multiple times.
  • Applies the same technique to the old LayoutVerified name (for what is now called Ref)
  • In Make old names errors instead of warnings #980, we spuriously left IntoBytes as AsBytes as a pub use rather than just a use, which caused us to need to keep the --cfg __INTERNAL_USE_ONLY_DISABLE_DEPRECATED_TRAIT_ALIASES in order to keep CI passing. We fix that in this commit, and thus can remove that --cfg.

This commit builds on #980 in a few ways:
- Consolodates `use` lines so we can avoid repeating the same comment
  multiple times.
- Applies the same technique to the old `LayoutVerified` name (for what
  is now called `Ref`)
- In #980, we spuriously left `IntoBytes as AsBytes` as a `pub use`
  rather than just a `use`, which caused us to need to keep the `--cfg
  __INTERNAL_USE_ONLY_DISABLE_DEPRECATED_TRAIT_ALIASES` in order to keep
  CI passing. We fix that in this commit, and thus can remove that
  `--cfg`.
@joshlf joshlf requested a review from jswrenn March 1, 2024 18:30
@joshlf joshlf added this pull request to the merge queue Mar 1, 2024
Merged via the queue into main with commit ac36ddb Mar 1, 2024
210 checks passed
@joshlf joshlf deleted the use-old-names branch March 1, 2024 18:46
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

2 participants