8000 Allow opaque types in trait impl headers and rely on coherence to reject unsound cases by oli-obk · Pull Request #103488 · rust-lang/rust · GitHub
[go: up one dir, main page]

Skip to content

Allow opaque types in trait impl headers and rely on coherence to reject unsound cases #103488

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

Merged
merged 10 commits into from
Nov 23, 2022
Merged
Prev Previous commit
Next Next commit
nit treat different opaque types
  • Loading branch information
oli-obk committed Nov 21, 2022
commit 9cd44f81427a0536a9dceeb56e5801ad53d285b5
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,4 @@ impl Bop for Barr {}
impl Bop for i32 {}
//~^ ERROR conflicting implementations

fn main() {
}
fn main() {}
0