Deny ~const trait bounds in inherent impl headers
This commit is contained in:
parent
3ad8e2d129
commit
4a5dd169f7
7 changed files with 36 additions and 20 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue