]> git.lizzy.rs Git - rust.git/blob - tests/ui/moves/move-arg.rs
fn-trait-closure test now pass on new solver
[rust.git] / tests / ui / moves / move-arg.rs
1 // run-pass
2
3 fn test(foo: isize) { assert_eq!(foo, 10); }
4
5 pub fn main() { let x = 10; test(x); }