1
Fork 0

Deny ~const trait bounds in inherent impl headers

This commit is contained in:
León Orell Valerian Liehr 2023-12-18 01:10:16 +01:00
parent 3ad8e2d129
commit 4a5dd169f7
No known key found for this signature in database
GPG key ID: D17A07215F68E713
7 changed files with 36 additions and 20 deletions

View file

@ -563,6 +563,11 @@ pub enum TildeConstReason {
#[primary_span]
span: Span,
},
#[note(ast_passes_trait_impl)]
TraitImpl {
#[primary_span]
span: Span,
},
#[note(ast_passes_impl)]
Impl {
#[primary_span]