summaryrefslogtreecommitdiffstats
path: root/compiler/rustc_session/src/cgu_reuse_tracker.rs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_session/src/cgu_reuse_tracker.rs')
-rw-r--r--compiler/rustc_session/src/cgu_reuse_tracker.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_session/src/cgu_reuse_tracker.rs b/compiler/rustc_session/src/cgu_reuse_tracker.rs
index 2336d9936..8703e5754 100644
--- a/compiler/rustc_session/src/cgu_reuse_tracker.rs
+++ b/compiler/rustc_session/src/cgu_reuse_tracker.rs
@@ -121,7 +121,7 @@ impl CguReuseTracker {
let at_least = if at_least { 1 } else { 0 };
IncorrectCguReuseType {
span: error_span.0,
- cgu_user_name: &cgu_user_name,
+ cgu_user_name,
actual_reuse,
expected_reuse,
at_least,