update diagnostics test_data with code_description changes

This commit is contained in:
Lukas Wirth 2020-11-17 22:49:38 +01:00
parent 863fdcfa24
commit 56a0021e61
6 changed files with 108 additions and 6 deletions

View File

@ -27,7 +27,24 @@
"trivially_copy_pass_by_ref",
),
),
code_description: None,
code_description: Some(
CodeDescription {
href: Url {
scheme: "https",
host: Some(
Domain(
"rust-lang.github.io",
),
),
port: None,
path: "/rust-clippy/master/index.html",
query: None,
fragment: Some(
"trivially_copy_pass_by_ref",
),
},
},
),
source: Some(
"clippy",
),

View File

@ -27,7 +27,24 @@
"E0277",
),
),
code_description: None,
code_description: Some(
CodeDescription {
href: Url {
scheme: "https",
host: Some(
Domain(
"doc.rust-lang.org",
),
),
port: None,
path: "/error-index.html",
query: None,
fragment: Some(
"E0277",
),
},
},
),
source: Some(
"rustc",
),

View File

@ -27,7 +27,24 @@
"E0053",
),
),
code_description: None,
code_description: Some(
CodeDescription {
href: Url {
scheme: "https",
host: Some(
Domain(
"doc.rust-lang.org",
),
),
port: None,
path: "/error-index.html",
query: None,
fragment: Some(
"E0053",
),
},
},
),
source: Some(
"rustc",
),

View File

@ -27,7 +27,24 @@
"E0308",
),
),
code_description: None,
code_description: Some(
CodeDescription {
href: Url {
scheme: "https",
host: Some(
Domain(
"doc.rust-lang.org",
),
),
port: None,
path: "/error-index.html",
query: None,
fragment: Some(
"E0308",
),
},
},
),
source: Some(
"rustc",
),

View File

@ -27,7 +27,24 @@
"E0061",
),
),
code_description: None,
code_description: Some(
CodeDescription {
href: Url {
scheme: "https",
host: Some(
Domain(
"doc.rust-lang.org",
),
),
port: None,
path: "/error-index.html",
query: None,
fragment: Some(
"E0061",
),
},
},
),
source: Some(
"rustc",
),

View File

@ -27,7 +27,24 @@
"let_and_return",
),
),
code_description: None,
code_description: Some(
CodeDescription {
href: Url {
scheme: "https",
host: Some(
Domain(
"rust-lang.github.io",
),
),
port: None,
path: "/rust-clippy/master/index.html",
query: None,
fragment: Some(
"let_and_return",
),
},
},
),
source: Some(
"clippy",
),