1
Fork 0

Remove a boilerplaty abstraction

This commit is contained in:
Oli Scherer 2024-07-09 09:54:19 +00:00
parent b879e29864
commit d9f9592924
2 changed files with 17 additions and 61 deletions

View file

@ -612,7 +612,7 @@ pub struct TildeConstDisallowed {
pub reason: TildeConstReason,
}
#[derive(Subdiagnostic)]
#[derive(Subdiagnostic, Copy, Clone)]
pub enum TildeConstReason {
#[note(ast_passes_closure)]
Closure,