We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 284583f commit 2d04871Copy full SHA for 2d04871
tests/source/type.rs
@@ -92,6 +92,14 @@ macro_rules! foo {
92
93
type Target = ( FooAPI ) + 'static;
94
95
+// #3137
96
+fn foo<T>(t: T)
97
+where
98
+ T: ( FnOnce() -> () ) + Clone,
99
+ U: ( FnOnce() -> () ) + 'static,
100
+{
101
+}
102
+
103
// #3117
104
fn issue3117() {
105
{
tests/target/type.rs
@@ -91,6 +91,14 @@ macro_rules! foo {
91
type Target = (FooAPI) + 'static;
+ T: (FnOnce() -> ()) + Clone,
+ U: (FnOnce() -> ()) + 'static,
0 commit comments