52 lines
1.6 KiB
Plaintext
52 lines
1.6 KiB
Plaintext
[
|
|
MappedRustDiagnostic {
|
|
url: "file:///test/compiler/ty/select.rs",
|
|
diagnostic: Diagnostic {
|
|
range: Range {
|
|
start: Position {
|
|
line: 103,
|
|
character: 17,
|
|
},
|
|
end: Position {
|
|
line: 103,
|
|
character: 29,
|
|
},
|
|
},
|
|
severity: Some(
|
|
Error,
|
|
),
|
|
code: Some(
|
|
String(
|
|
"E0061",
|
|
),
|
|
),
|
|
source: Some(
|
|
"rustc",
|
|
),
|
|
message: "this function takes 2 parameters but 3 parameters were supplied\nexpected 2 parameters",
|
|
related_information: Some(
|
|
[
|
|
DiagnosticRelatedInformation {
|
|
location: Location {
|
|
uri: "file:///test/compiler/ty/select.rs",
|
|
range: Range {
|
|
start: Position {
|
|
line: 218,
|
|
character: 4,
|
|
},
|
|
end: Position {
|
|
line: 230,
|
|
character: 5,
|
|
},
|
|
},
|
|
},
|
|
message: "defined here",
|
|
},
|
|
],
|
|
),
|
|
tags: None,
|
|
},
|
|
fixes: [],
|
|
},
|
|
]
|