]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/util/ppaux.rs
librustc: Fix the issue with labels shadowing variable names by making
[rust.git] / src / librustc / util / ppaux.rs
index 31994d08d23478011763ab411f5d5786873486bd..80f3508d0cd354bd678b7fc3a8592803eba3e294 100644 (file)
@@ -162,7 +162,7 @@ pub fn bound_region_to_str(cx: &ctxt,
 
     match br {
         BrNamed(_, name) => {
-            format!("{}'{}{}", prefix, token::get_name(name), space_str)
+            format!("{}{}{}", prefix, token::get_name(name), space_str)
         }
         BrAnon(_) => prefix.to_string(),
         BrFresh(_) => prefix.to_string(),