Pass local imports to the more explicit version of the endpoint macro.

This commit is contained in:
Jimmy Cuadra 2017-07-08 22:41:11 -07:00
parent d25b972277
commit feaadff8db

View File

@ -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.