Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wont run here :/ #1

Closed
Fiyorin opened this issue Sep 30, 2012 · 2 comments
Closed

wont run here :/ #1

Fiyorin opened this issue Sep 30, 2012 · 2 comments

Comments

@Fiyorin
Copy link

Fiyorin commented Sep 30, 2012

rust version 0.3.1:

david@debian ~/src/rust-stuff/repls/rustrepl
% /tmp/rust031/bin/rustc rustrepl.rs
rustrepl.rs:3:14: 3:15 error: expecting '{' but found ''
rustrepl.rs:3 extern mod std;
^

rust git version built yesterday:

david@debian ~/src/rust-stuff/repls/rustrepl
% rustc rustrepl.rs
rustrepl.rs:124:26: 124:44 error: mismatched types: expected &mut ~[<V34>] but found ~[<V26>] (expected &-ptr but found vector)
rustrepl.rs:124 vec::push(session.view_items, input);
^~~~~~~~~~~~~~~~~~
rustrepl.rs:130:26: 130:45 error: mismatched types: expected &mut ~[<V37>] but found ~[<V27>] (expected &-ptr but found vector)
rustrepl.rs:130 vec::push(session.definitions, input);
^~~~~~~~~~~~~~~~~~~
error: aborting due to 2 previous errors

@dbp
Copy link
Owner

dbp commented Sep 30, 2012

It should work with incoming - I'l fix whatever went wrong (I updated it a couple days ago, but must have gotten out of sync again)

On Sep 30, 2012, at 8:19 AM, cinch wrote:

rust version 0.3.1:

david@debian ~/src/rust-stuff/repls/rustrepl
% /tmp/rust031/bin/rustc rustrepl.rs
rustrepl.rs:3:14: 3:15 error: expecting '{' but found ''
rustrepl.rs:3 extern mod std;
^

rust git version built yesterday:

david@debian ~/src/rust-stuff/repls/rustrepl
% rustc rustrepl.rs
rustrepl.rs:124:26: 124:44 error: mismatched types: expected &mut ~[] but found ~[](expected &-ptr but found vector)
rustrepl.rs:124 vec::push(session.view_items, input);
^~~~~~~~~~~~~~~~~~
rustrepl.rs:130:26: 130:45 error: mismatched types: expected &mut ~[] but found ~[](expected &-ptr but found vector)
rustrepl.rs:130 vec::push(session.definitions, input);
^~~~~~~~~~~~~~~~~~~
error: aborting due to 2 previous errors


Reply to this email directly or view it on GitHub.

@dbp
Copy link
Owner

dbp commented Oct 1, 2012

Should be all fixed. I just tested on build from earlier today, and rebuilding right now again (taking a while due to LLVM), and I'll push fixes if there are regressions.

@dbp dbp closed this as completed Oct 1, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants