Use rustc_env instead of exec_env for test

This commit is contained in:
Philipp Hansch 2019-10-09 07:45:05 +02:00
parent ad6d8a4700
commit 21dee8f529
No known key found for this signature in database
GPG key ID: 82AA61CAA11397E6
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
// exec-env:RUST_BACKTRACE=0
// rustc-env:RUST_BACKTRACE=0
// normalize-stderr-test: "Clippy version: .*" -> "Clippy version: foo"
// normalize-stderr-test: "internal_lints.rs.*" -> "internal_lints.rs:1:1"
// normalize-stderr-test: "internal_lints.rs:\d*:\d*" -> "internal_lints.rs"
#![deny(clippy::internal)]

View file

@ -1,4 +1,4 @@
thread 'rustc' panicked at 'Testing the ICE message', clippy_lints/src/utils/internal_lints.rs:1:1
thread 'rustc' panicked at 'Testing the ICE message', clippy_lints/src/utils/internal_lints.rs
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
error: internal compiler error: unexpected panic