From de4c0e90880d5bdeac9907d97fa43c2c42ccd02e Mon Sep 17 00:00:00 2001 From: Filip Gospodinov Date: Sun, 27 Jun 2021 01:15:41 +0200 Subject: [PATCH] juniper_codegen: macro hygiene for graphql_subscription (#948) Fully qualify `std::result::Result` such that it doesn't collide with locally defined type aliases for `Result`. This improves macro hygiene. --- juniper_codegen/src/util/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/juniper_codegen/src/util/mod.rs b/juniper_codegen/src/util/mod.rs index 64c9caa4..31c173ca 100644 --- a/juniper_codegen/src/util/mod.rs +++ b/juniper_codegen/src/util/mod.rs @@ -1399,7 +1399,7 @@ impl GraphQLTypeDefiniton { executor: &'ref_e ::juniper::Executor<'ref_e, 'e, Self::Context, #scalar>, ) -> std::pin::Pin>, ::juniper::FieldError<#scalar> >