Skip to content

Support placeholders becoming slices #1037

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

Merged
merged 1 commit into from
Mar 17, 2022
Merged

Support placeholders becoming slices #1037

merged 1 commit into from
Mar 17, 2022

Conversation

philberty
Copy link
Member

When we setup trait-impls the type-alias are allowed to become any type
this interface was missing a visitor. We also need to support constraining
type-parameters behind slices.

The get_root interface is currently unsafe, it needs a flag for allowing
unsized and for keeping a map of adjustments along the way. This will
be added down the line when we support unsized method resolution.

Fixes #1034
Addresses #849

When we setup trait-impls the type-alias are allowed to become any type
this interface was missing a visitor. We also need to support constraining
type-parameters behind slices.

The get_root interface is currently unsafe, it needs a flag for allowing
unsized and for keeping a map of adjustments along the way.

Fixes #1034
@philberty philberty added the bug label Mar 17, 2022
@philberty philberty added this to the Macro Expansion milestone Mar 17, 2022
@philberty philberty requested a review from CohenArthur March 17, 2022 11:06
@philberty philberty self-assigned this Mar 17, 2022
Copy link
Member

@CohenArthur CohenArthur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we should probably open up issues about adding the new visitor so it doesn't get forgotten

@philberty
Copy link
Member Author

I've created #1038

@philberty
Copy link
Member Author

bors r+

@bors
Copy link
Contributor

bors bot commented Mar 17, 2022

Build succeeded:

@bors bors bot merged commit b7baee8 into master Mar 17, 2022
@philberty philberty deleted the phil/issue-1034 branch March 17, 2022 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bad placeholder type handling
2 participants