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
2 changed files with 3 additions and 3 deletions
+2 -2
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)]
+1 -1
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