aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-02-20 19:59:43 +0000
committerGitHub <[email protected]>2021-02-20 19:59:43 +0000
commitd0a787152d9f226707168f65ebfb215e23cedeed (patch)
tree56b332769ec3c44e335fc6d4ce52b05a6e9f18f5 /crates
parent0b4ec3c4e8d943dfe81fe22fdee636a714a9f87c (diff)
parent1f3c637a1d6daa06a7c0fa303993a6aa63cc841a (diff)
Merge #7733
7733: Update some crates r=kjeremy a=kjeremy Co-authored-by: Jeremy Kolb <[email protected]>
Diffstat (limited to 'crates')
-rw-r--r--crates/rust-analyzer/src/diagnostics/test_data/clippy_pass_by_ref.txt22
-rw-r--r--crates/rust-analyzer/src/diagnostics/test_data/handles_macro_location.txt4
-rw-r--r--crates/rust-analyzer/src/diagnostics/test_data/macro_compiler_error.txt6
-rw-r--r--crates/rust-analyzer/src/diagnostics/test_data/rustc_incompatible_type_for_trait.txt4
-rw-r--r--crates/rust-analyzer/src/diagnostics/test_data/rustc_mismatched_type.txt4
-rw-r--r--crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable.txt10
-rw-r--r--crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable_as_hint.txt10
-rw-r--r--crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable_as_info.txt10
-rw-r--r--crates/rust-analyzer/src/diagnostics/test_data/rustc_wrong_number_of_parameters.txt12
-rw-r--r--crates/rust-analyzer/src/diagnostics/test_data/snap_multi_line_fix.txt22
10 files changed, 104 insertions, 0 deletions
diff --git a/crates/rust-analyzer/src/diagnostics/test_data/clippy_pass_by_ref.txt b/crates/rust-analyzer/src/diagnostics/test_data/clippy_pass_by_ref.txt
index ce80476fb..23ec2efba 100644
--- a/crates/rust-analyzer/src/diagnostics/test_data/clippy_pass_by_ref.txt
+++ b/crates/rust-analyzer/src/diagnostics/test_data/clippy_pass_by_ref.txt
@@ -2,6 +2,8 @@
2 MappedRustDiagnostic { 2 MappedRustDiagnostic {
3 url: Url { 3 url: Url {
4 scheme: "file", 4 scheme: "file",
5 username: "",
6 password: None,
5 host: None, 7 host: None,
6 port: None, 8 port: None,
7 path: "/test/compiler/mir/tagset.rs", 9 path: "/test/compiler/mir/tagset.rs",
@@ -31,6 +33,8 @@
31 CodeDescription { 33 CodeDescription {
32 href: Url { 34 href: Url {
33 scheme: "https", 35 scheme: "https",
36 username: "",
37 password: None,
34 host: Some( 38 host: Some(
35 Domain( 39 Domain(
36 "rust-lang.github.io", 40 "rust-lang.github.io",
@@ -55,6 +59,8 @@
55 location: Location { 59 location: Location {
56 uri: Url { 60 uri: Url {
57 scheme: "file", 61 scheme: "file",
62 username: "",
63 password: None,
58 host: None, 64 host: None,
59 port: None, 65 port: None,
60 path: "/test/compiler/lib.rs", 66 path: "/test/compiler/lib.rs",
@@ -78,6 +84,8 @@
78 location: Location { 84 location: Location {
79 uri: Url { 85 uri: Url {
80 scheme: "file", 86 scheme: "file",
87 username: "",
88 password: None,
81 host: None, 89 host: None,
82 port: None, 90 port: None,
83 path: "/test/compiler/mir/tagset.rs", 91 path: "/test/compiler/mir/tagset.rs",
@@ -107,6 +115,8 @@
107 MappedRustDiagnostic { 115 MappedRustDiagnostic {
108 url: Url { 116 url: Url {
109 scheme: "file", 117 scheme: "file",
118 username: "",
119 password: None,
110 host: None, 120 host: None,
111 port: None, 121 port: None,
112 path: "/test/compiler/lib.rs", 122 path: "/test/compiler/lib.rs",
@@ -136,6 +146,8 @@
136 CodeDescription { 146 CodeDescription {
137 href: Url { 147 href: Url {
138 scheme: "https", 148 scheme: "https",
149 username: "",
150 password: None,
139 host: Some( 151 host: Some(
140 Domain( 152 Domain(
141 "rust-lang.github.io", 153 "rust-lang.github.io",
@@ -160,6 +172,8 @@
160 location: Location { 172 location: Location {
161 uri: Url { 173 uri: Url {
162 scheme: "file", 174 scheme: "file",
175 username: "",
176 password: None,
163 host: None, 177 host: None,
164 port: None, 178 port: None,
165 path: "/test/compiler/mir/tagset.rs", 179 path: "/test/compiler/mir/tagset.rs",
@@ -189,6 +203,8 @@
189 MappedRustDiagnostic { 203 MappedRustDiagnostic {
190 url: Url { 204 url: Url {
191 scheme: "file", 205 scheme: "file",
206 username: "",
207 password: None,
192 host: None, 208 host: None,
193 port: None, 209 port: None,
194 path: "/test/compiler/mir/tagset.rs", 210 path: "/test/compiler/mir/tagset.rs",
@@ -218,6 +234,8 @@
218 CodeDescription { 234 CodeDescription {
219 href: Url { 235 href: Url {
220 scheme: "https", 236 scheme: "https",
237 username: "",
238 password: None,
221 host: Some( 239 host: Some(
222 Domain( 240 Domain(
223 "rust-lang.github.io", 241 "rust-lang.github.io",
@@ -242,6 +260,8 @@
242 location: Location { 260 location: Location {
243 uri: Url { 261 uri: Url {
244 scheme: "file", 262 scheme: "file",
263 username: "",
264 password: None,
245 host: None, 265 host: None,
246 port: None, 266 port: None,
247 path: "/test/compiler/mir/tagset.rs", 267 path: "/test/compiler/mir/tagset.rs",
@@ -281,6 +301,8 @@
281 { 301 {
282 Url { 302 Url {
283 scheme: "file", 303 scheme: "file",
304 username: "",
305 password: None,
284 host: None, 306 host: None,
285 port: None, 307 port: None,
286 path: "/test/compiler/mir/tagset.rs", 308 path: "/test/compiler/mir/tagset.rs",
diff --git a/crates/rust-analyzer/src/diagnostics/test_data/handles_macro_location.txt b/crates/rust-analyzer/src/diagnostics/test_data/handles_macro_location.txt
index eb4a6b597..e5f01fb33 100644
--- a/crates/rust-analyzer/src/diagnostics/test_data/handles_macro_location.txt
+++ b/crates/rust-analyzer/src/diagnostics/test_data/handles_macro_location.txt
@@ -2,6 +2,8 @@
2 MappedRustDiagnostic { 2 MappedRustDiagnostic {
3 url: Url { 3 url: Url {
4 scheme: "file", 4 scheme: "file",
5 username: "",
6 password: None,
5 host: None, 7 host: None,
6 port: None, 8 port: None,
7 path: "/test/src/main.rs", 9 path: "/test/src/main.rs",
@@ -31,6 +33,8 @@
31 CodeDescription { 33 CodeDescription {
32 href: Url { 34 href: Url {
33 scheme: "https", 35 scheme: "https",
36 username: "",
37 password: None,
34 host: Some( 38 host: Some(
35 Domain( 39 Domain(
36 "doc.rust-lang.org", 40 "doc.rust-lang.org",
diff --git a/crates/rust-analyzer/src/diagnostics/test_data/macro_compiler_error.txt b/crates/rust-analyzer/src/diagnostics/test_data/macro_compiler_error.txt
index bdcf2a38f..f999848a7 100644
--- a/crates/rust-analyzer/src/diagnostics/test_data/macro_compiler_error.txt
+++ b/crates/rust-analyzer/src/diagnostics/test_data/macro_compiler_error.txt
@@ -2,6 +2,8 @@
2 MappedRustDiagnostic { 2 MappedRustDiagnostic {
3 url: Url { 3 url: Url {
4 scheme: "file", 4 scheme: "file",
5 username: "",
6 password: None,
5 host: None, 7 host: None,
6 port: None, 8 port: None,
7 path: "/test/crates/hir_def/src/path.rs", 9 path: "/test/crates/hir_def/src/path.rs",
@@ -34,6 +36,8 @@
34 location: Location { 36 location: Location {
35 uri: Url { 37 uri: Url {
36 scheme: "file", 38 scheme: "file",
39 username: "",
40 password: None,
37 host: None, 41 host: None,
38 port: None, 42 port: None,
39 path: "/test/crates/hir_def/src/data.rs", 43 path: "/test/crates/hir_def/src/data.rs",
@@ -63,6 +67,8 @@
63 MappedRustDiagnostic { 67 MappedRustDiagnostic {
64 url: Url { 68 url: Url {
65 scheme: "file", 69 scheme: "file",
70 username: "",
71 password: None,
66 host: None, 72 host: None,
67 port: None, 73 port: None,
68 path: "/test/crates/hir_def/src/data.rs", 74 path: "/test/crates/hir_def/src/data.rs",
diff --git a/crates/rust-analyzer/src/diagnostics/test_data/rustc_incompatible_type_for_trait.txt b/crates/rust-analyzer/src/diagnostics/test_data/rustc_incompatible_type_for_trait.txt
index 19f72196d..0d16af232 100644
--- a/crates/rust-analyzer/src/diagnostics/test_data/rustc_incompatible_type_for_trait.txt
+++ b/crates/rust-analyzer/src/diagnostics/test_data/rustc_incompatible_type_for_trait.txt
@@ -2,6 +2,8 @@
2 MappedRustDiagnostic { 2 MappedRustDiagnostic {
3 url: Url { 3 url: Url {
4 scheme: "file", 4 scheme: "file",
5 username: "",
6 password: None,
5 host: None, 7 host: None,
6 port: None, 8 port: None,
7 path: "/test/compiler/ty/list_iter.rs", 9 path: "/test/compiler/ty/list_iter.rs",
@@ -31,6 +33,8 @@
31 CodeDescription { 33 CodeDescription {
32 href: Url { 34 href: Url {
33 scheme: "https", 35 scheme: "https",
36 username: "",
37 password: None,
34 host: Some( 38 host: Some(
35 Domain( 39 Domain(
36 "doc.rust-lang.org", 40 "doc.rust-lang.org",
diff --git a/crates/rust-analyzer/src/diagnostics/test_data/rustc_mismatched_type.txt b/crates/rust-analyzer/src/diagnostics/test_data/rustc_mismatched_type.txt
index 15ac95d72..31b6a12ce 100644
--- a/crates/rust-analyzer/src/diagnostics/test_data/rustc_mismatched_type.txt
+++ b/crates/rust-analyzer/src/diagnostics/test_data/rustc_mismatched_type.txt
@@ -2,6 +2,8 @@
2 MappedRustDiagnostic { 2 MappedRustDiagnostic {
3 url: Url { 3 url: Url {
4 scheme: "file", 4 scheme: "file",
5 username: "",
6 password: None,
5 host: None, 7 host: None,
6 port: None, 8 port: None,
7 path: "/test/runtime/compiler_support.rs", 9 path: "/test/runtime/compiler_support.rs",
@@ -31,6 +33,8 @@
31 CodeDescription { 33 CodeDescription {
32 href: Url { 34 href: Url {
33 scheme: "https", 35 scheme: "https",
36 username: "",
37 password: None,
34 host: Some( 38 host: Some(
35 Domain( 39 Domain(
36 "doc.rust-lang.org", 40 "doc.rust-lang.org",
diff --git a/crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable.txt b/crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable.txt
index 5c282fe67..b6acb5f42 100644
--- a/crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable.txt
+++ b/crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable.txt
@@ -2,6 +2,8 @@
2 MappedRustDiagnostic { 2 MappedRustDiagnostic {
3 url: Url { 3 url: Url {
4 scheme: "file", 4 scheme: "file",
5 username: "",
6 password: None,
5 host: None, 7 host: None,
6 port: None, 8 port: None,
7 path: "/test/driver/subcommand/repl.rs", 9 path: "/test/driver/subcommand/repl.rs",
@@ -38,6 +40,8 @@
38 location: Location { 40 location: Location {
39 uri: Url { 41 uri: Url {
40 scheme: "file", 42 scheme: "file",
43 username: "",
44 password: None,
41 host: None, 45 host: None,
42 port: None, 46 port: None,
43 path: "/test/driver/subcommand/repl.rs", 47 path: "/test/driver/subcommand/repl.rs",
@@ -71,6 +75,8 @@
71 MappedRustDiagnostic { 75 MappedRustDiagnostic {
72 url: Url { 76 url: Url {
73 scheme: "file", 77 scheme: "file",
78 username: "",
79 password: None,
74 host: None, 80 host: None,
75 port: None, 81 port: None,
76 path: "/test/driver/subcommand/repl.rs", 82 path: "/test/driver/subcommand/repl.rs",
@@ -107,6 +113,8 @@
107 location: Location { 113 location: Location {
108 uri: Url { 114 uri: Url {
109 scheme: "file", 115 scheme: "file",
116 username: "",
117 password: None,
110 host: None, 118 host: None,
111 port: None, 119 port: None,
112 path: "/test/driver/subcommand/repl.rs", 120 path: "/test/driver/subcommand/repl.rs",
@@ -146,6 +154,8 @@
146 { 154 {
147 Url { 155 Url {
148 scheme: "file", 156 scheme: "file",
157 username: "",
158 password: None,
149 host: None, 159 host: None,
150 port: None, 160 port: None,
151 path: "/test/driver/subcommand/repl.rs", 161 path: "/test/driver/subcommand/repl.rs",
diff --git a/crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable_as_hint.txt b/crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable_as_hint.txt
index d36d7693d..d765257c4 100644
--- a/crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable_as_hint.txt
+++ b/crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable_as_hint.txt
@@ -2,6 +2,8 @@
2 MappedRustDiagnostic { 2 MappedRustDiagnostic {
3 url: Url { 3 url: Url {
4 scheme: "file", 4 scheme: "file",
5 username: "",
6 password: None,
5 host: None, 7 host: None,
6 port: None, 8 port: None,
7 path: "/test/driver/subcommand/repl.rs", 9 path: "/test/driver/subcommand/repl.rs",
@@ -38,6 +40,8 @@
38 location: Location { 40 location: Location {
39 uri: Url { 41 uri: Url {
40 scheme: "file", 42 scheme: "file",
43 username: "",
44 password: None,
41 host: None, 45 host: None,
42 port: None, 46 port: None,
43 path: "/test/driver/subcommand/repl.rs", 47 path: "/test/driver/subcommand/repl.rs",
@@ -71,6 +75,8 @@
71 MappedRustDiagnostic { 75 MappedRustDiagnostic {
72 url: Url { 76 url: Url {
73 scheme: "file", 77 scheme: "file",
78 username: "",
79 password: None,
74 host: None, 80 host: None,
75 port: None, 81 port: None,
76 path: "/test/driver/subcommand/repl.rs", 82 path: "/test/driver/subcommand/repl.rs",
@@ -107,6 +113,8 @@
107 location: Location { 113 location: Location {
108 uri: Url { 114 uri: Url {
109 scheme: "file", 115 scheme: "file",
116 username: "",
117 password: None,
110 host: None, 118 host: None,
111 port: None, 119 port: None,
112 path: "/test/driver/subcommand/repl.rs", 120 path: "/test/driver/subcommand/repl.rs",
@@ -146,6 +154,8 @@
146 { 154 {
147 Url { 155 Url {
148 scheme: "file", 156 scheme: "file",
157 username: "",
158 password: None,
149 host: None, 159 host: None,
150 port: None, 160 port: None,
151 path: "/test/driver/subcommand/repl.rs", 161 path: "/test/driver/subcommand/repl.rs",
diff --git a/crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable_as_info.txt b/crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable_as_info.txt
index 17845b711..6b0d94878 100644
--- a/crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable_as_info.txt
+++ b/crates/rust-analyzer/src/diagnostics/test_data/rustc_unused_variable_as_info.txt
@@ -2,6 +2,8 @@
2 MappedRustDiagnostic { 2 MappedRustDiagnostic {
3 url: Url { 3 url: Url {
4 scheme: "file", 4 scheme: "file",
5 username: "",
6 password: None,
5 host: None, 7 host: None,
6 port: None, 8 port: None,
7 path: "/test/driver/subcommand/repl.rs", 9 path: "/test/driver/subcommand/repl.rs",
@@ -38,6 +40,8 @@
38 location: Location { 40 location: Location {
39 uri: Url { 41 uri: Url {
40 scheme: "file", 42 scheme: "file",
43 username: "",
44 password: None,
41 host: None, 45 host: None,
42 port: None, 46 port: None,
43 path: "/test/driver/subcommand/repl.rs", 47 path: "/test/driver/subcommand/repl.rs",
@@ -71,6 +75,8 @@
71 MappedRustDiagnostic { 75 MappedRustDiagnostic {
72 url: Url { 76 url: Url {
73 scheme: "file", 77 scheme: "file",
78 username: "",
79 password: None,
74 host: None, 80 host: None,
75 port: None, 81 port: None,
76 path: "/test/driver/subcommand/repl.rs", 82 path: "/test/driver/subcommand/repl.rs",
@@ -107,6 +113,8 @@
107 location: Location { 113 location: Location {
108 uri: Url { 114 uri: Url {
109 scheme: "file", 115 scheme: "file",
116 username: "",
117 password: None,
110 host: None, 118 host: None,
111 port: None, 119 port: None,
112 path: "/test/driver/subcommand/repl.rs", 120 path: "/test/driver/subcommand/repl.rs",
@@ -146,6 +154,8 @@
146 { 154 {
147 Url { 155 Url {
148 scheme: "file", 156 scheme: "file",
157 username: "",
158 password: None,
149 host: None, 159 host: None,
150 port: None, 160 port: None,
151 path: "/test/driver/subcommand/repl.rs", 161 path: "/test/driver/subcommand/repl.rs",
diff --git a/crates/rust-analyzer/src/diagnostics/test_data/rustc_wrong_number_of_parameters.txt b/crates/rust-analyzer/src/diagnostics/test_data/rustc_wrong_number_of_parameters.txt
index f455cf25e..f7a313cf1 100644
--- a/crates/rust-analyzer/src/diagnostics/test_data/rustc_wrong_number_of_parameters.txt
+++ b/crates/rust-analyzer/src/diagnostics/test_data/rustc_wrong_number_of_parameters.txt
@@ -2,6 +2,8 @@
2 MappedRustDiagnostic { 2 MappedRustDiagnostic {
3 url: Url { 3 url: Url {
4 scheme: "file", 4 scheme: "file",
5 username: "",
6 password: None,
5 host: None, 7 host: None,
6 port: None, 8 port: None,
7 path: "/test/compiler/ty/select.rs", 9 path: "/test/compiler/ty/select.rs",
@@ -31,6 +33,8 @@
31 CodeDescription { 33 CodeDescription {
32 href: Url { 34 href: Url {
33 scheme: "https", 35 scheme: "https",
36 username: "",
37 password: None,
34 host: Some( 38 host: Some(
35 Domain( 39 Domain(
36 "doc.rust-lang.org", 40 "doc.rust-lang.org",
@@ -55,6 +59,8 @@
55 location: Location { 59 location: Location {
56 uri: Url { 60 uri: Url {
57 scheme: "file", 61 scheme: "file",
62 username: "",
63 password: None,
58 host: None, 64 host: None,
59 port: None, 65 port: None,
60 path: "/test/compiler/ty/select.rs", 66 path: "/test/compiler/ty/select.rs",
@@ -84,6 +90,8 @@
84 MappedRustDiagnostic { 90 MappedRustDiagnostic {
85 url: Url { 91 url: Url {
86 scheme: "file", 92 scheme: "file",
93 username: "",
94 password: None,
87 host: None, 95 host: None,
88 port: None, 96 port: None,
89 path: "/test/compiler/ty/select.rs", 97 path: "/test/compiler/ty/select.rs",
@@ -113,6 +121,8 @@
113 CodeDescription { 121 CodeDescription {
114 href: Url { 122 href: Url {
115 scheme: "https", 123 scheme: "https",
124 username: "",
125 password: None,
116 host: Some( 126 host: Some(
117 Domain( 127 Domain(
118 "doc.rust-lang.org", 128 "doc.rust-lang.org",
@@ -137,6 +147,8 @@
137 location: Location { 147 location: Location {
138 uri: Url { 148 uri: Url {
139 scheme: "file", 149 scheme: "file",
150 username: "",
151 password: None,
140 host: None, 152 host: None,
141 port: None, 153 port: None,
142 path: "/test/compiler/ty/select.rs", 154 path: "/test/compiler/ty/select.rs",
diff --git a/crates/rust-analyzer/src/diagnostics/test_data/snap_multi_line_fix.txt b/crates/rust-analyzer/src/diagnostics/test_data/snap_multi_line_fix.txt
index a19962167..a0cfb8d33 100644
--- a/crates/rust-analyzer/src/diagnostics/test_data/snap_multi_line_fix.txt
+++ b/crates/rust-analyzer/src/diagnostics/test_data/snap_multi_line_fix.txt
@@ -2,6 +2,8 @@
2 MappedRustDiagnostic { 2 MappedRustDiagnostic {
3 url: Url { 3 url: Url {
4 scheme: "file", 4 scheme: "file",
5 username: "",
6 password: None,
5 host: None, 7 host: None,
6 port: None, 8 port: None,
7 path: "/test/src/main.rs", 9 path: "/test/src/main.rs",
@@ -31,6 +33,8 @@
31 CodeDescription { 33 CodeDescription {
32 href: Url { 34 href: Url {
33 scheme: "https", 35 scheme: "https",
36 username: "",
37 password: None,
34 host: Some( 38 host: Some(
35 Domain( 39 Domain(
36 "rust-lang.github.io", 40 "rust-lang.github.io",
@@ -55,6 +59,8 @@
55 location: Location { 59 location: Location {
56 uri: Url { 60 uri: Url {
57 scheme: "file", 61 scheme: "file",
62 username: "",
63 password: None,
58 host: None, 64 host: None,
59 port: None, 65 port: None,
60 path: "/test/src/main.rs", 66 path: "/test/src/main.rs",
@@ -78,6 +84,8 @@
78 location: Location { 84 location: Location {
79 uri: Url { 85 uri: Url {
80 scheme: "file", 86 scheme: "file",
87 username: "",
88 password: None,
81 host: None, 89 host: None,
82 port: None, 90 port: None,
83 path: "/test/src/main.rs", 91 path: "/test/src/main.rs",
@@ -107,6 +115,8 @@
107 MappedRustDiagnostic { 115 MappedRustDiagnostic {
108 url: Url { 116 url: Url {
109 scheme: "file", 117 scheme: "file",
118 username: "",
119 password: None,
110 host: None, 120 host: None,
111 port: None, 121 port: None,
112 path: "/test/src/main.rs", 122 path: "/test/src/main.rs",
@@ -136,6 +146,8 @@
136 CodeDescription { 146 CodeDescription {
137 href: Url { 147 href: Url {
138 scheme: "https", 148 scheme: "https",
149 username: "",
150 password: None,
139 host: Some( 151 host: Some(
140 Domain( 152 Domain(
141 "rust-lang.github.io", 153 "rust-lang.github.io",
@@ -160,6 +172,8 @@
160 location: Location { 172 location: Location {
161 uri: Url { 173 uri: Url {
162 scheme: "file", 174 scheme: "file",
175 username: "",
176 password: None,
163 host: None, 177 host: None,
164 port: None, 178 port: None,
165 path: "/test/src/main.rs", 179 path: "/test/src/main.rs",
@@ -189,6 +203,8 @@
189 MappedRustDiagnostic { 203 MappedRustDiagnostic {
190 url: Url { 204 url: Url {
191 scheme: "file", 205 scheme: "file",
206 username: "",
207 password: None,
192 host: None, 208 host: None,
193 port: None, 209 port: None,
194 path: "/test/src/main.rs", 210 path: "/test/src/main.rs",
@@ -218,6 +234,8 @@
218 CodeDescription { 234 CodeDescription {
219 href: Url { 235 href: Url {
220 scheme: "https", 236 scheme: "https",
237 username: "",
238 password: None,
221 host: Some( 239 host: Some(
222 Domain( 240 Domain(
223 "rust-lang.github.io", 241 "rust-lang.github.io",
@@ -242,6 +260,8 @@
242 location: Location { 260 location: Location {
243 uri: Url { 261 uri: Url {
244 scheme: "file", 262 scheme: "file",
263 username: "",
264 password: None,
245 host: None, 265 host: None,
246 port: None, 266 port: None,
247 path: "/test/src/main.rs", 267 path: "/test/src/main.rs",
@@ -281,6 +301,8 @@
281 { 301 {
282 Url { 302 Url {
283 scheme: "file", 303 scheme: "file",
304 username: "",
305 password: None,
284 host: None, 306 host: None,
285 port: None, 307 port: None,
286 path: "/test/src/main.rs", 308 path: "/test/src/main.rs",