blob: b1c5caa49786073aab7b84cde24ca89fe6d15a2d (
plain)
1
2
3
|
[[Borrow checker]]
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.
|