You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This can be achieved by having #[divan::bench_group] rewrite each #[divan::bench] to include the appropriate types or consts option. If a benchmark already has its own types or consts option, we can skip it. To automatically make types visible within the group without importing from the super scope, we could create our own type aliases in the parent to then be used via super:: on rewrite.
The text was updated successfully, but these errors were encountered:
Generic
types
andconsts
options should be providable through#[divan::bench_group]
:This would be equivalent to:
This can be achieved by having
#[divan::bench_group]
rewrite each#[divan::bench]
to include the appropriatetypes
orconsts
option. If a benchmark already has its owntypes
orconsts
option, we can skip it. To automatically make types visible within the group without importing from thesuper
scope, we could create our own type aliases in the parent to then be used viasuper::
on rewrite.The text was updated successfully, but these errors were encountered: