Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct A {
- }
- struct B<'a> {
- x: &'a str,
- }
- trait X<'a> {
- type Item;
- }
- impl<'a> X<'a> for A {
- type Item = B<'a>;
- }
- fn main() {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement