mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
Deduplicate
This commit is contained in:
parent
d80d2fcae0
commit
2d72ec71ec
13 changed files with 83 additions and 96 deletions
|
@ -140,7 +140,7 @@ pub trait DefDatabase: InternDatabase + ExpandDatabase + Upcast<dyn ExpandDataba
|
|||
fn enum_variant_data_with_diagnostics(
|
||||
&self,
|
||||
id: EnumVariantId,
|
||||
) -> (Arc<EnumVariantData>, Arc<[DefDiagnostic]>);
|
||||
) -> (Arc<EnumVariantData>, Option<Arc<Box<[DefDiagnostic]>>>);
|
||||
|
||||
#[salsa::invoke(ImplData::impl_data_query)]
|
||||
fn impl_data(&self, e: ImplId) -> Arc<ImplData>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue