···486486 label: EcoString,
487487 /// The record type the label belongs to, used for go-to-definition,
488488 /// find-references and rename. `None` when it can't be determined.
489489- container: Option<LabelContainer>,
489489+ owner: Option<LabelOwner>,
490490 },
491491 ModuleName {
492492 location: SrcSpan,
···508508/// The record type a field label belongs to. Used to resolve go-to-definition,
509509/// find-references and rename for record fields.
510510#[derive(Debug, Clone, PartialEq)]
511511-pub enum LabelContainer {
511511+pub enum LabelOwner {
512512 /// A label usage (`record.field`, a labelled argument or pattern, a record
513513 /// update) where the value's type is known. The type carries the module
514514 /// and name it belongs to.
···628628 Self::Arg(_) => None,
629629 Self::Annotation { type_, .. } => self.type_location(importable_modules, type_.clone()),
630630 Self::Label {
631631- container: Some(LabelContainer::Usage {
632632- type_: container_type,
633633- constructor,
634634- }),
631631+ owner:
632632+ Some(LabelOwner::Usage {
633633+ type_: record_type,
634634+ constructor,
635635+ }),
635636 label,
636637 ..
637638 } => self.label_definition_location(
638639 importable_modules,
639639- container_type,
640640+ record_type,
640641 label,
641642 Some(constructor),
642643 ),
643644 // Already at the declaration; go-to-definition jumps to itself.
644645 Self::Label {
645645- container: Some(LabelContainer::Definition { .. }),
646646+ owner: Some(LabelOwner::Definition { .. }),
646647 location,
647648 ..
648649 } => Some(DefinitionLocation {