blob: ef05ff9ce03b9192a4e43cce10a14061e86fb7d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// run-pass
// compile-flags:-Zmir-opt-level=3
// Previously ICEd because we did not normalize during inlining,
// see https://github.com/rust-lang/rust/pull/77306 for more discussion.
pub fn write() {
create()()
}
pub fn create() -> impl FnOnce() {
|| ()
}
fn main() {
write();
}
|