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

analyze: generate subset relationships for arguments such as arg: &'a &'b &'c i32 #1002

Open
aneksteind opened this issue Jul 22, 2023 · 0 comments

Comments

@aneksteind
Copy link
Contributor

aneksteind commented Jul 22, 2023

The 'c: 'a bound that's implied by well-formedness of arg's type should definitely show up somewhere. I think I've seen bounds like that in the output of either predicates_of or a related query. Maybe try looking at explicit_predicates_of, inferred_outlives_of, and/or predicates_defined_on.

It would also be fine to just leave a comment about the limitation, especially if you can't find an easy way to get the predicate from rustc.

Originally posted by @spernsteiner in #975 (comment)

A FIXME comment was added in 3a50eec8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant