diff --git a/tests/ui/custom_ice_message.rs b/tests/ui/custom_ice_message.rs index 1ceecf380..2f58fbce3 100644 --- a/tests/ui/custom_ice_message.rs +++ b/tests/ui/custom_ice_message.rs @@ -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)] diff --git a/tests/ui/custom_ice_message.stderr b/tests/ui/custom_ice_message.stderr index aa2793a4c..817e48724 100644 --- a/tests/ui/custom_ice_message.stderr +++ b/tests/ui/custom_ice_message.stderr @@ -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