diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-07-21 08:54:24 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-07-21 08:54:24 +0800 |
| commit | 3662fc60570280c0c99ed3048c7c67e76069324f (patch) | |
| tree | 1a6c1a6c624975e399c19ab446ae555c9fe5651d /mingling/src/lib.rs | |
| parent | 67ec96406e6f4b8f30bc0a38c9ba95845b3cfb52 (diff) | |
feat(macros): add `#[mlint(...)]` marker attribute macro
Diffstat (limited to 'mingling/src/lib.rs')
| -rw-r--r-- | mingling/src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mingling/src/lib.rs b/mingling/src/lib.rs index f08e9e4..fd274aa 100644 --- a/mingling/src/lib.rs +++ b/mingling/src/lib.rs @@ -75,6 +75,9 @@ pub mod macros { pub use mingling_macros::group_structural; /// `#[help]` - Used to generate a struct implementing the `HelpRequest` trait via a method pub use mingling_macros::help; + /// `#[mlint(...)]` - Marker attribute for the Mingling lint system. + /// Content is ignored by rustc and reserved for mlint tooling. + pub use mingling_macros::mlint; /// `node!("remote.rm")` - Used to create a `Node` struct via a literal pub use mingling_macros::node; /// `pack!(StateGreet = String)` - Used to create a wrapper type for use with `Chain` and `Renderer` |
