]> git.lizzy.rs Git - rust.git/blob - src/test/ui/closures/issue-67123.rs
Auto merge of #84589 - In-line:zircon-thread-name, r=JohnTitor
[rust.git] / src / test / ui / closures / issue-67123.rs
1 fn foo<T>(t: T) {
2     || { t; t; }; //~ ERROR: use of moved value
3 }
4
5 fn main() {}