summary refs log tree commit diff
path: root/src/test/ui/issues/issue-3668-2.rs
blob: 265a884ded7aa17215ddc6ad78e2341be6991cef (plain)
1
2
3
4
5
6
fn f(x:isize) {
    static child: isize = x + 1;
    //~^ ERROR can't capture dynamic environment
}

fn main() {}