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 multiple lifetimes tests #50

Merged
merged 1 commit into from
Feb 7, 2025
Merged

Add multiple lifetimes tests #50

merged 1 commit into from
Feb 7, 2025

Conversation

spastorino
Copy link
Owner

r? @tmandry

This PR needs #46

}
impl<'dynosaur_struct> SomeTrait for DynSomeTrait<'dynosaur_struct> {
fn async_ret_impl_trait<'a, 'b>(&self, a: &'a u8, b: &'b u8)
-> impl ::core::future::Future<Output = impl Trait<'a, 'b>> {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't actually compile. Seems like async fn with RPITIT is not yet supported (fine).

I would like it if we built all tests in this directory.

dynosaur/tests/pass/multiple-lifetimes.rs Outdated Show resolved Hide resolved
@tmandry tmandry merged commit 46b1baa into main Feb 7, 2025
1 check passed
@tmandry tmandry deleted the add-more-tests branch February 7, 2025 02:37
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

Successfully merging this pull request may close these issues.

2 participants