5 cannot_be_a_base: false,
10 path: "/test/src/main.rs",
14 diagnostic: Diagnostic {
33 code_description: Some(
37 cannot_be_a_base: false,
42 "rust-lang.github.io",
46 path: "/rust-clippy/master/index.html",
57 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",
58 related_information: Some(
60 DiagnosticRelatedInformation {
64 cannot_be_a_base: false,
69 path: "/test/src/main.rs",
84 message: "unnecessary let binding",
86 DiagnosticRelatedInformation {
90 cannot_be_a_base: false,
95 path: "/test/src/main.rs",
110 message: "return the expression directly: `(0..10).collect()`",
119 MappedRustDiagnostic {
122 cannot_be_a_base: false,
127 path: "/test/src/main.rs",
131 diagnostic: Diagnostic {
150 code_description: Some(
154 cannot_be_a_base: false,
159 "rust-lang.github.io",
163 path: "/rust-clippy/master/index.html",
174 message: "unnecessary let binding",
175 related_information: Some(
177 DiagnosticRelatedInformation {
181 cannot_be_a_base: false,
186 path: "/test/src/main.rs",
201 message: "original diagnostic",
210 MappedRustDiagnostic {
213 cannot_be_a_base: false,
218 path: "/test/src/main.rs",
222 diagnostic: Diagnostic {
241 code_description: Some(
245 cannot_be_a_base: false,
250 "rust-lang.github.io",
254 path: "/rust-clippy/master/index.html",
265 message: "return the expression directly: `(0..10).collect()`",
266 related_information: Some(
268 DiagnosticRelatedInformation {
272 cannot_be_a_base: false,
277 path: "/test/src/main.rs",
292 message: "original diagnostic",
324 title: "return the expression directly: `(0..10).collect()`",
333 SnippetWorkspaceEdit {
338 cannot_be_a_base: false,
343 path: "/test/src/main.rs",
371 new_text: "(0..10).collect()",
376 document_changes: None,
377 change_annotations: None,