[ MappedRustDiagnostic { url: Url { scheme: "file", host: None, port: None, path: "/test/driver/subcommand/repl.rs", query: None, fragment: None, }, diagnostic: Diagnostic { range: Range { start: Position { line: 290, character: 8, }, end: Position { line: 290, character: 11, }, }, severity: Some( Information, ), code: Some( String( "unused_variables", ), ), code_description: None, source: Some( "rustc", ), message: "unused variable: `foo`\n#[warn(unused_variables)] on by default", related_information: Some( [ DiagnosticRelatedInformation { location: Location { uri: Url { scheme: "file", host: None, port: None, path: "/test/driver/subcommand/repl.rs", query: None, fragment: None, }, range: Range { start: Position { line: 290, character: 8, }, end: Position { line: 290, character: 11, }, }, }, message: "consider prefixing with an underscore", }, ], ), tags: Some( [ Unnecessary, ], ), data: None, }, fixes: [ CodeAction { title: "consider prefixing with an underscore", group: None, kind: Some( CodeActionKind( "quickfix", ), ), edit: Some( SnippetWorkspaceEdit { changes: Some( { Url { scheme: "file", host: None, port: None, path: "/test/driver/subcommand/repl.rs", query: None, fragment: None, }: [ TextEdit { range: Range { start: Position { line: 290, character: 8, }, end: Position { line: 290, character: 11, }, }, new_text: "_foo", }, ], }, ), document_changes: None, }, ), is_preferred: Some( true, ), data: None, }, ], }, MappedRustDiagnostic { url: Url { scheme: "file", host: None, port: None, path: "/test/driver/subcommand/repl.rs", query: None, fragment: None, }, diagnostic: Diagnostic { range: Range { start: Position { line: 290, character: 8, }, end: Position { line: 290, character: 11, }, }, severity: Some( Hint, ), code: Some( String( "unused_variables", ), ), code_description: None, source: Some( "rustc", ), message: "consider prefixing with an underscore", related_information: Some( [ DiagnosticRelatedInformation { location: Location { uri: Url { scheme: "file", host: None, port: None, path: "/test/driver/subcommand/repl.rs", query: None, fragment: None, }, range: Range { start: Position { line: 290, character: 8, }, end: Position { line: 290, character: 11, }, }, }, message: "original diagnostic", }, ], ), tags: None, data: None, }, fixes: [ CodeAction { title: "consider prefixing with an underscore", group: None, kind: Some( CodeActionKind( "quickfix", ), ), edit: Some( SnippetWorkspaceEdit { changes: Some( { Url { scheme: "file", host: None, port: None, path: "/test/driver/subcommand/repl.rs", query: None, fragment: None, }: [ TextEdit { range: Range { start: Position { line: 290, character: 8, }, end: Position { line: 290, character: 11, }, }, new_text: "_foo", }, ], }, ), document_changes: None, }, ), is_preferred: Some( true, ), data: None, }, ], }, ]