Remove a boilerplaty abstraction
This commit is contained in:
parent
b879e29864
commit
d9f9592924
2 changed files with 17 additions and 61 deletions
|
@ -612,7 +612,7 @@ pub struct TildeConstDisallowed {
|
|||
pub reason: TildeConstReason,
|
||||
}
|
||||
|
||||
#[derive(Subdiagnostic)]
|
||||
#[derive(Subdiagnostic, Copy, Clone)]
|
||||
pub enum TildeConstReason {
|
||||
#[note(ast_passes_closure)]
|
||||
Closure,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue