Skip to content

Instantly share code, notes, and snippets.

@nicholasf
Created May 23, 2015 02:17
Show Gist options
  • Save nicholasf/6a1f4a19f94c25bc9acc to your computer and use it in GitHub Desktop.
Save nicholasf/6a1f4a19f94c25bc9acc to your computer and use it in GitHub Desktop.
♪ learning-rust cat main.rs
fn main(){
println("hello world!");
}
♪ learning-rust rustc main.rs
main.rs:2:2: 2:9 error: unresolved name `println`
main.rs:2 println("hello world!");
^~~~~~~
error: aborting due to previous error
♪ learning-rust
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment