mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-23 05:07:27 +00:00
wip
This commit is contained in:
parent
812923ab0c
commit
c545f8a8c3
4 changed files with 4 additions and 4 deletions
|
@ -16,9 +16,9 @@ mod macro_if;
|
|||
mod maybe_backdate;
|
||||
mod maybe_clone;
|
||||
mod setup_accumulator_impl;
|
||||
mod setup_fn;
|
||||
mod setup_input_struct;
|
||||
mod setup_interned_struct;
|
||||
mod setup_method_body;
|
||||
mod setup_tracked_fn;
|
||||
mod setup_tracked_struct;
|
||||
mod unexpected_cycle_recovery;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/// Macro for setting up a function that must intern its arguments.
|
||||
#[macro_export]
|
||||
macro_rules! setup_fn {
|
||||
macro_rules! setup_tracked_fn {
|
||||
(
|
||||
// Attributes on the function
|
||||
attrs: [$(#[$attr:meta]),*],
|
|
@ -110,7 +110,7 @@ impl Macro {
|
|||
|
||||
Ok(crate::debug::dump_tokens(
|
||||
fn_name,
|
||||
quote![salsa::plumbing::setup_fn! {
|
||||
quote![salsa::plumbing::setup_tracked_fn! {
|
||||
attrs: [#(#attrs),*],
|
||||
vis: #vis,
|
||||
fn_name: #fn_name,
|
||||
|
|
|
@ -112,10 +112,10 @@ pub mod plumbing {
|
|||
pub use salsa_macro_rules::maybe_clone;
|
||||
pub use salsa_macro_rules::maybe_cloned_ty;
|
||||
pub use salsa_macro_rules::setup_accumulator_impl;
|
||||
pub use salsa_macro_rules::setup_fn;
|
||||
pub use salsa_macro_rules::setup_input_struct;
|
||||
pub use salsa_macro_rules::setup_interned_struct;
|
||||
pub use salsa_macro_rules::setup_method_body;
|
||||
pub use salsa_macro_rules::setup_tracked_fn;
|
||||
pub use salsa_macro_rules::setup_tracked_struct;
|
||||
pub use salsa_macro_rules::unexpected_cycle_recovery;
|
||||
|
||||
|
|
Loading…
Reference in a new issue