Skip to content

Conversation

dianne
Copy link
Contributor

@dianne dianne commented Aug 26, 2025

  • Removes an unused trait and impl from the successful tests.
  • Adds a use following each assignment to test lifetime extension. Previously all but the last assignment were shadowed before use, so the temporary lifetimes were untested.

- Removes an unused trait and impl from the successful tests.
- Adds uses following all tests so they test lifetime extension.
@traviscross traviscross force-pushed the lifetime-extension-doctests branch from 1c49657 to 6c5013c Compare September 4, 2025 07:17
@traviscross traviscross added this pull request to the merge queue Sep 4, 2025
Merged via the queue into rust-lang:master with commit 0ec5eba Sep 4, 2025
5 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: The marked PR is awaiting review from a maintainer label Sep 4, 2025
@traviscross
Copy link
Contributor

Thanks.

@dianne dianne deleted the lifetime-extension-doctests branch September 4, 2025 10:24
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.

3 participants