about summary refs log tree commit diff
path: root/compiler/rustc_errors/src
diff options
context:
space:
mode:
authoroli <oli@uhura.edef.eu>2020-10-27 14:16:23 +0000
committeroli <oli@uhura.edef.eu>2020-10-27 14:16:23 +0000
commit888ef24c2295fc3a1e96f864376fb22b00cc5583 (patch)
tree2e7d6457a9284b8f56513d9f09e6e3fcc9065ace /compiler/rustc_errors/src
parentc8a866ea176f1d7250a714647a6ce7a4636f5705 (diff)
downloadrust-888ef24c2295fc3a1e96f864376fb22b00cc5583.tar.gz
rust-888ef24c2295fc3a1e96f864376fb22b00cc5583.zip
Address review comment
Diffstat (limited to 'compiler/rustc_errors/src')
-rw-r--r--compiler/rustc_errors/src/emitter.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_errors/src/emitter.rs b/compiler/rustc_errors/src/emitter.rs
index 1922dbef64d..dda1e4c24ed 100644
--- a/compiler/rustc_errors/src/emitter.rs
+++ b/compiler/rustc_errors/src/emitter.rs
@@ -357,7 +357,8 @@ pub trait Emitter {
                 }
 
                 if matches!(trace.kind, ExpnKind::Inlined) {
-                    new_labels.push((trace.call_site, "in the inlined copy of this".to_string()));
+                    new_labels
+                        .push((trace.call_site, "in the inlined copy of this code".to_string()));
                 } else if always_backtrace {
                     new_labels.push((
                         trace.def_site,