11 lines
189 B
Rust
11 lines
189 B
Rust
fn ignore<T>(_t: T) {}
|
|
|
|
fn nested() {
|
|
let y = 3;
|
|
ignore(fn&(z: &z/int) -> &z/int {
|
|
if false { return &y; } //~ ERROR illegal borrow
|
|
return z;
|
|
});
|
|
}
|
|
|
|
fn main() {} |