5 cannot_be_a_base: false,
10 path: "/test/src/main.rs",
14 diagnostic: Diagnostic {
35 code_description: Some(
39 cannot_be_a_base: false,
44 "rust-lang.github.io",
48 path: "/rust-clippy/master/index.html",
59 message: "returning the result of a let binding from a block\n`#[warn(clippy::let_and_return)]` on by default\nfor further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return",
60 related_information: Some(
62 DiagnosticRelatedInformation {
66 cannot_be_a_base: false,
71 path: "/test/src/main.rs",
86 message: "unnecessary let binding",
88 DiagnosticRelatedInformation {
92 cannot_be_a_base: false,
97 path: "/test/src/main.rs",
112 message: "return the expression directly: `(0..10).collect()`",
121 MappedRustDiagnostic {
124 cannot_be_a_base: false,
129 path: "/test/src/main.rs",
133 diagnostic: Diagnostic {
154 code_description: Some(
158 cannot_be_a_base: false,
163 "rust-lang.github.io",
167 path: "/rust-clippy/master/index.html",
178 message: "unnecessary let binding",
179 related_information: Some(
181 DiagnosticRelatedInformation {
185 cannot_be_a_base: false,
190 path: "/test/src/main.rs",
205 message: "original diagnostic",
214 MappedRustDiagnostic {
217 cannot_be_a_base: false,
222 path: "/test/src/main.rs",
226 diagnostic: Diagnostic {
247 code_description: Some(
251 cannot_be_a_base: false,
256 "rust-lang.github.io",
260 path: "/rust-clippy/master/index.html",
271 message: "return the expression directly: `(0..10).collect()`",
272 related_information: Some(
274 DiagnosticRelatedInformation {
278 cannot_be_a_base: false,
283 path: "/test/src/main.rs",
298 message: "original diagnostic",
307 title: "return the expression directly: `(0..10).collect()`",
315 SnippetWorkspaceEdit {
320 cannot_be_a_base: false,
325 path: "/test/src/main.rs",
353 new_text: "(0..10).collect()",
358 document_changes: None,
359 change_annotations: None,