Add a test for where clause on unit struct
This commit is contained in:
parent
1a6d117719
commit
1f5f9533d0
@ -272,3 +272,4 @@ pub(crate) struct Foo{}
|
||||
|
||||
// #2144 unit struct with generics
|
||||
struct MyBox<T:?Sized>;
|
||||
struct MyBoxx<T, S> where T: ?Sized, S: Clone;
|
||||
|
@ -316,3 +316,7 @@ pub struct ReadinessCheckRegistry(
|
||||
|
||||
// #2144 unit struct with generics
|
||||
struct MyBox<T: ?Sized>;
|
||||
struct MyBoxx<T, S>
|
||||
where
|
||||
T: ?Sized,
|
||||
S: Clone;
|
||||
|
Loading…
Reference in New Issue
Block a user