make `DispatchSet` trait public
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
Research direction
Locate the generated DispatchSet trait and the code that emits or exposes it, then compare its visibility with the imported function and method bounds. Use the Rust example from the issue as the first check; done means a generic take implementation can name DispatchSet and the example compiles.
Written by the indexing model from the issue text.
Description
currently to constraint the fn/method generics on import we add a bound of fn_name::DispatchSet. It would be useful if this trait was made public so that users can write generic implementations using imported fns/methods.
This doesn't compile atm:
ffi! {
#![unsafe(extern("C))]
fn kita<T>(a: T) where use<T> @ <u32>
}
fn take<T: FnOnce>(a: T) where (): DispatchSet<u32> {}
fn main() {
take(kita);
}
- Dominant language
- Rust
- Stars
- 23
- Forks
- 2
- Avg merge
- 27m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mversic/co3
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
bug
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100