-
Notifications
You must be signed in to change notification settings - Fork 13.3k
monomorphization fails with generic methods on impls #1944
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
just for reference, this works fine:
|
Yes, this is the error message I saw. Paging @marijnh. |
You'll notice that #1736 is still open. The problem is the way |
This makes it possible to move them between crates without confusion, and to instantiate them at a point where the monomorphizing substitutions are known. Issue #1944
I have a test case that produces a very similar assertion failure message, so I am noting it here:
This produces (code from latest master, linux64):
|
This test case:
yields an assertion failure:
@pcwalton I believe this is why the --monomorphize'd version of rustc did not work.
The text was updated successfully, but these errors were encountered: