You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expected to see this happen: Compilation succeeds and clippy reports issues
Instead, this happened:
Compilation started at Sat Apr 16 11:17:44
cargo clippy && cargo test
Compiling xxx v0.1.0 (file:///home/xxx/xxx/xxx/xxx)
error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
thread 'rustc' panicked at 'RefCell<T> already borrowed', ../src/libcore/cell.rs:444
note: Run with `RUST_BACKTRACE=1` for a backtrace.
error: Could not compile `xxx`.
To learn more, run the command again with --verbose.
error: third party subcommand `cargo-clippy` exited unsuccessfully
To learn more, run the command again with --verbose.
Compilation exited abnormally with code 101 at Sat Apr 16 11:17:44
I'm just doing cargo build && PATH="$PATH:$PWD/target/debug" cargo clippy -- -Wclippy_pedantic, is there something I'm missing here? cargo test also works fine though there are no tests to run.
cargo clippy causes an ICE: Probably rust-lang/rust#32797
I tried this:
I expected to see this happen: Compilation succeeds and clippy reports issues
Instead, this happened:
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: