-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-MIRArea: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.htmlArea: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.htmlC-bugCategory: This is a bug.Category: This is a bug.
Description
EDIT: I was confused about the issue
pub fn foo(mut value: u64) -> usize {
return 0;
}
fn(arg0: u64) -> usize {
let mut var0: u64; // value
let mut tmp0: ();
let mut tmp1: ();
bb0: {
var0 = arg0;
return = const 0;
goto -> bb1;
}
bb1: {
return;
}
bb2: {
drop(tmp0) -> bb3;
}
bb3: {
return = ();
goto -> bb1;
}
}
Metadata
Metadata
Assignees
Labels
A-MIRArea: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.htmlArea: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.htmlC-bugCategory: This is a bug.Category: This is a bug.