| 1 | //! This crate defines various `macro_rules` macros |
| 2 | //! used as part of Salsa's internal plumbing. |
| 3 | //! These macros are re-exported under `salsa::plumbing``. |
| 4 | //! The procedural macros emit calls to these |
| 5 | //! `macro_rules` macros after doing error checking. |
| 6 | //! |
| 7 | //! Using `macro_rules` macro definitions is generally |
| 8 | //! more ergonomic and also permits true hygiene for local variables |
| 9 | //! (sadly not items). |
| 10 | //! |
| 11 | //! Currently the only way to have a macro that is re-exported |
| 12 | //! from a submodule is to use multiple crates, hence the existence |
| 13 | //! of this crate. |
| 14 | |
| 15 | mod gate_accumulatedrust-analyzer cargo salsa-macro-rules 0.28.1 gate_accumulated/; |
| 16 | mod macro_ifrust-analyzer cargo salsa-macro-rules 0.28.1 macro_if/; |
| 17 | mod maybe_defaultrust-analyzer cargo salsa-macro-rules 0.28.1 maybe_default/; |
| 18 | mod return_moderust-analyzer cargo salsa-macro-rules 0.28.1 return_mode/; |
| 19 | #[cfg(feature = "accumulator")] |
| 20 | mod setup_accumulator_implrust-analyzer cargo salsa-macro-rules 0.28.1 setup_accumulator_impl/; |
| 21 | mod setup_input_structrust-analyzer cargo salsa-macro-rules 0.28.1 setup_input_struct/; |
| 22 | mod setup_interned_structrust-analyzer cargo salsa-macro-rules 0.28.1 setup_interned_struct/; |
| 23 | mod setup_tracked_assoc_fn_bodyrust-analyzer cargo salsa-macro-rules 0.28.1 setup_tracked_assoc_fn_body/; |
| 24 | mod setup_tracked_fnrust-analyzer cargo salsa-macro-rules 0.28.1 setup_tracked_fn/; |
| 25 | mod setup_tracked_method_bodyrust-analyzer cargo salsa-macro-rules 0.28.1 setup_tracked_method_body/; |
| 26 | mod setup_tracked_structrust-analyzer cargo salsa-macro-rules 0.28.1 setup_tracked_struct/; |
| 27 | mod unexpected_cycle_recoveryrust-analyzer cargo salsa-macro-rules 0.28.1 unexpected_cycle_recovery/; |