Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // MIR is the Rust compiler's new, work-in-progress intermediate representation.
- // Once done, it will fix many current bugs in the existing translation pass,
- // allow for incremental caching of compiler output to improve compile times,
- // enable more intelligent language features e.g. non-lexical borrows,
- // and make Rust-specific optimizations in the front-end easier to implement.
- // Press the "MIR" button above to see what the output of a program looks like!
- fn main() {
- let mut x = 0;
- let y = &1;
- while x < 2 {
- x += *y;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement