Skip to content

Conversation

catamorphism
Copy link
Contributor

Exit with a fatal error, instead of recording a non-fatal error,
when we encounter an impl method that's static when its corresponding
trait method isn't (or vice versa). This is because code later on in
the typechecker will expect the staticness of the two methods to be
consistent and ICE otherwise.

As per #3969

r? @nikomatsakis

Exit with a fatal error, instead of recording a non-fatal error,
when we encounter an impl method that's static when its corresponding
trait method isn't (or vice versa). This is because code later on in
the typechecker will expect the staticness of the two methods to be
consistent and ICE otherwise.

As per rust-lang#3969
@nikomatsakis
Copy link
Contributor

r+

@catamorphism
Copy link
Contributor Author

Merged.

RalfJung pushed a commit to RalfJung/rust that referenced this pull request Oct 27, 2024
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

Successfully merging this pull request may close these issues.

2 participants