Here is a simple rust code:
// main.rs
//////////////
struct Point {
x: int,
y: int,
}
fn main() {
let origin = Point { x: 0i, y: 0i };
println!("The origin is at ({}, {})", origin.x, origin.y);
}
//////////////
Compile it using `rustc main.rs`
Now open the compiled `main` file in a text editor and search for this text:
It was from the artists and poets that the pertinent answers came, and I
know that panic would have broken loose had they been able to compare notes.
As it was, lacking their original letters, I half suspected the compiler of
having asked leading questions, or of having edited the correspondence in
corroboration of what he had latently resolved to see.....
Note that the runtime will be removed entirely soon, so that text may go with it…