Skip to content

emacs 30.1 + flymake: Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil) #37

@Dushistov

Description

@Dushistov

When I open rust source file with activated lsp-mode + flymake, I got such error with recent emacs:

Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil)
  make-overlay(nil nil)
  flymake--highlight-line(#s(flymake--diag :locus #<buffer lib.rs> :beg nil :end nil :type :error :text "error[E0432]: unresolved import `FTypeLeftRightPair`\n    |\n870 |         use FTypeLeftRightPair::*;\n    |             ^^^^^^^^^^^^^^^^^^ help: a similar path exists: `self::FTypeLeftRightPair`" :backend rust-ts-flymake :data nil :overlay-properties nil :overlay nil :orig-beg nil :orig-end nil))
  flymake--publish-diagnostics((... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) :backend rust-ts-flymake :state #s(flymake--state :running backend-token5 :reported-p nil :disabled nil :diags ... :foreign-diags #<hash-table eql 0/0 0x1f6d0be6ee9c ...>) :region nil)
  flymake--handle-report(rust-ts-flymake backend-token5 (... ... ... ... ... ... ... ... ... ... ... ... ... ... ...))
  apply(flymake--handle-report rust-ts-flymake backend-token5 (... ... ... ... ... ... ... ... ... ... ... ... ... ... ...))
  #f(compiled-function (&rest args) #<bytecode 0x192347ed57feaeb3>)((... ... ... ... ... ... ... ... ... ... ... ... ... ... ...))
  #f(compiled-function (proc source) #<bytecode -0x26bdd971ccb2f6e>)(#<process rust-ts-flymake<2>> #<buffer lib.rs>)
  #f(compiled-function (proc event) #<bytecode -0x1db0f4ce703d3b72>)(#<process rust-ts-flymake<2>> "exited abnormally with code 1\n")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions