Non-Lexical Lifetimes only work with some types #46935
Labels
A-NLL
Area: Non-lexical lifetimes (NLL)
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This one is really weird. It's the same code, but one is a Vec and one is a i32. The Vec one compiles, the i32 one doesn't:
Error:
The text was updated successfully, but these errors were encountered: