We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
This should fail:
fn foo(+x: ~int) -> int { let y = &*x; free(move x); *y } fn free(+x: ~int) { } fn main() { }
but it does not. Should be a simple fix, add the appropriate line to check_loans.rs
check_loans.rs