-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Can't build linearscan.rs #7639
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
Comments
@indutny Is this still relevant? Do you need help? |
I'll be able to tell you once I'll port all code to new rust :) Iterators has changed dramatically. |
@cmr it seems to be still broken... I've ported my code to use new iterators but I still get:
|
Any help would be welcome! |
@indutny I'll take a poke at it later today, thanks for following up. |
@cmr thank you! |
Turns out this is the problem: use linearscan::Graph;
mod linearscan {
mod graph {
pub struct Graph { block_id: uint, }
impl Graph {
pub fn new() -> Graph { fail!() }
}
}
impl Graph {}
}
pub fn main() {
Graph::new();
} Has this error message:
Which is kind of right, but also kind of weird. I think that the problem is that in In the meantime, if you merge the two |
Apparently @alexcrichton's comment fixes the issue, thanks! |
…msteffen Improve heuristic for eagerness suggestion Still to be done: * a more complete list of cheap functions * a way to limit the complexity of cheap expressions changelog: Improve heuristics for `or_fun_call` and `unnecessary_lazy_evaluations`
https://github.com/indutny/linearscan.rs
It was working with pre 0.7 rust, but name lookup doesn't seem to be working now :(
The text was updated successfully, but these errors were encountered: