Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document "Limitations" and "Workarounds". #50

Open
taiki-e opened this issue Jan 12, 2021 · 0 comments
Open

Document "Limitations" and "Workarounds". #50

taiki-e opened this issue Jan 12, 2021 · 0 comments
Labels
C-documentation Category: related to documentation. help wanted Call for participation: Help is requested to fix this issue

Comments

@taiki-e
Copy link
Owner

taiki-e commented Jan 12, 2021

pin-project-lite has some limitations and workarounds that are only described in the issue or code. It would be nice if we could provide them as part of the documentation.

Issues:

Code comments:

pin-project-lite/src/lib.rs

Lines 401 to 408 in 416be96

// limitations:
// * no support for tuple structs and tuple variant (wontfix).
// * no support for multiple trait/lifetime bounds.
// * no support for `Self` in where clauses. (wontfix)
// * no support for overlapping lifetime names. (wontfix)
// * no interoperability with other field attributes.
// * no useful error messages. (wontfix)
// etc...

// pin_project! {
// pub struct S4<
// 'a,
// 'b: 'a, // <-----
// > {
// f: &'a &'b (),
// }
// }

@taiki-e taiki-e added the C-documentation Category: related to documentation. label Jan 12, 2021
@taiki-e taiki-e pinned this issue Jan 12, 2021
@taiki-e taiki-e unpinned this issue Jan 18, 2021
@taiki-e taiki-e pinned this issue Feb 6, 2021
@taiki-e taiki-e added the help wanted Call for participation: Help is requested to fix this issue label Jun 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-documentation Category: related to documentation. help wanted Call for participation: Help is requested to fix this issue
Projects
None yet
Development

No branches or pull requests

1 participant