Limit trait implementations to traits you own or types you own #15
Labels
compiler: frontend
Everything to do with type checking, control flow analysis, and everything between parsing and IRgen
compiler
General compiler. Should eventually become more specific as the issue is triaged
language feature
Core language features visible to end users
P: medium
I am not implementing this in the MVP, but to prevent random pollution of the method namespace of types when you import libraries, Rust prevents you from implementing a trait for a type when you don't own either the trait or the type. We should do this eventually.
The text was updated successfully, but these errors were encountered: