Skip to content

Support trait impls in unnamed consts#8390

Merged
bors[bot] merged 2 commits into
rust-lang:masterfrom
jonas-schievink:unnamed-const-impls
Apr 7, 2021
Merged

Support trait impls in unnamed consts#8390
bors[bot] merged 2 commits into
rust-lang:masterfrom
jonas-schievink:unnamed-const-impls

Conversation

@jonas-schievink

Copy link
Copy Markdown
Contributor

Fixes #7550

bors r+

@bors

bors Bot commented Apr 7, 2021

Copy link
Copy Markdown
Contributor

@bors bors Bot merged commit cf41e14 into rust-lang:master Apr 7, 2021
@jonas-schievink jonas-schievink deleted the unnamed-const-impls branch April 7, 2021 15:32
@lnicola

lnicola commented Apr 8, 2021

Copy link
Copy Markdown
Member

changelog fix

}
}

// NOTE: We're not collecting inherent impls from unnamed consts here, we intentionally only

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why is that? Wouldn't implementation be the same?

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

Successfully merging this pull request may close these issues.

Support local trait impls for non-local types for unnamed free constants

3 participants