summaryrefslogtreecommitdiff
path: root/Lifetime specifier.md
blob: a5dfd2c16900677e786d3d1c1846c19fb01cd4ab (plain)
1
A flow permission cannot be given if a function signature states that it returns a reference but the function has multiple returns referencing potentially different variables so the borrow checker doesn't know if it's safe or not.