Skip to content

Callable fails to build - Callable trait not implemented #21

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

Closed
cleversoap opened this issue Oct 16, 2014 · 7 comments
Closed

Callable fails to build - Callable trait not implemented #21

cleversoap opened this issue Oct 16, 2014 · 7 comments
Labels

Comments

@cleversoap
Copy link

The call to load_args_and_call at line 20 of functions_write.rs causes the cargo build to fail.

functions_write.rs:20:5: 20:33 error: the trait `functions_write::Callable<'_,<generic #81>,<generic #82>>` is not implemented for the type `T`
functions_write.rs:20     data.load_args_and_call(lua)
@tomaka tomaka added the bug label Oct 16, 2014
@tomaka
Copy link
Owner

tomaka commented Oct 16, 2014

I looked into it, and I have no idea where this error comes from.

@cleversoap
Copy link
Author

It appears to build on 0.12.0-nightly just fine as per the last successful Travics CI build (#158)

13.0-nightly fails - which is what both the machines I was using when I raised the issue are on; it is the latest rustup version. Somewhere in the changelogs and gh-issues lies the answer I guess.

@tomaka
Copy link
Owner

tomaka commented Oct 16, 2014

The problem probably comes from conditional dispatch and multidispatch, but knowing that doesn't help me fix it.

@tomaka
Copy link
Owner

tomaka commented Oct 20, 2014

I think that the issue is this: rust-lang/rust#18179

@TyOverby
Copy link
Contributor

Maybe we could link to this issue on the Rustc issue tracker?

@tomaka
Copy link
Owner

tomaka commented Oct 26, 2014

This may have been fixed in rustc. However there's an ICE now, so I'm not sure.

@tomaka
Copy link
Owner

tomaka commented Nov 20, 2014

Closing as the lib is compiling again!

@tomaka tomaka closed this as completed Nov 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants