Advertisement
Guest User

Untitled

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