Skip to content

Commit 7de90ea

Browse files
committed
Add 83613
Issue: rust-lang/rust#83613
1 parent 020377c commit 7de90ea

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

ices/83613.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
trait OpaqueTrait {}
2+
impl<T> OpaqueTrait for T {}
3+
type OpaqueType = impl OpaqueTrait;
4+
fn mk_opaque() -> OpaqueType {
5+
|| 0
6+
}
7+
trait AnotherTrait {}
8+
impl<T: Send> AnotherTrait for T {}
9+
impl AnotherTrait for OpaqueType {}

0 commit comments

Comments
 (0)