test(allocator): fix compile fail doctest#21400
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
There was a problem hiding this comment.
Pull request overview
This PR fixes a compile-fail doctest intended to verify that Arena is not Sync, by correcting the import path so the doctest fails for the intended reason (trait bound) rather than an unresolved import.
Changes:
- Update the doctest import to use
oxc_allocator::arena::Arena(feature-gated public module for doctests/tests).
Merging this PR will not alter performance
Comparing Footnotes
|
Merge activity
|
Fix doctest that checks that `Arena` is not `Sync`. This was previously failing to compile as expected, but not for the right reasons! The import path was wrong.
2e0a1ae to
922cbee
Compare
813c4ba to
9fb2d9c
Compare

Fix doctest that checks that
Arenais notSync. This was previously failing to compile as expected, but not for the right reasons! The import path was wrong.