Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upLifetimes get replaced with 'static in Self within (return position) impl Trait. #53613
Comments
eddyb
added
the
A-impl-trait
label
Aug 22, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
eddyb commentedAug 22, 2018
I didn't write
'static
anywhere - it comes from part of the implementation ofimpl Trait
, andSelf
references lifetimes (from theimpl
header) "indirectly", hiding them fromimpl Trait
logic.cc @cramertj @oli-obk @nikomatsakis