From 4deaa69b429442c0e25a7828cfd63d7be78772d8 Mon Sep 17 00:00:00 2001 From: Eduard-Mihai Burtescu Date: Wed, 23 Jan 2019 19:36:39 +0200 Subject: rustc: print elided regions as '_ instead of nothing, and use a separate check when optional. --- src/librustc_codegen_utils/symbol_names.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/librustc_codegen_utils') 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 { -- cgit 1.4.1-3-g733a5