diff options
| author | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2019-01-23 19:36:39 +0200 |
|---|---|---|
| committer | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2019-03-15 13:25:10 +0200 |
| commit | 4deaa69b429442c0e25a7828cfd63d7be78772d8 (patch) | |
| tree | cf33f84ebcc7b975b481c7ca976527cd22eacdfa /src/librustc_codegen_utils | |
| parent | 72690d24f02543f5a3c77a8506da48bb32fdc466 (diff) | |
| download | rust-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.rs | 2 |
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 { |
