aboutsummaryrefslogtreecommitdiff
path: root/crates/rust-analyzer/test_data/rustc_mismatched_type.txt
blob: c269af218ce8c681f32229ea290bc2065fd87b4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
[
    MappedRustDiagnostic {
        url: "file:///test/runtime/compiler_support.rs",
        diagnostic: Diagnostic {
            range: Range {
                start: Position {
                    line: 47,
                    character: 64,
                },
                end: Position {
                    line: 47,
                    character: 69,
                },
            },
            severity: Some(
                Error,
            ),
            code: Some(
                String(
                    "E0308",
                ),
            ),
            source: Some(
                "rustc",
            ),
            message: "mismatched types\nexpected usize, found u32",
            related_information: None,
            tags: None,
        },
        fixes: [],
    },
]