Fix const specialization
This commit is contained in:
parent
e91fc1bc0c
commit
9bda88bb58
11 changed files with 133 additions and 50 deletions
|
@ -1079,13 +1079,6 @@ pub(crate) struct EmptySpecialization {
|
|||
pub base_impl_span: Span,
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(hir_analysis_const_specialize)]
|
||||
pub(crate) struct ConstSpecialize {
|
||||
#[primary_span]
|
||||
pub span: Span,
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(hir_analysis_static_specialize)]
|
||||
pub(crate) struct StaticSpecialize {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue