Closed cocodrino closed 6 years ago
Flycheck version: 31snapshot (package: 20170415.1006)
Try updating the flycheck
and flycheck-rust
packages.
newest version of rust just updated to change the no-trans
option to no-codegen
See https://github.com/w0rp/ale/pull/1806
I tried compiling with no-trans using flycheck-compile
and on term:
cargo rustc --bin hello_world -- -Z no-trans -Z unstable-options --error-format\=json --test
{"message":"unknown debugging option: `no-trans`","code":null,"level":"error","spans":[],"children":[],"rendered":"error: unknown debugging option: `no-trans`\n\n"}
error: Could not compile `hello_world`.
But changing it to no-codegen
on term works :smile:
cargo rustc --bin hello_world -- -Z no-codegen -Z unstable-options --error-format\=json --test
Finished dev [unoptimized + debuginfo] target(s) in 0.36s
Trying to get a grips of lisp to do a pull request and change it to no-codegen
on flycheck too.
@ParityB1t Thanks, but we cannot use -Z no-codegen
on stable, can we? So I'd rather go with https://github.com/flycheck/flycheck/pull/1501 instead.
I'm closing this issue because we haven't been using -Z no-trans
in a while.
Hi guys, Ive just installed the rust layer on spacemacs, racer works ok but I'm getting "unknown debugging option no-trans" on my flycheck in the first line of my code...
rust and flycheck seems ok
what could be the problem here???
thank you so much guys, any question please let me know...