mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-14 17:07:26 +00:00
Update tests
This commit is contained in:
parent
3b9d164043
commit
f73b874157
10 changed files with 168 additions and 21 deletions
|
@ -1,6 +1,13 @@
|
|||
[
|
||||
MappedRustDiagnostic {
|
||||
url: "file:///test/compiler/mir/tagset.rs",
|
||||
url: Url {
|
||||
scheme: "file",
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/compiler/mir/tagset.rs",
|
||||
query: None,
|
||||
fragment: None,
|
||||
},
|
||||
diagnostic: Diagnostic {
|
||||
range: Range {
|
||||
start: Position {
|
||||
|
@ -29,7 +36,14 @@
|
|||
[
|
||||
DiagnosticRelatedInformation {
|
||||
location: Location {
|
||||
uri: "file:///test/compiler/lib.rs",
|
||||
uri: Url {
|
||||
scheme: "file",
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/compiler/lib.rs",
|
||||
query: None,
|
||||
fragment: None,
|
||||
},
|
||||
range: Range {
|
||||
start: Position {
|
||||
line: 0,
|
||||
|
@ -45,7 +59,14 @@
|
|||
},
|
||||
DiagnosticRelatedInformation {
|
||||
location: Location {
|
||||
uri: "file:///test/compiler/mir/tagset.rs",
|
||||
uri: Url {
|
||||
scheme: "file",
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/compiler/mir/tagset.rs",
|
||||
query: None,
|
||||
fragment: None,
|
||||
},
|
||||
range: Range {
|
||||
start: Position {
|
||||
line: 41,
|
||||
|
|
|
@ -1,6 +1,13 @@
|
|||
[
|
||||
MappedRustDiagnostic {
|
||||
url: "file:///test/src/main.rs",
|
||||
url: Url {
|
||||
scheme: "file",
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/src/main.rs",
|
||||
query: None,
|
||||
fragment: None,
|
||||
},
|
||||
diagnostic: Diagnostic {
|
||||
range: Range {
|
||||
start: Position {
|
||||
|
|
|
@ -1,6 +1,13 @@
|
|||
[
|
||||
MappedRustDiagnostic {
|
||||
url: "file:///test/crates/hir_def/src/data.rs",
|
||||
url: Url {
|
||||
scheme: "file",
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/crates/hir_def/src/data.rs",
|
||||
query: None,
|
||||
fragment: None,
|
||||
},
|
||||
diagnostic: Diagnostic {
|
||||
range: Range {
|
||||
start: Position {
|
||||
|
@ -25,7 +32,14 @@
|
|||
[
|
||||
DiagnosticRelatedInformation {
|
||||
location: Location {
|
||||
uri: "file:///test/crates/hir_def/src/path.rs",
|
||||
uri: Url {
|
||||
scheme: "file",
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/crates/hir_def/src/path.rs",
|
||||
query: None,
|
||||
fragment: None,
|
||||
},
|
||||
range: Range {
|
||||
start: Position {
|
||||
line: 264,
|
||||
|
@ -47,7 +61,14 @@
|
|||
fixes: [],
|
||||
},
|
||||
MappedRustDiagnostic {
|
||||
url: "file:///test/crates/hir_def/src/path.rs",
|
||||
url: Url {
|
||||
scheme: "file",
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/crates/hir_def/src/path.rs",
|
||||
query: None,
|
||||
fragment: None,
|
||||
},
|
||||
diagnostic: Diagnostic {
|
||||
range: Range {
|
||||
start: Position {
|
||||
|
@ -72,7 +93,14 @@
|
|||
[
|
||||
DiagnosticRelatedInformation {
|
||||
location: Location {
|
||||
uri: "file:///test/crates/hir_def/src/data.rs",
|
||||
uri: Url {
|
||||
scheme: "file",
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/crates/hir_def/src/data.rs",
|
||||
query: None,
|
||||
fragment: None,
|
||||
},
|
||||
range: Range {
|
||||
start: Position {
|
||||
line: 79,
|
||||
|
|
|
@ -1,6 +1,13 @@
|
|||
[
|
||||
MappedRustDiagnostic {
|
||||
url: "file:///test/compiler/ty/list_iter.rs",
|
||||
url: Url {
|
||||
scheme: "file",
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/compiler/ty/list_iter.rs",
|
||||
query: None,
|
||||
fragment: None,
|
||||
},
|
||||
diagnostic: Diagnostic {
|
||||
range: Range {
|
||||
start: Position {
|
||||
|
|
|
@ -1,6 +1,13 @@
|
|||
[
|
||||
MappedRustDiagnostic {
|
||||
url: "file:///test/runtime/compiler_support.rs",
|
||||
url: Url {
|
||||
scheme: "file",
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/runtime/compiler_support.rs",
|
||||
query: None,
|
||||
fragment: None,
|
||||
},
|
||||
diagnostic: Diagnostic {
|
||||
range: Range {
|
||||
start: Position {
|
||||
|
|
|
@ -1,6 +1,13 @@
|
|||
[
|
||||
MappedRustDiagnostic {
|
||||
url: "file:///test/driver/subcommand/repl.rs",
|
||||
url: Url {
|
||||
scheme: "file",
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/driver/subcommand/repl.rs",
|
||||
query: None,
|
||||
fragment: None,
|
||||
},
|
||||
diagnostic: Diagnostic {
|
||||
range: Range {
|
||||
start: Position {
|
||||
|
@ -46,7 +53,14 @@
|
|||
SnippetWorkspaceEdit {
|
||||
changes: Some(
|
||||
{
|
||||
"file:///test/driver/subcommand/repl.rs": [
|
||||
Url {
|
||||
scheme: "file",
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/driver/subcommand/repl.rs",
|
||||
query: None,
|
||||
fragment: None,
|
||||
}: [
|
||||
TextEdit {
|
||||
range: Range {
|
||||
start: Position {
|
||||
|
|
|
@ -1,6 +1,13 @@
|
|||
[
|
||||
MappedRustDiagnostic {
|
||||
url: "file:///test/driver/subcommand/repl.rs",
|
||||
url: Url {
|
||||
scheme: "file",
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/driver/subcommand/repl.rs",
|
||||
query: None,
|
||||
fragment: None,
|
||||
},
|
||||
diagnostic: Diagnostic {
|
||||
range: Range {
|
||||
start: Position {
|
||||
|
@ -46,7 +53,14 @@
|
|||
SnippetWorkspaceEdit {
|
||||
changes: Some(
|
||||
{
|
||||
"file:///test/driver/subcommand/repl.rs": [
|
||||
Url {
|
||||
scheme: "file",
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/driver/subcommand/repl.rs",
|
||||
query: None,
|
||||
fragment: None,
|
||||
}: [
|
||||
TextEdit {
|
||||
range: Range {
|
||||
start: Position {
|
||||
|
|
|
@ -1,6 +1,13 @@
|
|||
[
|
||||
MappedRustDiagnostic {
|
||||
url: "file:///test/driver/subcommand/repl.rs",
|
||||
url: Url {
|
||||
scheme: "file",
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/driver/subcommand/repl.rs",
|
||||
query: None,
|
||||
fragment: None,
|
||||
},
|
||||
diagnostic: Diagnostic {
|
||||
range: Range {
|
||||
start: Position {
|
||||
|
@ -46,7 +53,14 @@
|
|||
SnippetWorkspaceEdit {
|
||||
changes: Some(
|
||||
{
|
||||
"file:///test/driver/subcommand/repl.rs": [
|
||||
Url {
|
||||
scheme: "file",
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/driver/subcommand/repl.rs",
|
||||
query: None,
|
||||
fragment: None,
|
||||
}: [
|
||||
TextEdit {
|
||||
range: Range {
|
||||
start: Position {
|
||||
|
|
|
@ -1,6 +1,13 @@
|
|||
[
|
||||
MappedRustDiagnostic {
|
||||
url: "file:///test/compiler/ty/select.rs",
|
||||
url: Url {
|
||||
scheme: "file",
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/compiler/ty/select.rs",
|
||||
query: None,
|
||||
fragment: None,
|
||||
},
|
||||
diagnostic: Diagnostic {
|
||||
range: Range {
|
||||
start: Position {
|
||||
|
@ -29,7 +36,14 @@
|
|||
[
|
||||
DiagnosticRelatedInformation {
|
||||
location: Location {
|
||||
uri: "file:///test/compiler/ty/select.rs",
|
||||
uri: Url {
|
||||
scheme: "file",
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/compiler/ty/select.rs",
|
||||
query: None,
|
||||
fragment: None,
|
||||
},
|
||||
range: Range {
|
||||
start: Position {
|
||||
line: 218,
|
||||
|
|
|
@ -1,6 +1,13 @@
|
|||
[
|
||||
MappedRustDiagnostic {
|
||||
url: "file:///test/src/main.rs",
|
||||
url: Url {
|
||||
scheme: "file",
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/src/main.rs",
|
||||
query: None,
|
||||
fragment: None,
|
||||
},
|
||||
diagnostic: Diagnostic {
|
||||
range: Range {
|
||||
start: Position {
|
||||
|
@ -29,7 +36,14 @@
|
|||
[
|
||||
DiagnosticRelatedInformation {
|
||||
location: Location {
|
||||
uri: "file:///test/src/main.rs",
|
||||
uri: Url {
|
||||
scheme: "file",
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/src/main.rs",
|
||||
query: None,
|
||||
fragment: None,
|
||||
},
|
||||
range: Range {
|
||||
start: Position {
|
||||
line: 2,
|
||||
|
@ -61,7 +75,14 @@
|
|||
SnippetWorkspaceEdit {
|
||||
changes: Some(
|
||||
{
|
||||
"file:///test/src/main.rs": [
|
||||
Url {
|
||||
scheme: "file",
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/src/main.rs",
|
||||
query: None,
|
||||
fragment: None,
|
||||
}: [
|
||||
TextEdit {
|
||||
range: Range {
|
||||
start: Position {
|
||||
|
|
Loading…
Reference in a new issue