[
    ApolloDiagnostic {
        cache: {
            0: "built_in_types.graphql",
            50: "0050_directives_in_invalid_locations.graphql",
        },
        location: DiagnosticLocation {
            file_id: FileId {
                id: 50,
            },
            offset: 1145,
            length: 18,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 1145,
                    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: 1296,
            length: 11,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 1296,
                    length: 11,
                },
                text: "SCALAR is not a valid location",
            },
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 1387,
                    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: 1387,
                length: 29,
            },
        },
    },
    ApolloDiagnostic {
        cache: {
            0: "built_in_types.graphql",
            50: "0050_directives_in_invalid_locations.graphql",
        },
        location: DiagnosticLocation {
            file_id: FileId {
                id: 50,
            },
            offset: 831,
            length: 11,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 831,
                    length: 11,
                },
                text: "ENUM is not a valid location",
            },
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 1356,
                    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: 1356,
                length: 30,
            },
        },
    },
    ApolloDiagnostic {
        cache: {
            0: "built_in_types.graphql",
            50: "0050_directives_in_invalid_locations.graphql",
        },
        location: DiagnosticLocation {
            file_id: FileId {
                id: 50,
            },
            offset: 853,
            length: 11,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 853,
                    length: 11,
                },
                text: "ENUM_VALUE is not a valid location",
            },
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 1356,
                    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: 1356,
                length: 30,
            },
        },
    },
    ApolloDiagnostic {
        cache: {
            0: "built_in_types.graphql",
            50: "0050_directives_in_invalid_locations.graphql",
        },
        location: DiagnosticLocation {
            file_id: FileId {
                id: 50,
            },
            offset: 749,
            length: 11,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 749,
                    length: 11,
                },
                text: "UNION is not a valid location",
            },
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 1387,
                    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: 1387,
                length: 29,
            },
        },
    },
    ApolloDiagnostic {
        cache: {
            0: "built_in_types.graphql",
            50: "0050_directives_in_invalid_locations.graphql",
        },
        location: DiagnosticLocation {
            file_id: FileId {
                id: 50,
            },
            offset: 435,
            length: 15,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 435,
                    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: 659,
            length: 18,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 659,
                    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: 696,
            length: 18,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 696,
                    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: 512,
            length: 11,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 512,
                    length: 11,
                },
                text: "FIELD_DEFINITION is not a valid location",
            },
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 1387,
                    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: 1387,
                length: 29,
            },
        },
    },
    ApolloDiagnostic {
        cache: {
            0: "built_in_types.graphql",
            50: "0050_directives_in_invalid_locations.graphql",
        },
        location: DiagnosticLocation {
            file_id: FileId {
                id: 50,
            },
            offset: 896,
            length: 11,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 896,
                    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: 393,
            },
        },
    },
    ApolloDiagnostic {
        cache: {
            0: "built_in_types.graphql",
            50: "0050_directives_in_invalid_locations.graphql",
        },
        location: DiagnosticLocation {
            file_id: FileId {
                id: 50,
            },
            offset: 968,
            length: 56,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 968,
                    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: 2742,
                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: 15,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 46,
                    length: 15,
                },
                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: 99,
            length: 11,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 99,
                    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: 393,
            },
        },
    },
    ApolloDiagnostic {
        cache: {
            0: "built_in_types.graphql",
            50: "0050_directives_in_invalid_locations.graphql",
        },
        location: DiagnosticLocation {
            file_id: FileId {
                id: 50,
            },
            offset: 133,
            length: 11,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 133,
                    length: 11,
                },
                text: "FRAGMENT_SPREAD is not a valid location",
            },
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 1387,
                    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: 1387,
                length: 29,
            },
        },
    },
    ApolloDiagnostic {
        cache: {
            0: "built_in_types.graphql",
            50: "0050_directives_in_invalid_locations.graphql",
        },
        location: DiagnosticLocation {
            file_id: FileId {
                id: 50,
            },
            offset: 268,
            length: 11,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 268,
                    length: 11,
                },
                text: "SUBSCRIPTION is not a valid location",
            },
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 1356,
                    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: 1356,
                length: 30,
            },
        },
    },
    ApolloDiagnostic {
        cache: {
            0: "built_in_types.graphql",
            50: "0050_directives_in_invalid_locations.graphql",
        },
        location: DiagnosticLocation {
            file_id: FileId {
                id: 50,
            },
            offset: 344,
            length: 15,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 344,
                    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,
            },
        },
    },
    ApolloDiagnostic {
        cache: {
            0: "built_in_types.graphql",
            50: "0050_directives_in_invalid_locations.graphql",
        },
        location: DiagnosticLocation {
            file_id: FileId {
                id: 50,
            },
            offset: 172,
            length: 11,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 172,
                    length: 11,
                },
                text: "FRAGMENT_DEFINITION is not a valid location",
            },
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 1387,
                    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: 1387,
                length: 29,
            },
        },
    },
    ApolloDiagnostic {
        cache: {
            0: "built_in_types.graphql",
            50: "0050_directives_in_invalid_locations.graphql",
        },
        location: DiagnosticLocation {
            file_id: FileId {
                id: 50,
            },
            offset: 211,
            length: 11,
        },
        labels: [
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 211,
                    length: 11,
                },
                text: "INLINE_FRAGMENT is not a valid location",
            },
            Label {
                location: DiagnosticLocation {
                    file_id: FileId {
                        id: 50,
                    },
                    offset: 1356,
                    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: 1356,
                length: 30,
            },
        },
    },
]
