rust-lang / rust-mode

Emacs configuration for Rust
Apache License 2.0
1.1k stars 178 forks source link

Don't fail on re-search-forward. #359

Closed mookid closed 4 years ago

rust-highfive commented 4 years ago

r? @brotzeit

(rust_highfive has picked a reviewer for you, use r? to override)

mookid commented 4 years ago

@jamii @Dushistov can you please try this fix?

jamii commented 4 years ago

I get the same behaviour as before.

mookid commented 4 years ago

Thanks for the help. I'll try again in the next few days; I tend to believe that this is a change of output format from rustfmt.

Dushistov commented 4 years ago

@ mookid

I can not reproduce #357 since I sync my rust-mode with master to get debug commit. Before it is possible to reproduce problem once a day or so, now I can not reproduce it at all. But may be I need to write new code , and not edit old one as mentioned here to get more rustfmt errors. But I should say that, when I was able to reproduce this bug, sometimes it shows "rustfmt" error just fine, and sometime it switch to stdin, and I couldn't find out regularity.