mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
8 lines
214 B
Rust
8 lines
214 B
Rust
// Tests that MIR inliner can handle `SourceScopeData` parenting correctly. (#76997)
|
|
|
|
// EMIT_MIR issue_76997_inline_scopes_parenting.main.Inline.after.mir
|
|
fn main() {
|
|
let f = |x| { let y = x; y };
|
|
f(())
|
|
}
|