diff --git a/src/local_macros.rs b/src/local_macros.rs index 91f5623a..eaf50554 100644 --- a/src/local_macros.rs +++ b/src/local_macros.rs @@ -47,7 +47,15 @@ macro_rules! req_future { $(where $($wh:tt)*)? ) => { #[pin_project::pin_project] - $v struct $i<$T> + pub + // FIXME(waffle): + // The `pub` above should ideally be `$v`, but we currently can't do + // this due to compiler bug, see: + // - pin_project bug report + // - related rustc issue + // - original fix (closed) + // - second iteration of the fix + struct $i<$T> $(where $($wh)*)? { #[pin]