Fix compile checks on numerous packages using --all --all-features
This commit is contained in:
38 files changed
+147
-186
No files matched your search
@@ -118,18 +118,3 @@ impl<F: Fn() -> Element + Clone + 'static> ComponentFunction<(), EmptyMarker> fo
|
||||
self()
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn it_works_maybe() {
|
||||
fn test(_: ()) -> Element {
|
||||
todo!()
|
||||
}
|
||||
fn test2() -> Element {
|
||||
todo!()
|
||||
}
|
||||
|
||||
let callable: Rc<dyn ComponentFunction<(), ()>> =
|
||||
Rc::new(test) as Rc<dyn ComponentFunction<_, _>>;
|
||||
let callable2: Rc<dyn ComponentFunction<(), EmptyMarker>> =
|
||||
Rc::new(test2) as Rc<dyn ComponentFunction<_, _>>;
|
||||
}
|
||||
Reference in new issue
Block a user