[
    ApolloDiagnostic {
        cache: {
            0: "built_in_types.graphql",
            50: "0050_directives_in_invalid_locations.graphql",
        },
        location: DiagnosticLocation {
            file_id: FileId {
                id: 50,
            },
            offset: 1156,
            length: 18,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 1156,
                    length: 18,
                },
                text: "SCHEMA is not a valid location",
            },
        ],
        help: Some(
            "the directive must be used in a location that the service has declared support for",
        ),
        data: UnsupportedLocation {
            name: "include",
            dir_loc: Schema,
            directive_def: DiagnosticLocation {
                file_id: FileId {
                    id: 0,
                },
                offset: 2146,
                length: 199,
            },
        },
    },
    ApolloDiagnostic {
        cache: {
            0: "built_in_types.graphql",
            50: "0050_directives_in_invalid_locations.graphql",
        },
        location: DiagnosticLocation {
            file_id: FileId {
                id: 50,
            },
            offset: 1307,
            length: 11,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 1307,
                    length: 11,
                },
                text: "SCALAR is not a valid location",
            },
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 1398,
                    length: 29,
                },
                text: "consider adding SCALAR directive location here",
            },
        ],
        help: Some(
            "the directive must be used in a location that the service has declared support for",
        ),
        data: UnsupportedLocation {
            name: "directiveB",
            dir_loc: Scalar,
            directive_def: DiagnosticLocation {
                file_id: FileId {
                    id: 50,
                },
                offset: 1398,
                length: 29,
            },
        },
    },
    ApolloDiagnostic {
        cache: {
            0: "built_in_types.graphql",
            50: "0050_directives_in_invalid_locations.graphql",
        },
        location: DiagnosticLocation {
            file_id: FileId {
                id: 50,
            },
            offset: 842,
            length: 11,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 842,
                    length: 11,
                },
                text: "ENUM is not a valid location",
            },
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 1367,
                    length: 30,
                },
                text: "consider adding ENUM directive location here",
            },
        ],
        help: Some(
            "the directive must be used in a location that the service has declared support for",
        ),
        data: UnsupportedLocation {
            name: "directiveA",
            dir_loc: Enum,
            directive_def: DiagnosticLocation {
                file_id: FileId {
                    id: 50,
                },
                offset: 1367,
                length: 30,
            },
        },
    },
    ApolloDiagnostic {
        cache: {
            0: "built_in_types.graphql",
            50: "0050_directives_in_invalid_locations.graphql",
        },
        location: DiagnosticLocation {
            file_id: FileId {
                id: 50,
            },
            offset: 864,
            length: 11,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 864,
                    length: 11,
                },
                text: "ENUM_VALUE is not a valid location",
            },
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 1367,
                    length: 30,
                },
                text: "consider adding ENUM_VALUE directive location here",
            },
        ],
        help: Some(
            "the directive must be used in a location that the service has declared support for",
        ),
        data: UnsupportedLocation {
            name: "directiveA",
            dir_loc: EnumValue,
            directive_def: DiagnosticLocation {
                file_id: FileId {
                    id: 50,
                },
                offset: 1367,
                length: 30,
            },
        },
    },
    ApolloDiagnostic {
        cache: {
            0: "built_in_types.graphql",
            50: "0050_directives_in_invalid_locations.graphql",
        },
        location: DiagnosticLocation {
            file_id: FileId {
                id: 50,
            },
            offset: 760,
            length: 11,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 760,
                    length: 11,
                },
                text: "UNION is not a valid location",
            },
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 1398,
                    length: 29,
                },
                text: "consider adding UNION directive location here",
            },
        ],
        help: Some(
            "the directive must be used in a location that the service has declared support for",
        ),
        data: UnsupportedLocation {
            name: "directiveB",
            dir_loc: Union,
            directive_def: DiagnosticLocation {
                file_id: FileId {
                    id: 50,
                },
                offset: 1398,
                length: 29,
            },
        },
    },
    ApolloDiagnostic {
        cache: {
            0: "built_in_types.graphql",
            50: "0050_directives_in_invalid_locations.graphql",
        },
        location: DiagnosticLocation {
            file_id: FileId {
                id: 50,
            },
            offset: 446,
            length: 15,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 446,
                    length: 15,
                },
                text: "INTERFACE is not a valid location",
            },
        ],
        help: Some(
            "the directive must be used in a location that the service has declared support for",
        ),
        data: UnsupportedLocation {
            name: "skip",
            dir_loc: Interface,
            directive_def: DiagnosticLocation {
                file_id: FileId {
                    id: 0,
                },
                offset: 1957,
                length: 187,
            },
        },
    },
    ApolloDiagnostic {
        cache: {
            0: "built_in_types.graphql",
            50: "0050_directives_in_invalid_locations.graphql",
        },
        location: DiagnosticLocation {
            file_id: FileId {
                id: 50,
            },
            offset: 670,
            length: 18,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 670,
                    length: 18,
                },
                text: "INPUT_OBJECT is not a valid location",
            },
        ],
        help: Some(
            "the directive must be used in a location that the service has declared support for",
        ),
        data: UnsupportedLocation {
            name: "include",
            dir_loc: InputObject,
            directive_def: DiagnosticLocation {
                file_id: FileId {
                    id: 0,
                },
                offset: 2146,
                length: 199,
            },
        },
    },
    ApolloDiagnostic {
        cache: {
            0: "built_in_types.graphql",
            50: "0050_directives_in_invalid_locations.graphql",
        },
        location: DiagnosticLocation {
            file_id: FileId {
                id: 50,
            },
            offset: 707,
            length: 18,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 707,
                    length: 18,
                },
                text: "INPUT_FIELD_DEFINITION is not a valid location",
            },
        ],
        help: Some(
            "the directive must be used in a location that the service has declared support for",
        ),
        data: UnsupportedLocation {
            name: "include",
            dir_loc: InputFieldDefinition,
            directive_def: DiagnosticLocation {
                file_id: FileId {
                    id: 0,
                },
                offset: 2146,
                length: 199,
            },
        },
    },
    ApolloDiagnostic {
        cache: {
            0: "built_in_types.graphql",
            50: "0050_directives_in_invalid_locations.graphql",
        },
        location: DiagnosticLocation {
            file_id: FileId {
                id: 50,
            },
            offset: 523,
            length: 11,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 523,
                    length: 11,
                },
                text: "FIELD_DEFINITION is not a valid location",
            },
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 1398,
                    length: 29,
                },
                text: "consider adding FIELD_DEFINITION directive location here",
            },
        ],
        help: Some(
            "the directive must be used in a location that the service has declared support for",
        ),
        data: UnsupportedLocation {
            name: "directiveB",
            dir_loc: FieldDefinition,
            directive_def: DiagnosticLocation {
                file_id: FileId {
                    id: 50,
                },
                offset: 1398,
                length: 29,
            },
        },
    },
    ApolloDiagnostic {
        cache: {
            0: "built_in_types.graphql",
            50: "0050_directives_in_invalid_locations.graphql",
        },
        location: DiagnosticLocation {
            file_id: FileId {
                id: 50,
            },
            offset: 907,
            length: 11,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 907,
                    length: 11,
                },
                text: "OBJECT is not a valid location",
            },
        ],
        help: Some(
            "the directive must be used in a location that the service has declared support for",
        ),
        data: UnsupportedLocation {
            name: "deprecated",
            dir_loc: Object,
            directive_def: DiagnosticLocation {
                file_id: FileId {
                    id: 0,
                },
                offset: 2347,
                length: 440,
            },
        },
    },
    ApolloDiagnostic {
        cache: {
            0: "built_in_types.graphql",
            50: "0050_directives_in_invalid_locations.graphql",
        },
        location: DiagnosticLocation {
            file_id: FileId {
                id: 50,
            },
            offset: 979,
            length: 56,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 979,
                    length: 56,
                },
                text: "ARGUMENT_DEFINITION is not a valid location",
            },
        ],
        help: Some(
            "the directive must be used in a location that the service has declared support for",
        ),
        data: UnsupportedLocation {
            name: "specifiedBy",
            dir_loc: ArgumentDefinition,
            directive_def: DiagnosticLocation {
                file_id: FileId {
                    id: 0,
                },
                offset: 2789,
                length: 172,
            },
        },
    },
    ApolloDiagnostic {
        cache: {
            0: "built_in_types.graphql",
            50: "0050_directives_in_invalid_locations.graphql",
        },
        location: DiagnosticLocation {
            file_id: FileId {
                id: 50,
            },
            offset: 46,
            length: 16,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 46,
                    length: 16,
                },
                text: "QUERY is not a valid location",
            },
        ],
        help: Some(
            "the directive must be used in a location that the service has declared support for",
        ),
        data: UnsupportedLocation {
            name: "skip",
            dir_loc: Query,
            directive_def: DiagnosticLocation {
                file_id: FileId {
                    id: 0,
                },
                offset: 1957,
                length: 187,
            },
        },
    },
    ApolloDiagnostic {
        cache: {
            0: "built_in_types.graphql",
            50: "0050_directives_in_invalid_locations.graphql",
        },
        location: DiagnosticLocation {
            file_id: FileId {
                id: 50,
            },
            offset: 29,
            length: 15,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 29,
                    length: 15,
                },
                text: "VARIABLE_DEFINITION is not a valid location",
            },
        ],
        help: Some(
            "the directive must be used in a location that the service has declared support for",
        ),
        data: UnsupportedLocation {
            name: "skip",
            dir_loc: VariableDefinition,
            directive_def: DiagnosticLocation {
                file_id: FileId {
                    id: 0,
                },
                offset: 1957,
                length: 187,
            },
        },
    },
    ApolloDiagnostic {
        cache: {
            0: "built_in_types.graphql",
            50: "0050_directives_in_invalid_locations.graphql",
        },
        location: DiagnosticLocation {
            file_id: FileId {
                id: 50,
            },
            offset: 100,
            length: 11,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 100,
                    length: 11,
                },
                text: "FIELD is not a valid location",
            },
        ],
        help: Some(
            "the directive must be used in a location that the service has declared support for",
        ),
        data: UnsupportedLocation {
            name: "deprecated",
            dir_loc: Field,
            directive_def: DiagnosticLocation {
                file_id: FileId {
                    id: 0,
                },
                offset: 2347,
                length: 440,
            },
        },
    },
    ApolloDiagnostic {
        cache: {
            0: "built_in_types.graphql",
            50: "0050_directives_in_invalid_locations.graphql",
        },
        location: DiagnosticLocation {
            file_id: FileId {
                id: 50,
            },
            offset: 141,
            length: 11,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 141,
                    length: 11,
                },
                text: "FRAGMENT_SPREAD is not a valid location",
            },
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 1398,
                    length: 29,
                },
                text: "consider adding FRAGMENT_SPREAD directive location here",
            },
        ],
        help: Some(
            "the directive must be used in a location that the service has declared support for",
        ),
        data: UnsupportedLocation {
            name: "directiveB",
            dir_loc: FragmentSpread,
            directive_def: DiagnosticLocation {
                file_id: FileId {
                    id: 50,
                },
                offset: 1398,
                length: 29,
            },
        },
    },
    ApolloDiagnostic {
        cache: {
            0: "built_in_types.graphql",
            50: "0050_directives_in_invalid_locations.graphql",
        },
        location: DiagnosticLocation {
            file_id: FileId {
                id: 50,
            },
            offset: 182,
            length: 11,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 182,
                    length: 11,
                },
                text: "FRAGMENT_DEFINITION is not a valid location",
            },
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 1398,
                    length: 29,
                },
                text: "consider adding FRAGMENT_DEFINITION directive location here",
            },
        ],
        help: Some(
            "the directive must be used in a location that the service has declared support for",
        ),
        data: UnsupportedLocation {
            name: "directiveB",
            dir_loc: FragmentDefinition,
            directive_def: DiagnosticLocation {
                file_id: FileId {
                    id: 50,
                },
                offset: 1398,
                length: 29,
            },
        },
    },
    ApolloDiagnostic {
        cache: {
            0: "built_in_types.graphql",
            50: "0050_directives_in_invalid_locations.graphql",
        },
        location: DiagnosticLocation {
            file_id: FileId {
                id: 50,
            },
            offset: 222,
            length: 11,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 222,
                    length: 11,
                },
                text: "INLINE_FRAGMENT is not a valid location",
            },
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 1367,
                    length: 30,
                },
                text: "consider adding INLINE_FRAGMENT directive location here",
            },
        ],
        help: Some(
            "the directive must be used in a location that the service has declared support for",
        ),
        data: UnsupportedLocation {
            name: "directiveA",
            dir_loc: InlineFragment,
            directive_def: DiagnosticLocation {
                file_id: FileId {
                    id: 50,
                },
                offset: 1367,
                length: 30,
            },
        },
    },
    ApolloDiagnostic {
        cache: {
            0: "built_in_types.graphql",
            50: "0050_directives_in_invalid_locations.graphql",
        },
        location: DiagnosticLocation {
            file_id: FileId {
                id: 50,
            },
            offset: 279,
            length: 11,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 279,
                    length: 11,
                },
                text: "SUBSCRIPTION is not a valid location",
            },
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 1367,
                    length: 30,
                },
                text: "consider adding SUBSCRIPTION directive location here",
            },
        ],
        help: Some(
            "the directive must be used in a location that the service has declared support for",
        ),
        data: UnsupportedLocation {
            name: "directiveA",
            dir_loc: Subscription,
            directive_def: DiagnosticLocation {
                file_id: FileId {
                    id: 50,
                },
                offset: 1367,
                length: 30,
            },
        },
    },
    ApolloDiagnostic {
        cache: {
            0: "built_in_types.graphql",
            50: "0050_directives_in_invalid_locations.graphql",
        },
        location: DiagnosticLocation {
            file_id: FileId {
                id: 50,
            },
            offset: 355,
            length: 15,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 355,
                    length: 15,
                },
                text: "MUTATION is not a valid location",
            },
        ],
        help: Some(
            "the directive must be used in a location that the service has declared support for",
        ),
        data: UnsupportedLocation {
            name: "skip",
            dir_loc: Mutation,
            directive_def: DiagnosticLocation {
                file_id: FileId {
                    id: 0,
                },
                offset: 1957,
                length: 187,
            },
        },
    },
]
