-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: `#[derive(Coerce)]` implements coerce: - between `Foo<A>` and `Foo<B>` if `A` coerces to `B` - between `Foo(A)` and `A` This is confusing. Remove the latter. Generally I think we should probably remove `Coerce`: while I like the idea, it is hard to use from both Rust typechecking and safety point of views. Reviewed By: JakobDegen Differential Revision: D56123012 fbshipit-source-id: 2109ae1bb1d88bcc8d36e9918706f800d0ea1924
- Loading branch information
1 parent
e2dd0d6
commit 83245b3
Showing
2 changed files
with
6 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters