]> git.lizzy.rs Git - rust.git/blob - src/test/ui/moves/move-arg.rs
Rollup merge of #105843 - compiler-errors:sugg-const, r=lcnr
[rust.git] / src / test / 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); }