Pass local imports to the more explicit version of the endpoint macro.
This commit is contained in:
parent
d25b972277
commit
feaadff8db
@ -6,7 +6,7 @@ macro_rules! endpoint {
|
||||
|
||||
// No imports from super.
|
||||
($(#[$attr:meta])+ [$($outer_mod:ident),*], $inner_mod:ident, [$($import:ident),*]) => {
|
||||
endpoint!($(#[$attr])+ [$($outer_mod),*], $inner_mod, [], []);
|
||||
endpoint!($(#[$attr])+ [$($outer_mod),*], $inner_mod, [$($import),*], []);
|
||||
};
|
||||
|
||||
// Explicit case.
|
||||
|
Loading…
x
Reference in New Issue
Block a user