Closed
Description
With #63180 in effect, code using existential type
produces confusing error:
error: can't qualify macro invocation with `pub`
--> src/mixer.rs:6:1
|
6 | pub existential type T: MotorCtrl;
| ^^^
|
= help: try adjusting the macro to put `pub` inside the invocation
The actual fix is to change
pub existential type T: MotorCtrl;
to pub type T = impl MotorCtrl;
and to enable type_alias_impl_trait
feature, instead of existential_type
.