You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ 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