-
Notifications
You must be signed in to change notification settings - Fork 27k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move
assert_returns_resolved_value
into helper module
This avoids re-creating the function for every assertion we make on function return values, potentially slightly speeding up the macro compilation. This shouldn't make much/any difference right now because nothing (outside of a few tests) uses resolved functions yet.
- Loading branch information
Showing
5 changed files
with
29 additions
and
18 deletions.
There are no files selected for viewing
9 changes: 6 additions & 3 deletions
9
turbopack/crates/turbo-tasks-macros-tests/tests/function/fail_resolved_inherent_impl.stderr
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
9 changes: 6 additions & 3 deletions
9
turbopack/crates/turbo-tasks-macros-tests/tests/function/fail_resolved_static.stderr
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
9 changes: 6 additions & 3 deletions
9
turbopack/crates/turbo-tasks-macros-tests/tests/function/fail_resolved_trait_impl.stderr
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters