blob: 6c62415e06d5618308ea394975e3cf90b8e72516 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// We used to ICE here while trying to synthesize auto trait impls.
// issue: 112828
struct Outer(Inner);
struct Inner;
unsafe impl<Q: Trait> Send for Inner {}
//~^ ERROR the type parameter `Q` is not constrained by the impl trait, self type, or predicates
trait Trait {}
|