1
Fork 0

Migrate trait_fn_const

This commit is contained in:
finalchild 2022-08-18 16:57:25 +09:00
parent e3d4c4039a
commit 8d042f4483
2 changed files with 12 additions and 0 deletions

View file

@ -82,3 +82,11 @@ pub struct TraitFnAsync {
#[label]
pub span: Span,
}
#[derive(SessionDiagnostic)]
#[error(ast_passes::trait_fn_const, code = "E0379")]
pub struct TraitFnConst {
#[primary_span]
#[label]
pub span: Span,
}