Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.

Commit 9ef86ec

Browse files
authored
Merge pull request #1079 from Patrick-Poitras/add-issue-91603
Add issue #91603
2 parents 2d3f333 + faf34e0 commit 9ef86ec

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

ices/91603.rs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
pub trait WorldQuery {
2+
type Fetch: for<'world> Fetch<'world>;
3+
}
4+
5+
fn main() {}
6+
7+
pub trait Fetch<'world> {
8+
type Item;
9+
}
10+
11+
pub type QueryItem<'w, Q> = <<Q as WorldQuery>::Fetch as Fetch<'w>>::Item;
12+
13+
fn first_child() -> impl FnOnce(&u32) -> QueryItem<u32> {}

0 commit comments

Comments
 (0)