Closed
Description
sample session:
$ rusti
WARNING: The Rust REPL is experimental and may be
unstable. If you encounter problems, please use the
compiler instead.
rusti> fn f() {}
()
rusti> fn f() {}
()
rusti> 42;
<anon>:35:0: 35:10 error: duplicate definition of value f
<anon>:35 fn f() { }
^~~~~~~~~~
<anon>:33:0: 33:10 note: first definition of value f here:
<anon>:33 fn f() { }
^~~~~~~~~~
error: aborting due to previous error
rust: task failed at 'explicit failure', /home/ben/code/repos/rust/src/libsyntax/diagnostic.rs:99
Metadata
Metadata
Assignees
Labels
No labels