aboutsummaryrefslogtreecommitdiff
path: root/macros/src/injectable/macro_args.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-11-06 17:20:45 +0100
committerHampusM <hampus@hampusmat.com>2022-11-06 17:20:45 +0100
commite282375de4ba75c69f7d619fc33c6250f6caba18 (patch)
treef09410f57ea154c834dba88d76510e2a27548956 /macros/src/injectable/macro_args.rs
parent2c03974a7e7cfec8d734caa6036d9a2461694818 (diff)
fix: allow declaring a concrete type as it's own interface
Diffstat (limited to 'macros/src/injectable/macro_args.rs')
-rw-r--r--macros/src/injectable/macro_args.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/macros/src/injectable/macro_args.rs b/macros/src/injectable/macro_args.rs
index 1dd06f8..6dd683b 100644
--- a/macros/src/injectable/macro_args.rs
+++ b/macros/src/injectable/macro_args.rs
@@ -5,7 +5,8 @@ use syn::{Token, TypePath};
use crate::macro_flag::MacroFlag;
use crate::util::iterator_ext::IteratorExt;
-pub const INJECTABLE_MACRO_FLAGS: &[&str] = &["no_doc_hidden", "async"];
+pub const INJECTABLE_MACRO_FLAGS: &[&str] =
+ &["no_doc_hidden", "async", "no_declare_concrete_interface"];
pub struct InjectableMacroArgs
{