#![crate_type="lib"] #[macro_export] macro_rules! library_kwargs { () => { kwarg_decl! foo(a = 1, b = None, c = Some(6)); } } pub fn foo(a: i32, b: Option, c: Option) -> (i32, Option, Option) { (a, b, c) }