Skip to content

Type use probably doesn't work right with overloaded operators #4134

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
pcwalton opened this issue Dec 7, 2012 · 6 comments
Closed

Type use probably doesn't work right with overloaded operators #4134

pcwalton opened this issue Dec 7, 2012 · 6 comments
Labels
A-codegen Area: Code generation I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.

Comments

@pcwalton
Copy link
Contributor

pcwalton commented Dec 7, 2012

Overloaded operators probably need to propagate type uses through via mark_for_method_call.

@graydon
Copy link
Contributor

graydon commented Mar 26, 2013

Can you elaborate on the implications of this? What's the current failure mode?

@pcwalton
Copy link
Contributor Author

pcwalton commented Apr 1, 2013

Probably we will see mysterious segfaults due to incorrect collapse of template instantiations involving overloaded operators.

@graydon
Copy link
Contributor

graydon commented Apr 1, 2013

noncritical for 0.6, de-milestoning

@Aatch
Copy link
Contributor

Aatch commented Jun 7, 2013

@pcwalton do you have a concrete example of this? "probably" isn't really specific enough.

@emberian
Copy link
Member

emberian commented Aug 5, 2013

Visiting for triage; nothing to add except a @pcwalton

@thestinger
Copy link
Contributor

Closed by #9538.

RalfJung pushed a commit to RalfJung/rust that referenced this issue Jan 19, 2025
adjust the way we build miri-script in RA, to fix proc-macros
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-codegen Area: Code generation I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
Projects
None yet
Development

No branches or pull requests

5 participants