about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCarol Nichols <carol.nichols@gmail.com>2015-05-04 21:43:11 -0400
committerCarol Nichols <carol.nichols@gmail.com>2015-05-04 21:43:11 -0400
commit77acf7b4ee533bf0d84ee5097dfb6676e2f4360e (patch)
tree3008cc09fe8c9a76ab828496ea1705cf00511381
parent55e7f9b7d680d8085765c7c659351d3efe09ffb8 (diff)
downloadrust-77acf7b4ee533bf0d84ee5097dfb6676e2f4360e.tar.gz
rust-77acf7b4ee533bf0d84ee5097dfb6676e2f4360e.zip
Use the lowercase version of the box syntax
-rw-r--r--src/librustc_trans/trans/debuginfo/metadata.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_trans/trans/debuginfo/metadata.rs b/src/librustc_trans/trans/debuginfo/metadata.rs
index 29c22c8c9f7..bd04bd7a754 100644
--- a/src/librustc_trans/trans/debuginfo/metadata.rs
+++ b/src/librustc_trans/trans/debuginfo/metadata.rs
@@ -151,7 +151,7 @@ impl<'tcx> TypeMap<'tcx> {
         // mut reference (&mut)   -> {&mut :pointee-uid:}
         // ptr (*)                -> {* :pointee-uid:}
         // mut ptr (*mut)         -> {*mut :pointee-uid:}
-        // unique ptr (Box)       -> {Box :pointee-uid:}
+        // unique ptr (box)       -> {box :pointee-uid:}
         // @-ptr (@)              -> {@ :pointee-uid:}
         // sized vec ([T; x])     -> {[:size:] :element-uid:}
         // unsized vec ([T])      -> {[] :element-uid:}
@@ -200,7 +200,7 @@ impl<'tcx> TypeMap<'tcx> {
                 }
             },
             ty::ty_uniq(inner_type) => {
-                unique_type_id.push_str("Box ");
+                unique_type_id.push_str("box ");
                 let inner_type_id = self.get_unique_type_id_of_type(cx, inner_type);
                 let inner_type_id = self.get_unique_type_id_as_string(inner_type_id);
                 unique_type_id.push_str(&inner_type_id[..]);