about summary refs log tree commit diff
path: root/src/librustc_codegen_utils
diff options
context:
space:
mode:
authorEduard-Mihai Burtescu <edy.burt@gmail.com>2019-01-23 19:36:39 +0200
committerEduard-Mihai Burtescu <edy.burt@gmail.com>2019-03-15 13:25:10 +0200
commit4deaa69b429442c0e25a7828cfd63d7be78772d8 (patch)
treecf33f84ebcc7b975b481c7ca976527cd22eacdfa /src/librustc_codegen_utils
parent72690d24f02543f5a3c77a8506da48bb32fdc466 (diff)
downloadrust-4deaa69b429442c0e25a7828cfd63d7be78772d8.tar.gz
rust-4deaa69b429442c0e25a7828cfd63d7be78772d8.zip
rustc: print elided regions as '_ instead of nothing, and use a separate check when optional.
Diffstat (limited to 'src/librustc_codegen_utils')
-rw-r--r--src/librustc_codegen_utils/symbol_names.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_codegen_utils/symbol_names.rs b/src/librustc_codegen_utils/symbol_names.rs
index b7e69f64f5a..1edb5dfe2b8 100644
--- a/src/librustc_codegen_utils/symbol_names.rs
+++ b/src/librustc_codegen_utils/symbol_names.rs
@@ -512,7 +512,7 @@ impl Printer for SymbolPath {
 }
 
 impl PrettyPrinter for SymbolPath {
-    fn print_region_outputs_anything(
+    fn region_should_not_be_omitted(
         self: &PrintCx<'_, '_, '_, Self>,
         _region: ty::Region<'_>,
     ) -> bool {