mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-03 05:13:35 +00:00
Compute diagnostics of a field body iff it has one
This commit is contained in:
parent
c134b20c9c
commit
b4d4d02db8
10 changed files with 64 additions and 22 deletions
|
|
@ -519,6 +519,7 @@ pub type LocalModuleId = Idx<nameres::ModuleData>;
|
|||
pub struct FieldId {
|
||||
pub parent: VariantId,
|
||||
pub local_id: LocalFieldId,
|
||||
pub has_default: bool,
|
||||
}
|
||||
|
||||
impl FieldId {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue