Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for GAT #11

Open
Elrendio opened this issue Nov 3, 2022 · 0 comments
Open

Add support for GAT #11

Elrendio opened this issue Nov 3, 2022 · 0 comments

Comments

@Elrendio
Copy link

Elrendio commented Nov 3, 2022

Hello 👋

Thanks for the amazing crate 🙏 I was just playing around with Rust latest release and discovered that the code underneath doesn't compile.

pub trait TraitWithGat {
	type Gat<'a>;
}

#[impl_trait_for_tuples::impl_for_tuples(2, 16)]
impl TraitWithGat for Tuple {
	for_tuples!( type Gat<'a> = ( #( &'a str ),* ); );
}

Would it be possible to add support for GATs? If yes, would you be open to a PR?

Thanks a have a nice day,
Oscar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant