Skip to content

Instantly share code, notes, and snippets.

@brson
Created September 27, 2012 06:58
Show Gist options
  • Save brson/3792588 to your computer and use it in GitHub Desktop.
Save brson/3792588 to your computer and use it in GitHub Desktop.
brian@axis:~/dev/rust-repl$ ./repl
rust> io::println("hi");
<anon>:3:39: 3:40 error: No rules expected the token ;
<anon>:3 io::println(fmt!("%?",io::println("hi");));
^
rust: task failed at 'explicit failure', /home/brian/dev/rust2/src/libsyntax/diagnostic.rs:52
rust> io::println("hi")
<anon>:1:0: 1:0 error: can't find crate for `core`
<anon>:1 extern mod std;
^
rust: task failed at 'explicit failure', /home/brian/dev/rust2/src/libsyntax/diagnostic.rs:52
rust> ^C
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment