Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

dtolnay
Copy link
Owner

@dtolnay dtolnay commented Sep 24, 2025

For this API:

unsafe extern "C++" {
    type Thing<'a>;
    fn f<'b, 'c>(self: &Thing<'b>, i: &'c CxxString);
}

Before:

impl<'b, 'c> Thing<'b> {
    pub fn f(&self, i: &'c CxxString) {...}
}

After:

impl<'b> Thing<'b> {
    pub fn f<'c>(&self, i: &'c CxxString) {...}
}

This is a prerequisite for #876.

@dtolnay dtolnay merged commit b18615f into master Sep 24, 2025
47 checks passed
@dtolnay dtolnay deleted the assocfnlife branch September 24, 2025 20:06
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.

1 participant