Skip to content

Commit

Permalink
regression test
Browse files Browse the repository at this point in the history
  • Loading branch information
BoxyUwU committed Sep 21, 2023
1 parent 2ccfd04 commit 1543e6b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tests/rustdoc-ui/normalization_uses_ocx.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// check-pass
// compile-flags: -Znormalize-docs
// regression test for #112242

trait MyTrait<'a> {
type MyItem;
}
struct Inner<Q>(Q);
struct Outer<Q>(Inner<Q>);

unsafe impl<'a, Q> Send for Inner<Q>
where
Q: MyTrait<'a>,
<Q as MyTrait<'a>>::MyItem: Copy,
{
}

0 comments on commit 1543e6b

Please sign in to comment.