Update tests
This commit is contained in:
parent
b43bec380f
commit
1f3c637a1d
crates/rust-analyzer/src/diagnostics/test_data
@ -2,6 +2,8 @@
|
||||
MappedRustDiagnostic {
|
||||
url: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/compiler/mir/tagset.rs",
|
||||
@ -31,6 +33,8 @@
|
||||
CodeDescription {
|
||||
href: Url {
|
||||
scheme: "https",
|
||||
username: "",
|
||||
password: None,
|
||||
host: Some(
|
||||
Domain(
|
||||
"rust-lang.github.io",
|
||||
@ -55,6 +59,8 @@
|
||||
location: Location {
|
||||
uri: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/compiler/lib.rs",
|
||||
@ -78,6 +84,8 @@
|
||||
location: Location {
|
||||
uri: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/compiler/mir/tagset.rs",
|
||||
@ -107,6 +115,8 @@
|
||||
MappedRustDiagnostic {
|
||||
url: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/compiler/lib.rs",
|
||||
@ -136,6 +146,8 @@
|
||||
CodeDescription {
|
||||
href: Url {
|
||||
scheme: "https",
|
||||
username: "",
|
||||
password: None,
|
||||
host: Some(
|
||||
Domain(
|
||||
"rust-lang.github.io",
|
||||
@ -160,6 +172,8 @@
|
||||
location: Location {
|
||||
uri: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/compiler/mir/tagset.rs",
|
||||
@ -189,6 +203,8 @@
|
||||
MappedRustDiagnostic {
|
||||
url: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/compiler/mir/tagset.rs",
|
||||
@ -218,6 +234,8 @@
|
||||
CodeDescription {
|
||||
href: Url {
|
||||
scheme: "https",
|
||||
username: "",
|
||||
password: None,
|
||||
host: Some(
|
||||
Domain(
|
||||
"rust-lang.github.io",
|
||||
@ -242,6 +260,8 @@
|
||||
location: Location {
|
||||
uri: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/compiler/mir/tagset.rs",
|
||||
@ -281,6 +301,8 @@
|
||||
{
|
||||
Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/compiler/mir/tagset.rs",
|
||||
|
@ -2,6 +2,8 @@
|
||||
MappedRustDiagnostic {
|
||||
url: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/src/main.rs",
|
||||
@ -31,6 +33,8 @@
|
||||
CodeDescription {
|
||||
href: Url {
|
||||
scheme: "https",
|
||||
username: "",
|
||||
password: None,
|
||||
host: Some(
|
||||
Domain(
|
||||
"doc.rust-lang.org",
|
||||
|
@ -2,6 +2,8 @@
|
||||
MappedRustDiagnostic {
|
||||
url: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/crates/hir_def/src/path.rs",
|
||||
@ -34,6 +36,8 @@
|
||||
location: Location {
|
||||
uri: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/crates/hir_def/src/data.rs",
|
||||
@ -63,6 +67,8 @@
|
||||
MappedRustDiagnostic {
|
||||
url: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/crates/hir_def/src/data.rs",
|
||||
|
@ -2,6 +2,8 @@
|
||||
MappedRustDiagnostic {
|
||||
url: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/compiler/ty/list_iter.rs",
|
||||
@ -31,6 +33,8 @@
|
||||
CodeDescription {
|
||||
href: Url {
|
||||
scheme: "https",
|
||||
username: "",
|
||||
password: None,
|
||||
host: Some(
|
||||
Domain(
|
||||
"doc.rust-lang.org",
|
||||
|
@ -2,6 +2,8 @@
|
||||
MappedRustDiagnostic {
|
||||
url: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/runtime/compiler_support.rs",
|
||||
@ -31,6 +33,8 @@
|
||||
CodeDescription {
|
||||
href: Url {
|
||||
scheme: "https",
|
||||
username: "",
|
||||
password: None,
|
||||
host: Some(
|
||||
Domain(
|
||||
"doc.rust-lang.org",
|
||||
|
@ -2,6 +2,8 @@
|
||||
MappedRustDiagnostic {
|
||||
url: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/driver/subcommand/repl.rs",
|
||||
@ -38,6 +40,8 @@
|
||||
location: Location {
|
||||
uri: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/driver/subcommand/repl.rs",
|
||||
@ -71,6 +75,8 @@
|
||||
MappedRustDiagnostic {
|
||||
url: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/driver/subcommand/repl.rs",
|
||||
@ -107,6 +113,8 @@
|
||||
location: Location {
|
||||
uri: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/driver/subcommand/repl.rs",
|
||||
@ -146,6 +154,8 @@
|
||||
{
|
||||
Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/driver/subcommand/repl.rs",
|
||||
|
@ -2,6 +2,8 @@
|
||||
MappedRustDiagnostic {
|
||||
url: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/driver/subcommand/repl.rs",
|
||||
@ -38,6 +40,8 @@
|
||||
location: Location {
|
||||
uri: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/driver/subcommand/repl.rs",
|
||||
@ -71,6 +75,8 @@
|
||||
MappedRustDiagnostic {
|
||||
url: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/driver/subcommand/repl.rs",
|
||||
@ -107,6 +113,8 @@
|
||||
location: Location {
|
||||
uri: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/driver/subcommand/repl.rs",
|
||||
@ -146,6 +154,8 @@
|
||||
{
|
||||
Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/driver/subcommand/repl.rs",
|
||||
|
@ -2,6 +2,8 @@
|
||||
MappedRustDiagnostic {
|
||||
url: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/driver/subcommand/repl.rs",
|
||||
@ -38,6 +40,8 @@
|
||||
location: Location {
|
||||
uri: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/driver/subcommand/repl.rs",
|
||||
@ -71,6 +75,8 @@
|
||||
MappedRustDiagnostic {
|
||||
url: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/driver/subcommand/repl.rs",
|
||||
@ -107,6 +113,8 @@
|
||||
location: Location {
|
||||
uri: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/driver/subcommand/repl.rs",
|
||||
@ -146,6 +154,8 @@
|
||||
{
|
||||
Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/driver/subcommand/repl.rs",
|
||||
|
@ -2,6 +2,8 @@
|
||||
MappedRustDiagnostic {
|
||||
url: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/compiler/ty/select.rs",
|
||||
@ -31,6 +33,8 @@
|
||||
CodeDescription {
|
||||
href: Url {
|
||||
scheme: "https",
|
||||
username: "",
|
||||
password: None,
|
||||
host: Some(
|
||||
Domain(
|
||||
"doc.rust-lang.org",
|
||||
@ -55,6 +59,8 @@
|
||||
location: Location {
|
||||
uri: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/compiler/ty/select.rs",
|
||||
@ -84,6 +90,8 @@
|
||||
MappedRustDiagnostic {
|
||||
url: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/compiler/ty/select.rs",
|
||||
@ -113,6 +121,8 @@
|
||||
CodeDescription {
|
||||
href: Url {
|
||||
scheme: "https",
|
||||
username: "",
|
||||
password: None,
|
||||
host: Some(
|
||||
Domain(
|
||||
"doc.rust-lang.org",
|
||||
@ -137,6 +147,8 @@
|
||||
location: Location {
|
||||
uri: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/compiler/ty/select.rs",
|
||||
|
@ -2,6 +2,8 @@
|
||||
MappedRustDiagnostic {
|
||||
url: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/src/main.rs",
|
||||
@ -31,6 +33,8 @@
|
||||
CodeDescription {
|
||||
href: Url {
|
||||
scheme: "https",
|
||||
username: "",
|
||||
password: None,
|
||||
host: Some(
|
||||
Domain(
|
||||
"rust-lang.github.io",
|
||||
@ -55,6 +59,8 @@
|
||||
location: Location {
|
||||
uri: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/src/main.rs",
|
||||
@ -78,6 +84,8 @@
|
||||
location: Location {
|
||||
uri: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/src/main.rs",
|
||||
@ -107,6 +115,8 @@
|
||||
MappedRustDiagnostic {
|
||||
url: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/src/main.rs",
|
||||
@ -136,6 +146,8 @@
|
||||
CodeDescription {
|
||||
href: Url {
|
||||
scheme: "https",
|
||||
username: "",
|
||||
password: None,
|
||||
host: Some(
|
||||
Domain(
|
||||
"rust-lang.github.io",
|
||||
@ -160,6 +172,8 @@
|
||||
location: Location {
|
||||
uri: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/src/main.rs",
|
||||
@ -189,6 +203,8 @@
|
||||
MappedRustDiagnostic {
|
||||
url: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/src/main.rs",
|
||||
@ -218,6 +234,8 @@
|
||||
CodeDescription {
|
||||
href: Url {
|
||||
scheme: "https",
|
||||
username: "",
|
||||
password: None,
|
||||
host: Some(
|
||||
Domain(
|
||||
"rust-lang.github.io",
|
||||
@ -242,6 +260,8 @@
|
||||
location: Location {
|
||||
uri: Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/src/main.rs",
|
||||
@ -281,6 +301,8 @@
|
||||
{
|
||||
Url {
|
||||
scheme: "file",
|
||||
username: "",
|
||||
password: None,
|
||||
host: None,
|
||||
port: None,
|
||||
path: "/test/src/main.rs",
|
||||
|
Loading…
x
Reference in New Issue
Block a user