rust/tests/ui/issues/issue-18711.rs
2024-02-16 20:02:50 +00:00

13 lines
266 B
Rust

//@ run-pass
// Test that we don't panic on a RefCell borrow conflict in certain
// code paths involving unboxed closures.
//@ pretty-expanded FIXME #23616
//@ aux-build:issue-18711.rs
extern crate issue_18711 as issue;
fn main() {
(|| issue::inner(()))();
}