make CI green
commitc4970c617ed5f03dadce2a284b66539bf0ce3054
authorDmitry Sharshakov <d3dx12.xx@gmail.com>
dateFri 20 Aug 2021, 16:48 (5 years ago)
parenta54b09e
helix-dap/examples/dap-dlv.rs+1−1
@@ -56,7 +56,7 @@ pub async fn main() -> Result<()> {
5656 "breakpoints: {:#?}",
5757 client
5858 .set_breakpoints(
59− "/tmp/godebug/main.go".to_owned(),
59+ "/tmp/godebug/main.go".into(),
6060 vec![SourceBreakpoint {
6161 line: 8,
6262 column: Some(2),
helix-dap/examples/dap-lldb.rs+1−1
@@ -56,7 +56,7 @@ pub async fn main() -> Result<()> {
5656 "breakpoints: {:#?}",
5757 client
5858 .set_breakpoints(
59− "/tmp/cdebug/main.c".to_owned(),
59+ "/tmp/cdebug/main.c".into(),
6060 vec![SourceBreakpoint {
6161 line: 6,
6262 column: Some(2),
helix-syntax/languages/tree-sitter-protobuf+1−1
Submodule changed.
helix-term/src/application.rs+2−3
@@ -245,9 +245,8 @@ impl Application {
245245 }
246246 }
247247
248− pub async fn handle_debugger_message(&mut self, call: ()) {
249−
250− //
248+ pub async fn handle_debugger_message(&mut self, _call: ()) {
249+ // TODO
251250 }
252251
253252 pub async fn handle_language_server_message(
helix-term/src/commands.rs+1−1
@@ -1908,7 +1908,7 @@ mod cmd {
19081908 ) -> anyhow::Result<()> {
19091909 use helix_dap::Client;
19101910 use helix_lsp::block_on;
1911− let (_, doc) = current!(cx.editor);
1911+ let (_, _doc) = current!(cx.editor);
19121912
19131913 // look up config for filetype
19141914 // if multiple available, open picker
helix-term/src/ui/editor.rs+1−1
@@ -465,7 +465,7 @@ impl EditorView {
465465
466466 let selected = cursors.contains(&line);
467467
468− if let Some(breakpoint) = breakpoints.and_then(|breakpoints| {
468+ if let Some(_breakpoint) = breakpoints.and_then(|breakpoints| {
469469 breakpoints
470470 .iter()
471471 .find(|breakpoint| breakpoint.line == line)