Non-lexical lifetimes has different behavior for Vec<&i32> and Vec<&String> #46953
Labels
A-NLL
Area: Non-lexical lifetimes (NLL)
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
With 1.24.0-nightly (2017-12-21 250b492):
This compiles:
But this does not:
/cc @arielb1 @nikomatsakis
The text was updated successfully, but these errors were encountered: