Skip to main content

report_path_referencing_field

Function report_path_referencing_field 

Source
fn report_path_referencing_field<'db>(
    db: &'db dyn Db,
    id: &SpannedIdentifier<'_>,
    base: NameResolutionSym<'_>,
) -> Reported
Expand description

Reports an error if the user gave a path like Foo.Bar and Foo wound up being a class that doesn’t have nested items.