about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-11-07 10:41:10 +0000
committerbors <bors@rust-lang.org>2023-11-07 10:41:10 +0000
commit61a3eea8043cc1c7a09c2adda884e27ffa8a1172 (patch)
treeaf9195052547965a02fa5da7798e619d6fb672bf /src
parent114f1f6838173fdcd016f2ab61f3bf6896bbd85b (diff)
parent868de8e76bbc6ae1a2b857ff2cdf5dc5cab0eadd (diff)
downloadrust-61a3eea8043cc1c7a09c2adda884e27ffa8a1172.tar.gz
rust-61a3eea8043cc1c7a09c2adda884e27ffa8a1172.zip
Auto merge of #117229 - matthewjasper:thir-unsafeck-fixes, r=cjgillot
Thir unsafeck fixes

- Recognise thread local statics in THIR unsafeck
- Add suggestion for unsafe_op_in_unsafe_fn
- Fix unsafe checking of let expressions
Diffstat (limited to 'src')
-rw-r--r--src/tools/compiletest/src/runtest.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs
index e74d66a8599..620844f6f09 100644
--- a/src/tools/compiletest/src/runtest.rs
+++ b/src/tools/compiletest/src/runtest.rs
@@ -3962,7 +3962,7 @@ impl<'test> TestCx<'test> {
             // And finally, compile the fixed code and make sure it both
             // succeeds and has no diagnostics.
             let rustc = self.make_compile_args(
-                &self.testpaths.file.with_extension(UI_FIXED),
+                &self.expected_output_path(UI_FIXED),
                 TargetLocation::ThisFile(self.make_exe_name()),
                 emit_metadata,
                 AllowUnused::No,