Florian Diebold

Results 137 comments of Florian Diebold

I think we shouldn't encourage usage of it.

So far the philosophy with these assists has not been to try to produce code that works perfectly as before. Wrapping the function in a lambda would make the code...

That being said, wouldn't labeled blocks and `break` work to handle this?

> Is there any reason preventing rust-analyzer from using nightly compiler APIs? There are reasons, yes -- we prefer rust-analyzer to build on stable with normal `cargo build` to make...

This already exists as an experimental diagnostic; you can enable it by setting `rust-analyzer.diagnostics.experimental.enable` to true. You might get some false positive errors though, which is why it's not enabled...

I think @Wyvern might be missing rustc errors from check-on-save? @Wyvern do you have any non-default settings? In particular `rust-analyzer.checkOnSave.allTargets` or `rust-analyzer.checkOnSave.target`?

Do you have `rust-analyzer.checkOnSave.allTargets` or `rust-analyzer.checkOnSave.target` set?