diff options
| author | Eduard Burtescu <edy.burt@gmail.com> | 2016-02-16 18:36:41 +0200 |
|---|---|---|
| committer | Eduard Burtescu <edy.burt@gmail.com> | 2016-03-09 16:45:28 +0200 |
| commit | ffa0860467aff2c1e5e2f6594cd7cf554da26c5e (patch) | |
| tree | d13a015c72e9d89513b1f4c34cf17d615b4f0f13 /src/librustc/util | |
| parent | b423a0f9ef488ca4cd9ff620a44566bb441eb21f (diff) | |
| download | rust-ffa0860467aff2c1e5e2f6594cd7cf554da26c5e.tar.gz rust-ffa0860467aff2c1e5e2f6594cd7cf554da26c5e.zip | |
Track fn type and lifetime parameters in TyFnDef.
Diffstat (limited to 'src/librustc/util')
| -rw-r--r-- | src/librustc/util/ppaux.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/util/ppaux.rs b/src/librustc/util/ppaux.rs index 2bf8879f3a0..2b5674ed116 100644 --- a/src/librustc/util/ppaux.rs +++ b/src/librustc/util/ppaux.rs @@ -812,7 +812,7 @@ impl<'tcx> fmt::Display for ty::TypeVariants<'tcx> { } write!(f, ")") } - TyFnDef(def_id, ref bare_fn) => { + TyFnDef(def_id, substs, ref bare_fn) => { if bare_fn.unsafety == hir::Unsafety::Unsafe { try!(write!(f, "unsafe ")); } |
